# 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 = "2018" name = "tcpserver" version = "2.0.0" authors = ["yi lu "] description = "rust tcp server frame." documentation = "https://docs.rs/tcpserver" readme = "README.md" license = "MIT/Apache-2.0" repository = "https://github.com/luyikk/tcp_server" [dependencies.anyhow] version = "1.0" [dependencies.aqueue] version = "1.3" [dependencies.async-trait] version = "0.1" [dependencies.log] version = "0.4" [dependencies.openssl] version = "0.10" optional = true [dependencies.openssl-sys] version = "0.9" optional = true [dependencies.tokio] version = "1" features = [ "rt", "net", "io-util", ] [dependencies.tokio-openssl] version = "0.6" optional = true [dev-dependencies.env_logger] version = "0.8" [dev-dependencies.lazy_static] version = "1.4" [dev-dependencies.tcpclient] version = "1.4" [dev-dependencies.tokio] version = "1" features = ["full"] [features] default = [] tls = [ "openssl", "openssl-sys", "tokio-openssl", ]