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 whenever concordium-contracts-common is added without default-features = false somewhere in the dependency tree.

std default derive-serde?

Enables std of fnv

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?