Cargo Features
[dependencies]
saa-common = { version = "0.14.22", default-features = false, features = ["std", "solana", "cosmwasm", "substrate", "native", "replay", "storage", "injective", "iterator"] }
- default = std
-
The
std
feature is set by default wheneversaa-common
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of optional ink, saa-schema, optional parity-scale-codec, and optional scale-info
Affects
errors::AuthError
… - solana
-
Enables borsh, solana of saa-schema
- cosmwasm
-
Enables cosmwasm-std ^1.5.8, cosmwasm of saa-schema
Affects
saa-common::cosmwasm
,saa-common::Verifiable.verify_cosmwasm
,utils::pubkey_to_canonical
… - substrate
-
Enables ink, parity-scale-codec and scale-info, substrate of saa-schema
Affects
errors::AuthError
,saa-common::substrate
,saa-common::Verifiable.verify_ink
… - native
-
Enables cosmwasm-crypto ^1.5.5
Affects
saa-common::crypto
,saa-common::Verifiable.verify
… - replay = storage
-
Affects
cosmwasm::NONCES
… - storage replay?
-
Enables cw-storage-plus ^0.16.0
Affects
saa-common::storage
… - cosmos injective
- iterator
-
Enables iterator of cosmwasm-std ^1.5.8
cosmwasm-std:
iterator allows us to iterate over all DB items in a given range optional as some merkle stores (like tries) don't support this given Ethereum 1.0, 2.0, Substrate, and other major projects use Tries we keep this optional, to allow possible future integration (or different Cosmos Backends)