cargo::core::resolver::context

# Type Alias ActivationsKey

Source

    pub type ActivationsKey = (InternedString, SourceId, SemverCompatibility);

Expand description

Find the activated version of a crate based on the name, source, and semver compatibility. By storing this in a hash map we ensure that there is only one semver compatible version of each crate. This all so stores the `ContextAge`.

## Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain `repr(...)` attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 40 bytes