# 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-websys" version = "0.4.0-alpha" authors = ["Doug Anderson "] publish = true description = "WebRTC for libp2p under WASM environment" readme = "README.md" keywords = [ "libp2p", "networking", "peer-to-peer", ] categories = [ "asynchronous", "network-programming", "wasm", "web-programming", ] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" [dependencies.bytes] version = "1" [dependencies.futures] version = "0.3.30" [dependencies.getrandom] version = "0.2.15" features = ["js"] [dependencies.hex] version = "0.4.3" [dependencies.js-sys] version = "0.3" [dependencies.libp2p-core] version = "0.42.0" [dependencies.libp2p-identity] version = "0.2.9" [dependencies.libp2p-webrtc-utils] version = "0.2.1" [dependencies.send_wrapper] version = "0.6.0" features = ["futures"] [dependencies.thiserror] version = "1" [dependencies.tracing] version = "0.1.37" [dependencies.wasm-bindgen] version = "0.2.90" [dependencies.wasm-bindgen-futures] version = "0.4.42" [dependencies.web-sys] version = "0.3.69" features = [ "Document", "Location", "MessageEvent", "Navigator", "RtcCertificate", "RtcConfiguration", "RtcDataChannel", "RtcDataChannelEvent", "RtcDataChannelInit", "RtcDataChannelState", "RtcDataChannelType", "RtcPeerConnection", "RtcSdpType", "RtcSessionDescription", "RtcSessionDescriptionInit", "Window", ] [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"