# 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 = "bee-api-types" version = "1.0.1" authors = ["IOTA Stiftung"] description = "Common types required by nodes and clients APIs like bodies, errors, responses and DTOs." homepage = "https://www.iota.org" readme = "README.md" keywords = [ "iota", "bee", "framework", "node", "api", ] license = "Apache-2.0" repository = "https://github.com/iotaledger/bee" resolver = "1" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "doc_cfg", ] [dependencies.axum] version = "0.5.15" features = ["json"] optional = true default-features = false [dependencies.bee-block] version = "1.0.1" features = ["dto"] default-features = false [dependencies.bee-ledger-types] version = "1.0.0" default-features = false [dependencies.bee-protocol-types] version = "1.0.0" optional = true default-features = false [dependencies.serde] version = "1.0.143" features = ["derive"] default-features = false [dependencies.thiserror] version = "1.0.32" default-features = false [features] axum = ["dep:axum"] default = [ "axum", "peer", ] peer = ["bee-protocol-types"]