# 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" name = "tonic-rustls" version = "0.1.0" authors = ["Brandon Williams "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Provide support for custom rustls configs in tonic servers and clients" documentation = "https://docs.rs/tonic-rustls" readme = "README.md" license = "MIT" repository = "https://github.com/bmwill/tonic-rustls" [lib] name = "tonic_rustls" path = "src/lib.rs" [dependencies.async-stream] version = "0.3" optional = true [dependencies.axum] version = "0.7" optional = true default-features = false [dependencies.bytes] version = "1.0" [dependencies.h2] version = "0.4" optional = true [dependencies.http] version = "1" [dependencies.http-body] version = "1" [dependencies.http-body-util] version = "0.1" [dependencies.hyper] version = "1" features = [ "http1", "http2", ] optional = true [dependencies.hyper-timeout] version = "0.5" optional = true [dependencies.hyper-util] version = "0.1.4" features = ["tokio"] optional = true [dependencies.pin-project] version = "1.0.11" [dependencies.socket2] version = "0.5" features = ["all"] optional = true [dependencies.tokio] version = "1" optional = true default-features = false [dependencies.tokio-rustls] version = "0.26" features = [ "tls12", "ring", ] optional = true default-features = false [dependencies.tokio-stream] version = "0.1.16" default-features = false [dependencies.tonic] version = "0.12" features = ["router"] default-features = false [dependencies.tower] version = "0.5" optional = true default-features = false [dependencies.tower-layer] version = "0.3" [dependencies.tower-service] version = "0.3" [dependencies.tracing] version = "0.1" [dev-dependencies.quickcheck] version = "1.0" [dev-dependencies.quickcheck_macros] version = "1.0" [dev-dependencies.tokio] version = "1.0" features = [ "rt", "macros", ] [dev-dependencies.tower] version = "0.5" features = ["full"] [features] channel = [ "dep:hyper", "hyper?/client", "dep:hyper-util", "hyper-util?/client-legacy", "dep:tower", "tower?/balance", "tower?/buffer", "tower?/discover", "tower?/limit", "tower?/util", "dep:tokio", "tokio?/time", "dep:hyper-timeout", ] default = [ "tls", "channel", "server", ] server = [ "dep:async-stream", "dep:h2", "dep:hyper", "hyper?/server", "dep:hyper-util", "hyper-util?/service", "hyper-util?/server-auto", "dep:socket2", "dep:tokio", "tokio?/macros", "tokio?/net", "tokio?/time", "tokio-stream/net", "dep:tower", "tower?/util", "tower?/limit", ] tls = [ "dep:tokio-rustls", "dep:tokio", "tokio?/rt", "tokio?/macros", ]