# 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 = "libp2p-webrtc" version = "0.8.0-alpha" authors = ["Parity Technologies "] description = "WebRTC transport for libp2p" keywords = [ "peer-to-peer", "libp2p", "networking", ] categories = [ "network-programming", "asynchronous", ] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" [package.metadata.docs.rs] all-features = true [[test]] name = "smoke" required-features = ["tokio"] [dependencies.async-trait] version = "0.1" [dependencies.bytes] version = "1" [dependencies.futures] version = "0.3.30" [dependencies.futures-timer] version = "3" [dependencies.hex] version = "0.4" [dependencies.if-watch] version = "3.2" [dependencies.libp2p-core] version = "0.42.0" [dependencies.libp2p-identity] version = "0.2.9" [dependencies.libp2p-noise] version = "0.44.0" [dependencies.libp2p-webrtc-utils] version = "0.2.1" [dependencies.multihash] version = "0.19.1" [dependencies.rand] version = "0.8" [dependencies.rcgen] version = "0.11.3" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.stun] version = "0.6" [dependencies.thiserror] version = "1" [dependencies.tinytemplate] version = "1.2" [dependencies.tokio] version = "1.38" features = ["net"] optional = true default-features = false [dependencies.tokio-util] version = "0.7" features = ["compat"] optional = true [dependencies.tracing] version = "0.1.37" [dependencies.webrtc] version = "0.9.0" optional = true [dev-dependencies.libp2p-identity] version = "0.2.9" features = ["rand"] [dev-dependencies.quickcheck] version = "1.0.3" [dev-dependencies.tokio] version = "1.38" features = ["full"] default-features = false [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [features] pem = ["webrtc?/pem"] tokio = [ "dep:tokio", "dep:tokio-util", "dep:webrtc", "if-watch/tokio", ] [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"