# 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 = "tlsimple" version = "0.2.2" include = [ "/build.rs", "/src", "/3rdparty", "!/3rdparty/mbedtls.tar.gz", ] description = "Simple and tiny TLS support for Rust, using Mbed-TLS." readme = "README.md" license = "MIT" repository = "https://github.com/kkocdko/tlsimple" [profile.dev.package."*"] debug = 0 strip = true [profile.release] debug = 2 panic = "abort" [lib] doctest = false [dependencies.hyper] version = "0.14" features = [ "tcp", "client", "http1", ] optional = true [dependencies.tokio] version = "1" optional = true [dev-dependencies.axum] version = "0.6" features = [ "http1", "http2", "tokio", ] default-features = false [dev-dependencies.tokio] version = "1" features = [ "rt-multi-thread", "net", "io-util", "macros", ] [dev-dependencies.tower-service] version = "0.3" [build-dependencies.cc] version = "1" features = ["parallel"] [features] default = ["hyper-client"] hyper-client = [ "tokio", "dep:hyper", ] tokio = ["dep:tokio"]