# 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 = "wasm-peers" version = "0.4.1" authors = ["Tomasz Karwowski "] description = "Easy-to-use wrapper for WebRTC DataChannels peer-to-peer connections written in Rust and compiling to WASM." readme = "README.md" keywords = [ "wasm", "webrtc", "datachannel", "peer-to-peer", "webassembly", ] categories = [ "wasm", "network-programming", "web-programming", ] license = "MIT OR Apache-2.0" repository = "https://github.com/wasm-peers/wasm-peers" resolver = "1" [lib] crate-type = [ "cdylib", "rlib", ] [dependencies.console_error_panic_hook] version = "0.1" optional = true [dependencies.js-sys] version = "0.3" [dependencies.log] version = "0.4" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde-json-wasm] version = "0.4.1" [dependencies.uuid] version = "1" features = [ "v4", "js", ] [dependencies.wasm-bindgen] version = "0.2" features = ["serde-serialize"] [dependencies.wasm-bindgen-futures] version = "0.4" [dependencies.wasm-peers-protocol] version = "0.3" [dependencies.web-sys] version = "0.3.22" features = [ "console", "MessageEvent", "RtcPeerConnection", "RtcSignalingState", "RtcSdpType", "RtcSessionDescriptionInit", "RtcPeerConnectionIceEvent", "RtcIceConnectionState", "RtcIceCandidate", "RtcIceCandidateInit", "RtcDataChannel", "RtcDataChannelEvent", "RtcConfiguration", "RtcIceGatheringState", "RtcSessionDescription", "WebSocket", "BinaryType", ] [dev-dependencies.wasm-bindgen-test] version = "0.3" [features] default = [ "one-to-one", "one-to-many", "many-to-many", "console_error_panic_hook", ] many-to-many = ["one-to-many"] one-to-many = [] one-to-one = []