[package] name = "s-types" version = "0.4.0" authors = ["Susy Technologies "] license = "MIT" homepage = "https://github.com/susytech/primitives" description = "Sophon types" [dependencies] crunchy = "0.1" sbloom = { path = "../sbloom", version = "0.5.0", default-features = false } s-types-serialize = { version = "0.2.1", path = "../serialize", optional = true } fixed-hash = { version = "0.2.3", path = "../fixed-hash", default_features = false } serde = { version = "1.0", optional = true } # TODO: remove `branch` when https://github.com/susytech/s-common/pull/30 lands uint = { version = "0.4.1", path = "../uint", default_features = false } [dev-dependencies] serde_json = "1.0" [features] default = ["std", "heapsizeof", "serialize"] std = ["uint/std", "fixed-hash/std", "sbloom/std"] heapsizeof = ["uint/heapsizeof", "fixed-hash/heapsizeof", "sbloom/heapsizeof"] serialize = ["std", "s-types-serialize", "serde", "sbloom/serialize"]