# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "iota-types" version = "1.0.0-rc.7" authors = ["IOTA Stiftung"] description = "Common types required by nodes and clients APIs like blocks, responses and DTOs." homepage = "https://www.iota.org/" documentation = "https://wiki.iota.org/iota.rs/welcome" readme = "README.md" keywords = [ "iota", "tangle", "client", "types", "api", ] categories = ["cryptography::cryptocurrencies"] license = "Apache-2.0" repository = "https://github.com/iotaledger/iota.rs" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.bech32] version = "0.9.1" default-features = false [dependencies.bitflags] version = "1.3.2" default-features = false [dependencies.bytemuck] version = "1.13.1" default-features = false [dependencies.derive_more] version = "0.99.17" features = [ "from", "as_ref", "deref", "deref_mut", ] default-features = false [dependencies.getset] version = "0.1.2" optional = true default-features = false [dependencies.hashbrown] version = "0.13.2" features = [ "ahash", "inline-more", "serde", ] default-features = false [dependencies.hex] version = "0.4.3" features = ["alloc"] default-features = false [dependencies.iota-crypto] version = "0.15.3" features = [ "ed25519", "blake2b", "ternary_encoding", ] default-features = false [dependencies.iterator-sorted] version = "0.1.0" default-features = false [dependencies.packable] version = "0.7.0" features = [ "serde", "primitive-types", ] default-features = false [dependencies.prefix-hex] version = "0.5.0" features = ["primitive-types"] default-features = false [dependencies.primitive-types] version = "0.12.1" features = ["serde"] default-features = false [dependencies.rand] version = "0.8.5" features = [ "min_const_gen", "std_rng", ] optional = true default-features = false [dependencies.serde] version = "1.0.152" features = ["derive"] optional = true default-features = false [dependencies.serde-big-array] version = "0.5.1" optional = true default-features = false [dependencies.serde_json] version = "1.0.94" features = ["alloc"] optional = true default-features = false [dependencies.serde_repr] version = "0.1.11" optional = true default-features = false [dev-dependencies.iota-pow] version = "1.0.0-rc.4" default-features = false [dev-dependencies.num_cpus] version = "1.15.0" default-features = false [features] api = [ "block", "dto", "getset", "serde_repr", ] block = [] default = [ "api", "block", "std", ] dto = [ "serde", "dep:serde_json", ] rand = [ "dep:rand", "std", ] serde = [ "dep:serde", "serde-big-array", ] std = []