muxtls 0.5.0

Multiplexed streams over TLS/TCP
Documentation
# 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 = "2024"
rust-version = "1.88"
name = "muxtls"
version = "0.5.0"
authors = ["shellrow <shellrow@foctal.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Multiplexed streams over TLS/TCP"
readme = "README.md"
keywords = [
    "network",
    "tls",
    "stream",
    "multiplexing",
]
categories = [
    "network-programming",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/foctal/muxtls"
resolver = "2"

[features]
default = []
fuzzing = []
platform-verifier = [
    "dep:rustls-platform-verifier",
    "dep:webpki-root-certs",
]

[lib]
name = "muxtls"
path = "src/lib.rs"

[[example]]
name = "echo_client"
path = "examples/echo_client.rs"

[[example]]
name = "echo_server"
path = "examples/echo_server.rs"

[[test]]
name = "multiplex"
path = "tests/multiplex.rs"

[[bench]]
name = "throughput"
path = "benches/throughput.rs"
harness = false

[dependencies.bytes]
version = "1"

[dependencies.futures-util]
version = "0.3"
features = ["sink"]

[dependencies.muxtls-proto]
version = "0.5.0"

[dependencies.rcgen]
version = "0.14"

[dependencies.rustls]
version = "0.23.46"
features = [
    "ring",
    "std",
]
default-features = false

[dependencies.rustls-native-certs]
version = "0.8"

[dependencies.rustls-platform-verifier]
version = "0.6"
optional = true

[dependencies.rustls-webpki]
version = "0.103.16"
default-features = false

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.53.3"
features = [
    "rt",
    "sync",
    "macros",
    "net",
    "io-util",
    "time",
]

[dependencies.tokio-rustls]
version = "0.26"
features = ["ring"]
default-features = false

[dependencies.tokio-util]
version = "0.7"
features = ["codec"]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.criterion]
version = "0.5"
features = ["async_tokio"]

[dev-dependencies.tokio]
version = "1.53.3"
features = [
    "rt",
    "sync",
    "macros",
    "net",
    "io-util",
    "time",
    "rt-multi-thread",
    "sync",
    "macros",
    "net",
    "io-util",
    "time",
]

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
    "fmt",
    "env-filter",
]

[target.'cfg(target_arch = "wasm32")'.dependencies.webpki-root-certs]
version = "1.0.10"
optional = true