# 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 = "matchbox_socket" version = "0.10.0" authors = ["Johan Helsing "] description = "Painless WebRTC peer-to-peer full-mesh networking socket" readme = "README.md" keywords = [ "gamedev", "webrtc", "peer-to-peer", "networking", "wasm", ] categories = [ "network-programming", "game-development", "wasm", "web-programming", ] license = "MIT OR Apache-2.0" repository = "https://github.com/johanhelsing/matchbox" [dependencies.async-trait] version = "0.1" [dependencies.bincode] version = "1.3" optional = true default-features = false [dependencies.cfg-if] version = "1.0" [dependencies.derive_more] version = "0.99" [dependencies.futures] version = "0.3" default-features = false [dependencies.futures-channel] version = "0.3" features = ["sink"] default-features = false [dependencies.futures-timer] version = "3.0" default-features = false [dependencies.futures-util] version = "0.3" features = [ "sink", "async-await-macro", "channel", ] default-features = false [dependencies.ggrs] version = "0.10" optional = true default-features = false [dependencies.log] version = "0.4" default-features = false [dependencies.matchbox_protocol] version = "0.10" default-features = false [dependencies.once_cell] version = "1.17" features = [ "race", "alloc", ] default-features = false [dependencies.serde] version = "1.0" features = ["derive"] default-features = false [dependencies.serde_json] version = "1.0" features = ["alloc"] default-features = false [dependencies.thiserror] version = "1.0" [dev-dependencies.futures-test] version = "0.3" [features] ggrs = [ "dep:bincode", "dep:ggrs", ] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.async-compat] version = "0.2" default-features = false [target."cfg(not(target_arch = \"wasm32\"))".dependencies.async-tungstenite] version = "0.26" features = [ "async-std-runtime", "async-tls", ] default-features = false [target."cfg(not(target_arch = \"wasm32\"))".dependencies.bytes] version = "1.1" default-features = false [target."cfg(not(target_arch = \"wasm32\"))".dependencies.webrtc] version = "0.11" default-features = false [target."cfg(target_arch = \"wasm32\")".dependencies.futures-timer] version = "3.0" features = ["wasm-bindgen"] default-features = false [target."cfg(target_arch = \"wasm32\")".dependencies.ggrs] version = "0.10" features = ["wasm-bindgen"] optional = true default-features = false [target."cfg(target_arch = \"wasm32\")".dependencies.js-sys] version = "0.3" default-features = false [target."cfg(target_arch = \"wasm32\")".dependencies.serde-wasm-bindgen] version = "0.6" [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen] version = "0.2" default-features = false [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen-futures] version = "0.4" default-features = false [target."cfg(target_arch = \"wasm32\")".dependencies.web-sys] version = "0.3.22" features = [ "MessageEvent", "RtcConfiguration", "RtcDataChannel", "RtcDataChannelInit", "RtcDataChannelType", "RtcIceCandidate", "RtcIceCandidateInit", "RtcIceConnectionState", "RtcIceGatheringState", "RtcPeerConnection", "RtcPeerConnectionIceEvent", "RtcSdpType", "RtcSessionDescription", "RtcSessionDescriptionInit", ] default-features = false [target."cfg(target_arch = \"wasm32\")".dependencies.ws_stream_wasm] version = "0.7" default-features = false