[package] name = "substrate-primitives" version = "0.1.0" authors = ["Parity Technologies "] [dependencies] sr-std = { path = "../sr-std", default-features = false } parity-codec = { version = "2.1", default-features = false } parity-codec-derive = { version = "2.1", default-features = false } rustc-hex = { version = "2.0", default-features = false } serde = { version = "1.0", default-features = false } serde_derive = { version = "1.0", optional = true } twox-hash = { version = "1.1.0", optional = true } byteorder = { version = "1.1", default-features = false } primitive-types = { version = "0.1", default-features = false, features = ["codec"] } impl-serde = { version = "0.1", optional = true } wasmi = { version = "0.4.2", optional = true } hash-db = { git = "https://github.com/paritytech/trie", default-features = false } hash256-std-hasher = { git = "https://github.com/paritytech/trie", default-features = false } ring = { version = "0.13", optional = true } untrusted = { version = "0.6", optional = true } hex-literal = { version = "0.1", optional = true } base58 = { version = "0.1", optional = true } blake2-rfc = { version = "0.2.18", optional = true } [dev-dependencies] substrate-serializer = { path = "../serializer" } pretty_assertions = "0.4" heapsize = "0.4" [features] default = ["std"] std = [ "wasmi", "primitive-types/std", "primitive-types/serde", "primitive-types/heapsize", "primitive-types/byteorder", "primitive-types/rustc-hex", "primitive-types/libc", "impl-serde", "parity-codec/std", "hash256-std-hasher/std", "hash-db/std", "sr-std/std", "serde/std", "rustc-hex/std", "twox-hash", "blake2-rfc", "ring", "untrusted", "hex-literal", "base58", "serde_derive", "byteorder/std", ]