[package] name = "ant-libp2p-gossipsub" edition = "2021" rust-version = { workspace = true } description = "Gossipsub protocol for libp2p" version = "0.48.0" authors = ["Age Manning "] license = "MIT" repository = "https://github.com/maidsafe/ant-rust-libp2p" keywords = ["peer-to-peer", "libp2p", "networking"] categories = ["network-programming", "asynchronous"] [features] wasm-bindgen = ["getrandom/js", "futures-timer/wasm-bindgen"] [dependencies] async-channel = "2.3.1" asynchronous-codec = { workspace = true } base64 = "0.22.1" byteorder = "1.5.0" bytes = "1.6" either = "1.11" fnv = "1.0.7" futures = { workspace = true } futures-timer = "3.0.2" getrandom = "0.2.15" hex_fmt = "0.3.0" web-time = { workspace = true } ant-libp2p-core = { workspace = true } libp2p-identity = { workspace = true, features = ["rand"] } ant-libp2p-swarm = { workspace = true } quick-protobuf = "0.8" quick-protobuf-codec = { workspace = true } rand = "0.8" regex = "1.10.5" serde = { version = "1", optional = true, features = ["derive"] } sha2 = "0.10.8" smallvec = "1.13.2" tracing = { workspace = true } # Metrics dependencies prometheus-client = { workspace = true } [dev-dependencies] hex = "0.4.2" ant-libp2p-core = { workspace = true } ant-libp2p-yamux = { workspace = true } ant-libp2p-noise = { workspace = true } ant-libp2p-swarm-test = { path = "../../swarm-test" } quickcheck = { workspace = true } tracing-subscriber = { workspace = true, features = ["env-filter"] } tokio = { workspace = true, features = ["rt", "rt-multi-thread", "time", "macros"] } # Passing arguments to the docsrs builder in order to properly document cfg's. # More information: https://docs.rs/about/builds#cross-compiling [package.metadata.docs.rs] all-features = true [lints] workspace = true