# 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 = "kadmium" version = "0.6.0" authors = ["niklaslong "] description = "A broadcast protocol implementation based on Kadcast." documentation = "https://docs.rs/kadmium" readme = "README.md" keywords = [ "p2p", "peer-to-peer", "networking", ] categories = [ "algorithms", "network-programming", ] license = "MIT" repository = "https://github.com/niklaslong/kadmium" resolver = "2" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "doc_cfg", ] [dependencies.async-trait] version = "0.1.56" optional = true [dependencies.bincode] version = "2.0.0-rc.1" features = ["serde"] optional = true [dependencies.bytes] version = "1.2.0" [dependencies.parking_lot] version = "0.12.1" optional = true [dependencies.rand] version = "0.8.5" [dependencies.time] version = "0.3.11" [dependencies.tokio] version = "1.20.0" features = ["full"] optional = true [dependencies.tokio-util] version = "0.7.3" optional = true [dev-dependencies.deadline] version = "0.2.0" [dev-dependencies.pea2pea] version = "0.40.0" [dev-dependencies.tracing] version = "0.1.35" default-features = false [dev-dependencies.tracing-subscriber] version = "0.3.11" features = [ "env-filter", "fmt", ] [features] codec = [ "tokio-util/codec", "bincode", "bytes/serde", ] default = [] full = [ "codec", "sync", ] sync = [ "async-trait", "parking_lot", "tokio", ]