[package] name = "sr-io" version = "2.0.0" authors = ["Parity Technologies "] build = "build.rs" edition = "2018" [build-dependencies] rustc_version = "0.2" [dependencies] rstd = { package = "sr-std", path = "../sr-std", default-features = false } primitives = { package = "substrate-primitives", path = "../primitives", default-features = false } codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false } hash-db = { version = "0.15.2", default-features = false } libsecp256k1 = { version = "0.3", optional = true } tiny-keccak = { version = "1.4.2", optional = true } environmental = { version = "1.0.1", optional = true } substrate-state-machine = { path = "../state-machine", optional = true } trie = { package = "substrate-trie", path = "../trie", optional = true } [features] default = ["std"] std = [ "primitives/std", "codec/std", "rstd/std", "hash-db/std", "trie", "environmental", "substrate-state-machine", "libsecp256k1", "tiny-keccak" ] nightly = [] strict = [] # These two features are used for `no_std` builds for the environments which already provides # `#[panic_handler]` and `#[alloc_error_handler]`. # # For the regular wasm runtime builds those are not used. no_panic_handler = [] no_oom = []