Cargo Features

[dependencies]
cargo-contract = { version = "6.0.0-alpha", default-features = false, features = ["std", "test-ci-only", "integration-tests"] }
default = std

This std feature is required for testing using an inline contract's metadata, because ink! annotates the metadata generation code with #[cfg(feature = "std")].

std default

Enables std of deranged

todo Pin until https://github.com/jhpratt/deranged/issues/18 is resolved

test-ci-only

Enable this to execute long-running tests, which usually are only run on the CI server
Disabled by default

integration-tests

Enable this to execute tests which depend on a locally running contracts enabed chain e.g.https://github.com/paritytech/substrate-contracts-node