Cargo Features
[dependencies]
logos2 = { version = "0.14.0", default-features = false, features = ["export_derive", "std"] }
- default = export_derive, std
-
These default features are set whenever
logos2
is added without
somewhere in the dependency tree.default-features = false - export_derive default = logos-derive2
-
Re-exports the
Logos
derive macro, so that end user only needs to import this crate anduse logos::Logos
to get both the trait and derive proc macro. - std default
-
Should the crate use the standard library?
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.