# 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_node" version = "0.135.0" authors = ["Ockam Developers"] build = "build.rs" publish = true autobins = false autoexamples = false autotests = false autobenches = false description = ''' This crate provides an implementation of an Ockam [Ockam][main-ockam-crate-link] Node and is intended for use by crates that provide features and add-ons to the main [Ockam][main-ockam-crate-link] library. The main [Ockam][main-ockam-crate-link] crate re-exports types defined in this crate, when the `"std"` feature is enabled. ''' homepage = "https://github.com/build-trust/ockam" readme = "README.md" keywords = [ "ockam", "crypto", "cryptography", "network-programming", "encryption", ] categories = [ "cryptography", "asynchronous", "authentication", "embedded", "network-programming", ] license = "Apache-2.0" repository = "https://github.com/build-trust/ockam/tree/develop/implementations/rust/ockam/ockam_node" [package.metadata.cargo-machete] ignored = [ "fs2", "serde_json", "tracing-opentelemetry", "sqlx-postgres", "sqlx-sqlite", ] [lib] name = "ockam_node" path = "src/lib.rs" [[test]] name = "router" path = "tests/router.rs" [[test]] name = "tests" path = "tests/tests.rs" [dependencies.cfg-if] version = "1.0.0" [dependencies.fs2] version = "0.4.3" optional = true [dependencies.futures] version = "0.3.30" default-features = false [dependencies.heapless] version = "0.8" features = ["mpmc_large"] optional = true [dependencies.minicbor] version = "0.25.1" features = ["derive"] default-features = false [dependencies.nix] version = "0.29" features = ["signal"] optional = true [dependencies.ockam_core] version = "^0.122.0" default-features = false [dependencies.ockam_executor] version = "^0.91.0" optional = true default-features = false [dependencies.ockam_macros] version = "^0.36.0" [dependencies.ockam_transport_core] version = "^0.99.0" optional = true default-features = false [dependencies.once_cell] version = "1.19.0" optional = true default-features = false [dependencies.opentelemetry] version = "0.26.0" features = [ "logs", "metrics", "trace", ] optional = true [dependencies.regex] version = "1.10.6" optional = true default-features = false [dependencies.serde] version = "1.0" features = ["derive"] default-features = false [dependencies.serde_json] version = "1" optional = true [dependencies.sqlx] version = "0.8.2" features = [ "postgres", "sqlite", "any", "migrate", "runtime-tokio", "derive", ] optional = true default-features = false [dependencies.sqlx-core] version = "0.8.2" optional = true default-features = false [dependencies.sqlx-postgres] version = "0.8.2" optional = true default-features = false [dependencies.sqlx-sqlite] version = "0.8.2" optional = true default-features = false [dependencies.tempfile] version = "3.10.1" optional = true [dependencies.time] version = "0.3.36" optional = true default-features = false [dependencies.tokio] version = "1.41" features = [ "sync", "time", "rt", "rt-multi-thread", "macros", ] optional = true default-features = false [dependencies.tokio-retry] version = "0.3.0" optional = true [dependencies.tracing] version = "0.1" default-features = false [dependencies.tracing-error] version = "0.2" optional = true [dependencies.tracing-opentelemetry] version = "0.27.0" optional = true [dependencies.tracing-subscriber] version = "0.3" features = [ "fmt", "env-filter", ] optional = true [dev-dependencies.hex] version = "0.4" default-features = false [features] alloc = [ "ockam_core/alloc", "ockam_executor/alloc", "futures/alloc", "minicbor/alloc", ] debugger = ["ockam_core/debugger"] default = ["std"] dump_internals = [] metrics = [] no_std = [ "ockam_core/no_std", "ockam_transport_core/no_std", "heapless", ] std = [ "ockam_core/std", "ockam_transport_core/std", "once_cell/std", "opentelemetry", "tokio", "tracing-opentelemetry", "tracing-subscriber", "tracing-error", "alloc", "futures/std", "minicbor/std", "storage", "fs2", ] storage = [ "std", "time", "serde_json", "sqlx", "sqlx-core", "sqlx-sqlite", "sqlx-postgres", "tokio-retry", "regex", "tempfile", ] watchdog = ["nix"]