[package] name = "substrate-primitives" version = "0.1.0" authors = ["Parity Technologies "] [dependencies] crunchy = "0.1" sr-std = { path = "../sr-std", default_features = false } parity-codec = { version = "1.1", default_features = false } parity-codec-derive = { version = "~1.0", default_features = false } elastic-array = {version = "0.10", optional = true } fixed-hash = { version = "0.2.2", 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 } uint = { version = "0.4.1", default_features = false } rlp = { version = "0.2.4", optional = true } twox-hash = { version = "1.1.0", optional = true } byteorder = { version = "1.1", default_features = false } wasmi = { version = "0.4", optional = true } hashdb = { version = "0.2.1", default_features = false } patricia-trie = { version = "0.2.1", optional = true } plain_hasher = { version = "0.2", default_features = false } ring = { version = "0.12", optional = true } untrusted = { version = "0.5", 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", "uint/std", "fixed-hash/std", "fixed-hash/heapsizeof", "fixed-hash/libc", "parity-codec/std", "sr-std/std", "serde/std", "rustc-hex/std", "twox-hash", "blake2-rfc", "ring", "untrusted", "hex-literal", "base58", "serde_derive", "byteorder/std", "patricia-trie", "rlp", "elastic-array", ]