Cargo Features

[dependencies]
ink_e2e = { version = "5.1.1", default-features = false, features = ["std", "sandbox"] }
default = std

The std feature is set by default whenever ink_e2e is added without default-features = false somewhere in the dependency tree.

std default

Enables std of serde, sp-core ^32.0.0, sp-keyring ^35.0.0, sp-runtime ^35.0.0, sp-weights, and scale-info

scale-info:

Required for the doctest of MessageBuilder::call

and std of frame-support ^32.0.0, impl-serde ^0.4.0, ink_e2e_macro, ink_sandbox, pallet-contracts ^31.0.0, parity-scale-codec, and optional pallet-contracts-mock-network ^7.0.0

frame-support:

Substrate

sandbox = pallet-contracts-mock-network, subxt-metadata

Enables ink_sandbox, sandbox of ink_e2e_macro

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.

pallet-contracts-mock-network sandbox?

Enables pallet-contracts-mock-network ^7.0.0

subxt-metadata sandbox?

Enables subxt-metadata ^0.35.2