[package] name = "ink_env" version = "3.0.0-rc2" authors = ["Parity Technologies ", "Robin Freyler "] edition = "2018" license = "Apache-2.0" readme = "README.md" repository = "https://github.com/paritytech/ink" documentation = "https://docs.rs/ink_env/" homepage = "https://www.parity.io/" description = "[ink!] Low-level interface for interacting with the smart contract Wasm executor." keywords = ["wasm", "parity", "webassembly", "blockchain", "edsl"] categories = ["no-std", "embedded"] include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"] [dependencies] ink_metadata = { version = "3.0.0-rc2", path = "../metadata/", default-features = false, features = ["derive"], optional = true } ink_allocator = { version = "3.0.0-rc2", path = "../allocator/", default-features = false } ink_primitives = { version = "3.0.0-rc2", path = "../primitives/", default-features = false } ink_prelude = { version = "3.0.0-rc2", path = "../prelude/", default-features = false } scale = { package = "parity-scale-codec", version = "1.3", default-features = false, features = ["derive", "full"] } derive_more = { version = "0.99", default-features = false, features = ["from", "display"] } num-traits = { version = "0.2", default-features = false, features = ["i128"] } cfg-if = "1.0" paste = "1.0" arrayref = "0.3" static_assertions = "1.1" # Hashes for the off-chain environment. sha2 = { version = "0.9", optional = true } sha3 = { version = "0.9", optional = true } blake2 = { version = "0.9", optional = true } # Only used in the off-chain environment. # # Sadly couldn't be marked as dev-dependency. # Never use this crate outside of the off-chain environment! rand = { version = "0.7", default-features = false, features = ["alloc"], optional = true } scale-info = { version = "0.4", default-features = false, features = ["derive"], optional = true } [features] default = ["std"] std = [ "ink_metadata", "ink_metadata/std", "ink_allocator/std", "ink_prelude/std", "ink_primitives/std", "scale/std", "scale-info", "scale-info/std", "rand", "rand/std", "num-traits/std", # Enables hashing crates for off-chain environment. "sha2", "sha3", "blake2", ] ink-unstable-chain-extensions = [] # The feature is not yet utilized in this crate, but we need to add it # here already anyway, since the CI tries to execute fuzzing on each crate. ink-fuzz-tests = ["std"]