Expand description
Typed Feature — named compose-vector of optional capabilities.
Cargo has [features]; npm has nothing native (peerDeps the
closest analog); pip has extras_require; Composer has suggest;
gem-spec has groups.
Adapters normalise to this shape; the resolver in gen-engine
computes the active feature set per-package from the consumer
tree.
Structs§
- Feature
- One named feature. Optional dependencies are expressed via the
implication graph:
feature X implies feature Y+feature Y is "dep:some-optional-dep".
Enums§
- Feature
Ref - Reference to a feature by name. Either local (
"derive"→ this package’sderivefeature) or namespaced ("serde/derive"→ another crate’s feature).