# 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" rust-version = "1.70.0" name = "ockam_core" version = "0.122.0" authors = ["Ockam Developers"] build = false publish = true autobins = false autoexamples = false autotests = false autobenches = false description = """ Core types of the Ockam library. """ homepage = "https://github.com/build-trust/ockam" readme = "README.md" keywords = [ "ockam", "crypto", "p2p", "cryptography", "encryption", ] categories = [ "cryptography", "asynchronous", "authentication", "network-programming", "embedded", ] license = "Apache-2.0" repository = "https://github.com/build-trust/ockam/implementations/rust/ockam/ockam_core" [lib] name = "ockam_core" path = "src/lib.rs" [dependencies.async-trait] version = "0.1.82" [dependencies.backtrace] version = "0.3" features = [ "std", "serialize-serde", ] optional = true default-features = false [dependencies.cfg-if] version = "1.0" [dependencies.core2] version = "0.4.0" optional = true default-features = false [dependencies.futures-util] version = "0.3.30" features = [ "alloc", "async-await-macro", "sink", ] default-features = false [dependencies.hashbrown] version = "0.14" features = [ "ahash", "serde", ] default-features = false [dependencies.hex] version = "0.4" optional = true default-features = false [dependencies.miette] version = "7.2.0" features = ["fancy-no-backtrace"] optional = true [dependencies.minicbor] version = "0.25.1" features = ["derive"] default-features = false [dependencies.ockam_macros] version = "^0.36.0" default-features = false [dependencies.once_cell] version = "1" optional = true default-features = false [dependencies.opentelemetry] version = "0.26.0" features = [ "logs", "metrics", "trace", ] optional = true [dependencies.rand] version = "0.8" default-features = false [dependencies.rand_pcg] version = "0.3.1" optional = true default-features = false [dependencies.regex] version = "1.10.6" optional = true default-features = false [dependencies.serde] version = "1.0" features = ["derive"] default-features = false [dependencies.serde_bare] version = "0.5.0" default-features = false [dependencies.serde_json] version = "1" optional = true [dependencies.spin] version = "0.9.8" features = [ "mutex", "rwlock", "spin_mutex", ] optional = true default-features = false [dependencies.strum] version = "0.26.3" features = ["derive"] default-features = false [dependencies.tinyvec] version = "1.8.0" features = ["rustc_1_57"] [dependencies.tracing] version = "0.1" default-features = false [dependencies.tracing-error] version = "0.2" optional = true default-features = false [dependencies.tracing-opentelemetry] version = "0.27.0" optional = true [dependencies.tracing-subscriber] version = "0.3" features = [ "fmt", "env-filter", ] optional = true [dependencies.utcnow] version = "0.2.5" features = ["fallback"] optional = true default-features = false [dev-dependencies.cddl-cat] version = "0.6.2" [dev-dependencies.proptest] version = "1.5.0" [dev-dependencies.quickcheck] version = "1.0.1" [dev-dependencies.tokio] version = "1.41.0" features = ["full"] [features] alloc = [ "core2/alloc", "hex/alloc", "minicbor/alloc", "serde/alloc", "serde_bare/alloc", ] debugger = [] default = [ "std", "error-traces", ] error-traces = [ "tracing-error", "once_cell", ] no_std = [ "core2", "hex", "rand_pcg", "spin", "ockam_macros/no_std", "utcnow", ] std = [ "alloc", "hex/std", "minicbor/std", "rand/std", "rand/std_rng", "serde_bare/std", "ockam_macros/std", "once_cell/std", "opentelemetry", "regex", "serde_json", "tinyvec/std", "tracing-error", "tracing-opentelemetry", "tracing-subscriber", "strum/std", "miette", ]