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 default-features = false somewhere in the dependency tree.

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.

secret-toolkit-crypto crypto?
secret-toolkit-incubator incubator?
secret-toolkit-permit permit?
secret-toolkit-serialization serialization
secret-toolkit-snip20 snip20
secret-toolkit-snip721 snip721
secret-toolkit-storage storage
secret-toolkit-utils utils
secret-toolkit-viewing-key viewing-key?