[package]
name = "ockam_channel"
version = "0.55.0"
authors = ["Ockam Developers"]
edition = "2021"
license = "Apache-2.0"
homepage = "https://github.com/build-trust/ockam"
repository = "https://github.com/build-trust/ockam/tree/develop/implementations/rust/ockam/ockam_vault"
readme = "README.md"
categories = [
"cryptography",
"asynchronous",
"authentication",
"no-std",
"algorithms",
]
keywords = ["ockam", "crypto", "encryption", "authentication"]
description = """Channel is an abstraction responsible for sending messages (usually over the network)
in encrypted and authenticated way.
"""
publish = true
rust-version = "1.56.0"
[features]
default = ["std"]
software_vault = [
"ockam_vault",
]
noise_xx = ["ockam_key_exchange_xx"]
std = [
"alloc",
"ockam_core/std",
"ockam_macros/std",
"ockam_key_exchange_core/std",
"ockam_key_exchange_xx/std",
"ockam_node/std",
"ockam_vault/std",
"rand/std",
"rand/std_rng",
]
no_std = [
"ockam_core/no_std",
"ockam_macros/no_std",
"ockam_key_exchange_core/no_std",
"ockam_key_exchange_xx/no_std",
"ockam_node/no_std",
"ockam_vault/no_std",
"rand_pcg",
]
alloc = [
"ockam_core/alloc",
"ockam_key_exchange_core/alloc",
"ockam_key_exchange_xx/alloc",
"ockam_node/alloc",
"ockam_vault/alloc",
"serde/alloc",
]
[dependencies]
ockam_core = { path = "../ockam_core", version = "^0.56.0", default_features = false }
ockam_macros = { path = "../ockam_macros", version = "^0.16.0", default_features = false }
ockam_key_exchange_core = { path = "../ockam_key_exchange_core", version = "^0.47.0", default_features = false }
ockam_key_exchange_xx = { path = "../ockam_key_exchange_xx", version = "^0.51.0", default_features = false, optional = true }
ockam_node = { path = "../ockam_node", version = "^0.58.0", default_features = false }
ockam_vault = { path = "../ockam_vault", version = "^0.51.0", default_features = false, optional = true }
rand = { version = "0.8", default-features = false }
rand_pcg = { version = "0.3.1", default-features = false, optional = true }
serde = { version = "1.0", default-features = false, features = ["derive"] }
tracing = { version = "0.1", default_features = false }
[dev-dependencies]
ockam_vault = { path = "../ockam_vault", version = "^0.51.0" }
ockam_key_exchange_xx = { path = "../ockam_key_exchange_xx", version = "^0.51.0" }
ockam_key_exchange_x3dh = { path = "../ockam_key_exchange_x3dh", version = "^0.50.0" }
trybuild = { version = "1.0", features = ["diff"] }
tokio = { version = "1.8", features = [
"rt-multi-thread",
"sync",
"net",
"macros",
"time",
"io-util",
] }