# 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_message_io" version = "1.0.4" description = "A simple TCP server and client implementation to exchange messages" readme = "README.md" license = "MIT" resolver = "1" [dependencies.anyhow] version = "1.0.72" [dependencies.postcard] version = "1" features = ["use-std"] optional = true [dependencies.serde] version = "1" optional = true [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = [ "sync", "io-util", "time", "net", "rt", "macros", ] [dependencies.tracing] version = "0.1" [dependencies.zstd] version = "0.12" optional = true [dev-dependencies.serial_test] version = "2.0.0" [features] postcard = [ "dep:serde", "dep:postcard", ] zstd = ["dep:zstd"]