# 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" rust-version = "1.75.0" name = "ant-libp2p-gossipsub" version = "0.48.0" authors = ["Age Manning "] build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Gossipsub protocol for libp2p" readme = false keywords = [ "peer-to-peer", "libp2p", "networking", ] categories = [ "network-programming", "asynchronous", ] license = "MIT" repository = "https://github.com/maidsafe/ant-rust-libp2p" [package.metadata.docs.rs] all-features = true [lib] name = "ant_libp2p_gossipsub" path = "src/lib.rs" [[test]] name = "smoke" path = "tests/smoke.rs" [dependencies.ant-libp2p-core] version = "0.42.1" [dependencies.ant-libp2p-swarm] version = "0.45.2" [dependencies.async-channel] version = "2.3.1" [dependencies.asynchronous-codec] version = "0.7.0" [dependencies.base64] version = "0.22.1" [dependencies.byteorder] version = "1.5.0" [dependencies.bytes] version = "1.6" [dependencies.either] version = "1.11" [dependencies.fnv] version = "1.0.7" [dependencies.futures] version = "0.3.30" [dependencies.futures-timer] version = "3.0.2" [dependencies.getrandom] version = "0.2.15" [dependencies.hex_fmt] version = "0.3.0" [dependencies.libp2p-identity] version = "0.2.10" features = ["rand"] [dependencies.prometheus-client] version = "0.22.2" [dependencies.quick-protobuf] version = "0.8" [dependencies.quick-protobuf-codec] version = "0.3.1" [dependencies.rand] version = "0.8" [dependencies.regex] version = "1.10.5" [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.sha2] version = "0.10.8" [dependencies.smallvec] version = "1.13.2" [dependencies.tracing] version = "0.1.37" [dependencies.web-time] version = "1.1.0" [dev-dependencies.ant-libp2p-core] version = "0.42.1" [dev-dependencies.ant-libp2p-noise] version = "0.45.1" [dev-dependencies.ant-libp2p-yamux] version = "0.46.0" [dev-dependencies.hex] version = "0.4.2" [dev-dependencies.tokio] version = "1.38" features = [ "rt", "rt-multi-thread", "time", "macros", ] default-features = false [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [features] wasm-bindgen = [ "getrandom/js", "futures-timer/wasm-bindgen", ] [lints.clippy] dbg_macro = "warn" manual_let_else = "warn" type_complexity = "allow" unnecessary_wraps = "warn" used_underscore_binding = "warn" [lints.clippy.pedantic] level = "allow" priority = -1 [lints.rust] unreachable_pub = "warn"