Cargo Features

[dependencies]
idl2json = { version = "0.10.1", default-features = false, features = ["crypto", "clap"] }
default = crypto

The crypto feature is set by default whenever idl2json is added without default-features = false somewhere in the dependency tree.

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.

sha2 crypto