Cargo Features
[dependencies]
idl2json = { version = "0.10.1", default-features = false, features = ["crypto", "clap"] }
- default = crypto
-
The
crypto
feature is set by default wheneveridl2json
is added without
somewhere in the dependency tree.default-features = false - crypto default = sha2
- clap
-
Enables clap ^3
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.