Cargo Features
[dependencies]
item = { version = "0.3.2", default-features = false, features = ["parsing", "printing"] }
- default = parsing, printing
-
These default features are set whenever
item
is added without
somewhere in the dependency tree.default-features = false - parsing default = nom
-
Affects
attr::parsing
,common::parsing
,generics::parsing
,item::parsing
,item::parse
,ty::parsing
… - printing default = quote
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.
- nom parsing
-
Enables nom ^1.2.4
- quote printing
-
Enables quote ^0.1.1