chateau 0.3.3

Tower primitives for Servers and Clients with ergonomic APIs
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.87"
name = "chateau"
version = "0.3.3"
authors = ["Alex Rudy <opensource@alexrudy.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tower primitives for Servers and Clients with ergonomic APIs"
documentation = "https://docs.rs/chateau"
readme = "README.md"
keywords = [
    "tcp",
    "tower",
    "client",
    "server",
    "async",
]
categories = ["network-programming"]
license = "MIT"
repository = "https://github.com/alexrudy/chateau"

[package.metadata.docs.rs]
all-features = true

[features]
client = [
    "happy_eyeballs",
    "dep:thiserror",
    "dep:futures",
    "dep:parking_lot",
]
codec = [
    "tokio-util/codec",
    "dep:futures",
    "dep:parking_lot",
]
default = [
    "client",
    "server",
    "duplex",
]
docs = []
duplex = ["dep:futures"]
happy_eyeballs = [
    "tokio/time",
    "dep:futures",
]
mock = ["dep:futures"]
server = ["dep:thiserror"]
tls = [
    "dep:rustls-native-certs",
    "dep:rustls",
    "dep:tokio-rustls",
]
tls-aws-lc = [
    "tls",
    "rustls/aws_lc_rs",
    "tokio-rustls/aws_lc_rs",
]
tls-ring = [
    "tls",
    "rustls/ring",
    "tokio-rustls/ring",
]

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

[dependencies.futures]
version = "0.3"
optional = true

[dependencies.parking_lot]
version = "0.12"
features = [
    "arc_lock",
    "send_guard",
]
optional = true

[dependencies.pin-project]
version = "1"

[dependencies.rustls]
version = ">=0.23.18"
features = ["tls12"]
optional = true
default-features = false

[dependencies.rustls-native-certs]
version = "0.8.3"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.socket2]
version = "0.6"

[dependencies.thiserror]
version = "2"
optional = true

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

[dependencies.tokio-rustls]
version = "0.26"
features = ["tls12"]
optional = true
default-features = false

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

[dependencies.tower]
version = "0.5"
features = [
    "make",
    "util",
]
default-features = false

[dependencies.tracing]
version = "^0.1"

[dev-dependencies.pem-rfc7468]
version = "1.0"
features = ["alloc"]

[dev-dependencies.static-assertions]
version = "1"
package = "static_assertions"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "time",
]

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

[dev-dependencies.tracing-test]
version = "0.2"

[dev-dependencies.webpki-roots]
version = "1.0"

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tarpaulin)"]