[build-dependencies.cfg_aliases]
version = "0.2.1"
[dependencies.async-trait]
version = "0.1.82"
[dependencies.cfg-if]
version = "1.0.0"
[dependencies.log]
version = "0.4.21"
[dependencies.minicbor]
default-features = false
features = ["derive"]
version = "0.25.1"
[dependencies.ockam_core]
version = "^0.123.0"
[dependencies.ockam_ebpf]
optional = true
version = "0.6.0"
[dependencies.ockam_macros]
version = "^0.36.0"
[dependencies.ockam_node]
version = "^0.136.0"
[dependencies.ockam_transport_core]
version = "^0.100.0"
[dependencies.opentelemetry]
features = ["logs", "metrics", "trace"]
optional = true
version = "0.26.0"
[dependencies.rand]
version = "0.8"
[dependencies.rustls]
default-features = false
version = "0.23"
[dependencies.rustls-native-certs]
version = "0.8"
[dependencies.rustls-pemfile]
version = "2.1"
[dependencies.serde]
default-features = false
features = ["derive"]
version = "1.0"
[dependencies.socket2]
features = ["all"]
version = "0.5.6"
[dependencies.tokio]
features = ["rt-multi-thread", "sync", "net", "macros", "time", "io-util"]
version = "1.41"
[dependencies.tokio-rustls]
default-features = false
features = ["logging", "tls12"]
version = "0.26"
[dependencies.tracing]
default-features = false
version = "0.1"
[features]
alloc = ["minicbor/alloc"]
aws-lc = ["tokio-rustls/aws-lc-rs"]
default = ["std", "ring", "privileged_portals"]
no_std = ["ockam_macros/no_std", "ockam_transport_core/no_std"]
privileged_portals = ["ockam_ebpf", "aya", "aya-log", "binary-layout", "caps", "nix"]
ring = ["tokio-rustls/ring"]
std = ["ockam_macros/std", "ockam_transport_core/std", "minicbor/std", "opentelemetry", "binary-layout?/std"]
[lib]
name = "ockam_transport_tcp"
path = "src/lib.rs"
[package]
authors = ["Ockam Developers"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = "build.rs"
categories = ["cryptography", "asynchronous", "authentication", "network-programming", "embedded"]
description = """
TCP Transport for the Ockam Routing Protocol.
"""
edition = "2021"
homepage = "https://github.com/build-trust/ockam"
keywords = ["ockam", "crypto", "network", "networking", "tcp"]
license = "Apache-2.0"
name = "ockam_transport_tcp"
publish = true
readme = "README.md"
repository = "https://github.com/build-trust/ockam/implementations/rust/ockam/ockam_transport_tcp"
rust-version = "1.70.0"
version = "0.134.0"
[target.'cfg( any(target_os = "linux", target_os = "macos") )'.dependencies.binary-layout]
default-features = false
optional = true
version = "4.0.2"
[target.'cfg( any(target_os = "linux", target_os = "macos") )'.dependencies.nix]
default-features = false
features = ["net", "user", "resource"]
optional = true
version = "0.29"
[target.'cfg( target_os = "linux" )'.dependencies.aya]
default-features = false
optional = true
version = "=0.13.0"
[target.'cfg( target_os = "linux" )'.dependencies.aya-log]
default-features = false
optional = true
version = "=0.2.1"
[target.'cfg( target_os = "linux" )'.dependencies.aya-log-common]
default-features = false
optional = true
version = "=0.1.15"
[target.'cfg( target_os = "linux" )'.dependencies.caps]
default-features = false
optional = true
version = "0.5.5"
[[test]]
name = "ebpf_portal"
path = "tests/ebpf_portal.rs"
[[test]]
name = "interceptor"
path = "tests/interceptor.rs"
[[test]]
name = "keepalive"
path = "tests/keepalive.rs"
[[test]]
name = "lifecycle"
path = "tests/lifecycle.rs"
[[test]]
name = "portal"
path = "tests/portal.rs"
[[test]]
name = "send_receive"
path = "tests/send_receive.rs"