Cargo Features

[dependencies]
contract-transcode = { version = "5.0.1", default-features = false, features = ["std"] }
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