Cargo Features
[dependencies]
concordium-contracts-common = { version = "9.2.0", default-features = false, features = ["std", "wasm-test", "build-schema", "concordium-quickcheck", "derive-serde", "smart-contract", "fuzz"] }
- default = std
-
The
std
feature is set by default wheneverconcordium-contracts-common
is added without
somewhere in the dependency tree.default-features = false - std default derive-serde?
- wasm-test
-
Enables wasm-test of concordium-contracts-common-derive
- build-schema
-
Enables build-schema of concordium-contracts-common-derive
- concordium-quickcheck = getrandom, quickcheck
-
Enables concordium-quickcheck of concordium-contracts-common-derive
- derive-serde fuzz? = bs58, chrono, hex, num-bigint, num-integer, num-traits, rust_decimal, serde, serde_json, std, thiserror
-
Affects
hashes::HashFromStrError
,concordium-contracts-common::schema_json
,types::TimestampOverflow
,types::ParseTimestampError
… - smart-contract
- fuzz = arbitrary, derive-serde
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.
- getrandom concordium-quickcheck?
- quickcheck concordium-quickcheck?
- bs58 derive-serde?
- chrono derive-serde?
- hex derive-serde?
- num-bigint derive-serde?
- num-integer derive-serde?
- num-traits derive-serde?
- rust_decimal derive-serde?
- serde derive-serde?
- serde_json derive-serde?
- thiserror derive-serde?
-
Enables thiserror ^1.0
- arbitrary fuzz?