# 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 = "ockam_api" version = "0.88.0" authors = ["Ockam Developers"] build = "build.rs" publish = true autobins = false autoexamples = false autotests = false autobenches = false description = "Ockam's request-response API" homepage = "https://github.com/ockam-network/ockam" readme = "README.md" keywords = [ "ockam", "crypto", "cryptography", "network-programming", "encryption", ] categories = [ "cryptography", "asynchronous", "authentication", "network-programming", "embedded", ] license = "Apache-2.0" repository = "https://github.com/ockam-network/ockam/implementations/rust/ockam/ockam_api" [lib] name = "ockam_api" path = "src/lib.rs" [[test]] name = "authority" path = "tests/authority.rs" [[test]] name = "credential_issuer" path = "tests/credential_issuer.rs" [[test]] name = "direct_authenticator" path = "tests/direct_authenticator.rs" [[test]] name = "identity" path = "tests/identity.rs" [[test]] name = "journeys" path = "tests/journeys.rs" [[test]] name = "latency" path = "tests/latency.rs" [[test]] name = "logging_tracing" path = "tests/logging_tracing.rs" [[test]] name = "portals" path = "tests/portals.rs" [[test]] name = "session" path = "tests/session.rs" [[test]] name = "session_additional" path = "tests/session_additional.rs" [[test]] name = "token_enrollment" path = "tests/token_enrollment.rs" [dependencies.base64-url] version = "3.0.0" [dependencies.bytes] version = "1.7.2" features = ["serde"] default-features = false [dependencies.cfg-if] version = "1.0.0" [dependencies.chrono] version = "0.4" [dependencies.clap] version = "4.5" features = ["derive"] default-features = false [dependencies.colorful] version = "0.3" [dependencies.colors-transform] version = "0.2" [dependencies.dialoguer] version = "0.11" [dependencies.either] version = "1.13.0" default-features = false [dependencies.flexi_logger] version = "0.28" [dependencies.futures] version = "0.3.30" features = [] [dependencies.gethostname] version = "0.5.0" [dependencies.hex] version = "0.4.3" features = [ "alloc", "serde", ] default-features = false [dependencies.home] version = "0.5" [dependencies.http-body-util] version = "0" [dependencies.httparse] version = "1.9.5" [dependencies.hyper] version = "1" features = [ "server", "http1", ] default-features = false [dependencies.hyper-util] version = "0" features = [ "server", "http1", "tokio", ] default-features = false [dependencies.indicatif] version = "0.17" [dependencies.itertools] version = "0.13.0" [dependencies.jaq-core] version = "1" [dependencies.jaq-interpret] version = "1" [dependencies.jaq-parse] version = "1" [dependencies.jaq-std] version = "1" [dependencies.kafka-protocol] version = "0.13" [dependencies.log] version = "0.4" [dependencies.miette] version = "7.2.0" features = ["fancy-no-backtrace"] [dependencies.minicbor] version = "0.25.1" features = [ "alloc", "derive", ] default-features = false [dependencies.nix] version = "0.29" features = ["signal"] [dependencies.ockam] version = "^0.145.0" features = [ "std", "ockam_transport_tcp", "ockam_transport_udp", "storage", ] default-features = false [dependencies.ockam_abac] version = "0.76.0" default-features = false [dependencies.ockam_core] version = "0.122.0" features = [ "no_std", "alloc", ] default-features = false [dependencies.ockam_multiaddr] version = "0.67.0" features = [ "cbor", "serde", ] [dependencies.ockam_node] version = "0.135.0" features = [ "no_std", "alloc", ] default-features = false [dependencies.ockam_transport_core] version = "^0.99.0" [dependencies.ockam_transport_tcp] version = "^0.133.0" features = ["std"] default-features = false [dependencies.ockam_vault] version = "0.128.0" features = [ "std", "storage", ] default-features = false [dependencies.ockam_vault_aws] version = "0.54.0" features = ["std"] default-features = false [dependencies.once_cell] version = "1" default-features = false [dependencies.open] version = "5.3.0" [dependencies.opentelemetry] version = "0.26.0" features = [ "logs", "metrics", "trace", ] [dependencies.opentelemetry-appender-tracing] version = "0.26.0" [dependencies.opentelemetry-otlp] version = "0.26.0" features = [ "logs", "metrics", "trace", "grpc-tonic", "tls", "tls-roots", ] default-features = false [dependencies.opentelemetry-semantic-conventions] version = "0.26.0" features = ["semconv_experimental"] [dependencies.opentelemetry_sdk] version = "0.26.0" features = [ "logs", "metrics", "trace", "rt-tokio", "rt-tokio-current-thread", "testing", "logs_level_enabled", ] default-features = false [dependencies.petname] version = "2.0.2" features = [ "default-rng", "default-words", ] default-features = false [dependencies.r3bl_rs_utils_core] version = "0.9" [dependencies.r3bl_tui] version = "0.5" [dependencies.r3bl_tuify] version = "0.1" [dependencies.rand] version = "0.8" [dependencies.regex] version = "1.10.6" [dependencies.reqwest] version = "0.12" features = [ "json", "rustls-tls-native-roots", ] default-features = false [dependencies.serde] version = "1.0.204" features = ["derive"] [dependencies.serde_json] version = "1.0.133" [dependencies.sha2] version = "0.10.8" [dependencies.sqlx] version = "0.8.2" default-features = false [dependencies.strip-ansi-escapes] version = "0.2" [dependencies.strum] version = "0.26.3" features = ["derive"] default-features = false [dependencies.syntect] version = "5.2.0" features = [ "default-syntaxes", "regex-onig", ] default-features = false [dependencies.sysinfo] version = "0.32" [dependencies.termbg] version = "0.5.2" [dependencies.thiserror] version = "1.0" [dependencies.time] version = "0.3.36" features = [ "std", "formatting", "local-offset", "macros", ] default-features = false [dependencies.tiny_http] version = "0.12.0" [dependencies.tokio] version = "1.41.0" features = ["full"] [dependencies.tokio-retry] version = "0.3.0" [dependencies.tonic] version = "0.12" [dependencies.tracing] version = "0.1" default-features = false [dependencies.tracing-appender] version = "0.2.2" [dependencies.tracing-core] version = "0.1.32" default-features = false [dependencies.tracing-error] version = "0.2.0" [dependencies.tracing-opentelemetry] version = "0.27.0" [dependencies.tracing-subscriber] version = "0.3" features = ["json"] [dependencies.url] version = "2.5.2" [dev-dependencies.cddl-cat] version = "0.6.1" [dev-dependencies.fake] version = "3" features = [ "derive", "uuid", ] [dev-dependencies.hex] version = "0.4.3" [dev-dependencies.indexmap] version = "2.6.0" [dev-dependencies.mockall] version = "0.13" [dev-dependencies.multimap] version = "0.10.0" [dev-dependencies.ockam_macros] version = "^0.36.0" features = ["std"] [dev-dependencies.ockam_transport_core] version = "^0.99.0" [dev-dependencies.ockam_transport_tcp] version = "^0.133.0" default-features = false [dev-dependencies.opentelemetry_sdk] version = "0.26.0" features = [ "logs", "metrics", "trace", "rt-tokio", "testing", ] default-features = false [dev-dependencies.pretty_assertions] version = "1.4.1" [dev-dependencies.proptest] version = "1.5.0" [dev-dependencies.quickcheck] version = "1.0.1" [dev-dependencies.quickcheck_macros] version = "1.0.0" [dev-dependencies.serial_test] version = "3.0.0" [dev-dependencies.tempfile] version = "3.10.1" [dev-dependencies.tokio] version = "1.41.0" features = ["full"] [dev-dependencies.tracing-core] version = "0.1.32" [dev-dependencies.treeline] version = "0.1.0" [dev-dependencies.uuid] version = "1.10.0" [build-dependencies.cfg_aliases] version = "0.2.1" [features] aws-lc = [ "ockam_vault/aws-lc", "ockam_transport_tcp/aws-lc", ] default = [ "std", "rust-crypto", "privileged_portals", ] privileged_portals = ["ockam_transport_tcp/privileged_portals"] rust-crypto = [ "ockam_vault/rust-crypto", "ockam_transport_tcp/ring", ] std = [ "either/use_std", "hex/std", "minicbor/std", "ockam_abac/std", "ockam_core/std", "ockam/std", "ockam_multiaddr/std", "ockam_node/std", "ockam_vault/std", "ockam_vault_aws/std", "tracing/std", "storage", ] storage = ["ockam/storage"] test-utils = []