# 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-client" version = "0.2.0" authors = ["xuxiaocheng <2762267080@qq.com>"] description = "Convenient client-side TCP service. Based on tcp-handler." documentation = "https://docs.rs/tcp-client/" readme = "README.md" keywords = [ "tcp", "network", "client", ] categories = ["network-programming"] license = "MIT OR Apache-2.0" repository = "https://github.com/xuxiaocheng0201/tcp-handler/tree/client" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [profile.dev.package.num-bigint-dig] opt-level = 3 [dependencies.bytes] version = "^1" [dependencies.once_cell] version = "^1" [dependencies.serde] version = "^1" features = ["derive"] optional = true [dependencies.tcp-handler] version = "^1" [dependencies.thiserror] version = "^1" [dependencies.tokio] version = "^1" features = [ "net", "time", ] [dependencies.variable-len-reader] version = "^3" features = [ "std-comp", "sync_string", ] default-features = false [dev-dependencies.tokio] version = "^1" features = [ "macros", "rt-multi-thread", ] [build-dependencies.reportme] version = ">=0.2" [features] default = ["serde"] serde = [ "dep:serde", "tcp-handler/serde", ]