[package] name = "po_ones_nerfect" version = "0.1.4" edition = "2021" authors = ["PoOnesNerfect "] license = "MIT" readme = "README.md" repository = "https://github.com/PoOnesNerfect/tsyncp" homepage = "https://github.com/PoOnesNerfect/tsyncp" documentation = "https://docs.rs/tsyncp/" description = """ Renamed to [tsyncp](https://crates.io/crates/tsyncp); but it's still WIP. """ categories = ["network-programming", "encoding"] keywords = ["channel", "sync", "mpsc", "tcp"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] default = ["json", "protobuf", "rkyv"] rkyv = ["dep:rkyv", "bytecheck"] json = ["serde", "serde_json"] protobuf = ["prost/std"] [dependencies] bytes = { version = "1" } prost = { version = "0.10", default-features = false, features = ["std"], optional = true} serde = { version = "1", optional = true } serde_json = { version = "1", optional = true } rkyv = { version = "0.7", features = ["validation"], optional = true } bytecheck = { version = "0.6", optional = true } futures = { version = "0.3" } tokio = { version = "1", features = ["sync", "net", "macros"] } tokio-util = { version = "0.7", features = ["codec"] } snafu = { version = "0.7", features = ["default", "futures"] } [dev-dependencies] fake = { version = "2.4", features = ["derive"] } rand = { version = "0.8" } serde = { version = "1", features = ["derive"]} serde_json = { version = "1" } tokio = { version = "1", features = ["sync", "net", "macros", "rt-multi-thread"] }