# 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 = "tsyncp" version = "0.4.1" authors = ["PoOnesNerfect "] description = """ Async channel APIs (mpsc, broadcast, barrier, etc) over TCP for message-passing. """ homepage = "https://github.com/PoOnesNerfect/tsyncp" documentation = "https://docs.rs/tsyncp/" readme = "README.md" keywords = [ "channel", "async", "mpsc", "tcp", "message-passing", ] categories = [ "network-programming", "web-programming", ] license = "MIT" repository = "https://github.com/PoOnesNerfect/tsyncp" [dependencies.bincode] version = "1.3.3" optional = true [dependencies.bytes] version = "1" [dependencies.futures] version = "0.3" [dependencies.parking_lot] version = "0.12" [dependencies.pin-project] version = "1" [dependencies.prost] version = "0.12" features = ["std"] optional = true default-features = false [dependencies.serde] version = "1" optional = true [dependencies.serde_json] version = "1" optional = true [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1" features = [ "sync", "time", "net", "macros", "io-util", "rt", ] [dependencies.tokio-util] version = "0.7" features = ["codec"] [dependencies.tosserror] version = "0.1" [dev-dependencies.color-eyre] version = "0.6" [dev-dependencies.env_logger] version = "0.11" [dev-dependencies.fake] version = "2.9" features = ["derive"] [dev-dependencies.log] version = "0.4" [dev-dependencies.prost] version = "0.12" features = [ "std", "prost-derive", ] default-features = false [dev-dependencies.rand] version = "0.8" [dev-dependencies.serde] version = "1" features = ["derive"] [dev-dependencies.serde_json] version = "1" [dev-dependencies.tokio] version = "1" features = [ "sync", "net", "macros", "rt-multi-thread", "time", ] [features] bincode = [ "serde", "dep:bincode", ] default = ["full"] full = [ "json", "prost", "bincode", ] json = [ "serde", "serde_json", ] prost = [ "dep:prost", "prost/std", ]