ockam_api 0.76.0

Ockam's request-response API
Documentation
[package]
name = "ockam_api"
version = "0.76.0"
authors = ["Ockam Developers"]
categories = [
  "cryptography",
  "asynchronous",
  "authentication",
  "network-programming",
  "embedded",
]
edition = "2021"
homepage = "https://github.com/ockam-network/ockam"
keywords = [
  "ockam",
  "crypto",
  "cryptography",
  "network-programming",
  "encryption",
]
license = "Apache-2.0"
publish = true
repository = "https://github.com/ockam-network/ockam/implementations/rust/ockam/ockam_api"
description = "Ockam's request-response API"

[features]
default = ["std", "rust-crypto"]
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"]
aws-lc = ["ockam_vault/aws-lc", "ockam_transport_tcp/aws-lc"]
rust-crypto = ["ockam_vault/rust-crypto", "ockam_transport_tcp/ring"]

[dependencies]
base64-url = "3.0.0"
bytes = { version = "1.7.1", default-features = false, features = ["serde"] }
cfg-if = "1.0.0"
chrono = { version = "0.4" }
clap = { version = "4.5", default-features = false, features = ["derive"] }
colorful = "0.2"
colors-transform = "0.2"
dialoguer = "0.11"
either = { version = "1.13.0", default-features = false }
flexi_logger = "0.28"
futures = { version = "0.3.30", features = [] }
gethostname = "0.5.0"
hex = { version = "0.4.3", default-features = false, features = ["alloc", "serde"] }
home = "0.5"
http-body-util = "0"
hyper = { version = "1", default-features = false, features = ["server", "http1"] }
hyper-util = { version = "0", default-features = false, features = ["server", "http1", "tokio"] }
indicatif = "0.17"
itertools = "0.13.0"
jaq-core = "1"
jaq-interpret = "1"
jaq-parse = "1"
jaq-std = "1"
kafka-protocol = "0.10"
log = "0.4"
miette = "7"
minicbor = { version = "0.24.1", features = ["alloc", "derive"] }
nix = { version = "0.29", features = ["signal"] }
open = "5.3.0"
opentelemetry = { version = "0.23.0", features = ["logs", "metrics", "trace"] }
opentelemetry-appender-tracing = { version = "0.4.0" }
opentelemetry-otlp = { version = "0.16.0", features = ["logs", "metrics", "trace", "grpc-tonic", "tls", "tls-roots"], default-features = false }
opentelemetry-semantic-conventions = { version = "0.16.0" }
opentelemetry_sdk = { version = "0.23.0", features = ["logs", "metrics", "trace", "rt-tokio", "rt-tokio-current-thread", "testing", "logs_level_enabled"], default-features = false }
petname = { version = "2.0.2", default-features = false, features = ["default-rng", "default-words"] }
r3bl_rs_utils_core = "0.9"
r3bl_tui = "0.5"
r3bl_tuify = "0.1"
rand = "0.8"
regex = "1.10.6"
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls-native-roots"] }
serde = { version = "1.0.204", features = ["derive"] }
serde_json = "1.0.118"
sha2 = "0.10.8"
sqlx-build-trust = { version = "0.7.8" }
strip-ansi-escapes = "0.2"
sysinfo = "0.30"
thiserror = "1.0"
time = { version = "0.3.36", default-features = false, features = ["std", "formatting", "local-offset", "macros"] }
tiny_http = "0.12.0"
tokio = { version = "1.39.2", features = ["full"] }
tokio-retry = "0.3.0"
tracing = { version = "0.1", default-features = false }
tracing-appender = "0.2.2"
tracing-core = { version = "0.1.32", default-features = false }
tracing-error = "0.2.0"
tracing-opentelemetry = "0.24.0"
tracing-subscriber = { version = "0.3.18", features = ["json"] }
url = "2.5.2"

ockam_multiaddr = { path = "../ockam_multiaddr", version = "0.60.0", features = ["cbor", "serde"] }
ockam_transport_core = { path = "../ockam_transport_core", version = "^0.90.0" }
ockam_transport_tcp = { path = "../ockam_transport_tcp", version = "^0.123.0", default-features = false, features = ["std"] }
tonic = "0.11"

[dependencies.ockam_core]
version = "0.116.0"
path = "../ockam_core"
default-features = false
features = ["no_std", "alloc"]

[dependencies.ockam_node]
version = "0.125.0"
path = "../ockam_node"
default-features = false
features = ["no_std", "alloc"]

[dependencies.ockam_vault]
version = "0.118.0"
path = "../ockam_vault"
default-features = false
# FIXME: ockam_vault's dependency curve25519-dalek has non-additive features which
# breaks building ockam_vault with feature set "no_std,std":
features = ["std", "storage"]

[dependencies.ockam_vault_aws]
version = "0.44.0"
path = "../ockam_vault_aws"
default-features = false
features = ["std"]

[dependencies.ockam]
version = "^0.133.0"
path = "../ockam"
default-features = false
features = ["std", "ockam_transport_tcp", "ockam_transport_udp", "storage"]

[dependencies.ockam_abac]
version = "0.66.0"
path = "../ockam_abac"
default-features = false

[dev-dependencies]
cddl-cat = "0.6.1"
fake = { version = "2", features = ['derive', 'uuid'] }
hex = "0.4.3"
indexmap = "2.2.6"
mockall = "0.12"
multimap = "0.10.0"
ockam_macros = { path = "../ockam_macros", features = ["std"], version = "^0.34.0" }
ockam_transport_core = { path = "../ockam_transport_core", version = "^0.90.0" }
ockam_transport_tcp = { path = "../ockam_transport_tcp", default-features = false, version = "^0.123.0" }
once_cell = { version = "1", default-features = false }
opentelemetry_sdk = { version = "0.23.0", features = ["logs", "metrics", "trace", "rt-tokio", "testing"], default-features = false }
pretty_assertions = "1.4.0"
proptest = "1.5.0"
quickcheck = "1.0.1"
quickcheck_macros = "1.0.0"
tempfile = "3.10.1"
tokio = { version = "1.39.2", features = ["full"] }
tracing-core = "0.1.32"
treeline = "0.1.0"
uuid = "1.10.0"