# 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 = "just-webrtc" version = "0.2.0" authors = ["Reece Kibble "] build = false exclude = [".git*"] autobins = false autoexamples = false autotests = false autobenches = false description = "Just simple, fast and easy WebRTC peers for both native and wasm" documentation = "https://docs.rs/just-webrtc" readme = "README.md" keywords = [ "webrtc", "peer", "wasm", "networking", "peer-to-peer", ] categories = [ "network-programming", "web-programming", "wasm", "game-development", ] license = "MIT OR Apache-2.0" repository = "https://github.com/uniciant/just-webrtc/tree/main/crates/just-webrtc" [lib] name = "just_webrtc" path = "src/lib.rs" [[test]] name = "data_channels" path = "tests/data_channels.rs" [dependencies.async_cell] version = "0.2" [dependencies.bytes] version = "1.5" [dependencies.flume] version = "0.11" features = ["async"] default-features = false [dependencies.log] version = "0.4" [dependencies.serde] version = "1.0" [dependencies.thiserror] version = "1.0" [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.console_log] version = "1.0" [dev-dependencies.pretty_env_logger] version = "0.5" [dev-dependencies.tokio] version = "1.36" features = [ "rt", "macros", ] [dev-dependencies.wasm-bindgen-test] version = "0.3" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.trait-variant] version = "0.1" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.webrtc] version = "0.11" [target.'cfg(target_arch = "wasm32")'.dependencies.js-sys] version = "0.3" [target.'cfg(target_arch = "wasm32")'.dependencies.serde-wasm-bindgen] version = "0.6" [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen] version = "0.2" [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures] version = "0.4" [target.'cfg(target_arch = "wasm32")'.dependencies.web-sys] version = "0.3" features = [ "MessageEvent", "RtcBundlePolicy", "RtcConfiguration", "RtcDataChannel", "RtcDataChannelEvent", "RtcDataChannelInit", "RtcDataChannelType", "RtcIceCandidate", "RtcIceCandidateInit", "RtcIceConnectionState", "RtcIceGatheringState", "RtcIceTransportPolicy", "RtcPeerConnection", "RtcPeerConnectionState", "RtcPeerConnectionIceEvent", "RtcSdpType", "RtcSessionDescription", "RtcSessionDescriptionInit", ] default-features = false