[package] name = "bee-block" version = "1.0.1" authors = [ "IOTA Stiftung" ] edition = "2021" description = "Implementation of the IOTA protocol block layouts" readme = "README.md" repository = "https://github.com/iotaledger/bee" license = "Apache-2.0" keywords = [ "iota", "tangle", "bee", "framework", "block" ] homepage = "https://www.iota.org" rust-version = "1.60" [package.metadata.docs.rs] # To build locally: # RUSTDOCFLAGS="--cfg doc_cfg" cargo +nightly doc --all-features --no-deps --open all-features = true rustdoc-args = [ "--cfg", "doc_cfg" ] [dependencies] bee-pow = { version = "1.0.0", path = "../bee-pow", default-features = false } bee-ternary = { version = "1.0.0", default-features = false, features = [ "serde" ] } bech32 = { version = "0.9.1", default-features = false } bitflags = { version = "1.3.2", default-features = false } bytemuck = { version = "1.12.1", default-features = false } derive_more = { version = "0.99.17", default-features = false, features = [ "from", "as_ref", "deref", "deref_mut" ] } hashbrown = { version = "0.12.3", default-features = false, features = [ "ahash", "inline-more" ] } hex = { version = "0.4.3", default-features = false, features = [ "alloc" ] } inx = { version = "1.0.0-beta.8", default-features = false, optional = true } iota-crypto = { version = "0.14.3", default-features = false, features = [ "ed25519", "blake2b" ] } iterator-sorted = { version = "0.1.0", default-features = false } packable = { version = "0.6.2", default-features = false, features = [ "serde", "primitive-types" ] } prefix-hex = { version = "0.4.0", default-features = false, features = [ "primitive-types" ] } primitive-types = { version = "0.11.1", default-features = false, features = [ "serde" ] } rand = { version = "0.8.5", default-features = false, features = [ "min_const_gen", "std_rng" ], optional = true } serde = { version = "1.0.144", default-features = false, optional = true } serde-big-array = { version = "0.4.1", default-features = false, optional = true } serde_json = { version = "1.0.85", default-features = false, features = [ "alloc" ], optional = true } thiserror = { version = "1.0.32", default-features = false } [dev-dependencies] num_cpus = { version = "1.13.1", default-features = false } [features] dto = [ "serde", "dep:serde_json" ] inx = [ "dep:inx", "std" ] serde = [ "dep:serde", "serde-big-array" ] std = [ ] rand = [ "dep:rand", "std" ]