# 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 = "tcp-server" version = "0.2.2" authors = ["xuxiaocheng <2762267080@qq.com>"] description = "Convenient server-side TCP service. Based on tcp-handler." documentation = "https://docs.rs/tcp-server/" readme = "README.md" keywords = [ "tcp", "network", "server", ] categories = ["network-programming"] license = "(MIT OR Apache-2.0) AND BSD-3-Clause" repository = "https://github.com/xuxiaocheng0201/tcp-handler/tree/server" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [package.metadata.playground] features = [ "default", "serde", ] [profile.dev.package.num-bigint-dig] opt-level = 3 [dependencies.anyhow] version = "^1" [dependencies.async-trait] version = "~0.1" [dependencies.lazy_static] version = "^1" [dependencies.log] version = "~0.4" [dependencies.serde] version = "^1" features = ["derive"] optional = true [dependencies.tcp-handler] version = "~0.5" [dependencies.thiserror] version = "^1" [dependencies.tokio] version = "^1" features = [ "macros", "net", "signal", "time", ] [dependencies.tokio-util] version = "~0.7" features = ["rt"] [dev-dependencies.env_logger] version = "~0.11" [dev-dependencies.tcp-client] version = "~0.1" [dev-dependencies.tokio] version = "^1" features = ["rt-multi-thread"] [build-dependencies.reportme] version = "~0.2" [features] default = [] serde = [ "dep:serde", "tcp-handler/serde", ]