# 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_transport_tcp" version = "0.133.0" authors = ["Ockam Developers"] build = "build.rs" publish = true autobins = false autoexamples = false autotests = false autobenches = false description = """ TCP Transport for the Ockam Routing Protocol. """ homepage = "https://github.com/build-trust/ockam" readme = "README.md" keywords = [ "ockam", "crypto", "network", "networking", "tcp", ] categories = [ "cryptography", "asynchronous", "authentication", "network-programming", "embedded", ] license = "Apache-2.0" repository = "https://github.com/build-trust/ockam/implementations/rust/ockam/ockam_transport_tcp" [lib] name = "ockam_transport_tcp" path = "src/lib.rs" [[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" [dependencies.async-trait] version = "0.1.82" [dependencies.cfg-if] version = "1.0.0" [dependencies.log] version = "0.4.21" [dependencies.minicbor] version = "0.25.1" features = ["derive"] default-features = false [dependencies.ockam_core] version = "^0.122.0" [dependencies.ockam_ebpf] version = "0.6.0" optional = true [dependencies.ockam_macros] version = "^0.36.0" [dependencies.ockam_node] version = "^0.135.0" [dependencies.ockam_transport_core] version = "^0.99.0" [dependencies.opentelemetry] version = "0.26.0" features = [ "logs", "metrics", "trace", ] optional = true [dependencies.rand] version = "0.8" [dependencies.rustls] version = "0.23" default-features = false [dependencies.rustls-native-certs] version = "0.8" [dependencies.rustls-pemfile] version = "2.1" [dependencies.serde] version = "1.0" features = ["derive"] default-features = false [dependencies.socket2] version = "0.5.6" features = ["all"] [dependencies.tokio] version = "1.41" features = [ "rt-multi-thread", "sync", "net", "macros", "time", "io-util", ] [dependencies.tokio-rustls] version = "0.26" features = [ "logging", "tls12", ] default-features = false [dependencies.tracing] version = "0.1" default-features = false [build-dependencies.cfg_aliases] version = "0.2.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", ] [target.'cfg( any(target_os = "linux", target_os = "macos") )'.dependencies.binary-layout] version = "4.0.2" optional = true default-features = false [target.'cfg( any(target_os = "linux", target_os = "macos") )'.dependencies.nix] version = "0.29" features = [ "net", "user", "resource", ] optional = true default-features = false [target.'cfg( target_os = "linux" )'.dependencies.aya] version = "=0.13.0" optional = true default-features = false [target.'cfg( target_os = "linux" )'.dependencies.aya-log] version = "=0.2.1" optional = true default-features = false [target.'cfg( target_os = "linux" )'.dependencies.aya-log-common] version = "=0.1.15" optional = true default-features = false [target.'cfg( target_os = "linux" )'.dependencies.caps] version = "0.5.5" optional = true default-features = false