Cargo Features
[dependencies]
secret-toolkit = { version = "0.10.1", default-features = false, features = ["crypto", "incubator", "permit", "serialization", "snip20", "snip721", "storage", "utils", "viewing-key"] }
- default = serialization, snip20, snip721, storage, utils
-
These default features are set whenever
secret-toolkit
is added without
somewhere in the dependency tree.default-features = false - crypto permit? = secret-toolkit-crypto
-
Not in default features because this is slow to compile
- incubator = secret-toolkit-incubator, serialization
-
Should never be in default features!
- permit = crypto, secret-toolkit-permit, utils
-
Not in default features because it requires "crypto"
- serialization default incubator? storage = secret-toolkit-serialization
- snip20 default = secret-toolkit-snip20, utils
- snip721 default = secret-toolkit-snip721, utils
- storage default = secret-toolkit-storage, serialization
- utils default permit? snip20 snip721 = secret-toolkit-utils
- viewing-key = secret-toolkit-viewing-key
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.