# 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_nostr" version = "0.6.4" authors = [ "Johan Helsing ", "stu ", ] description = "Painless WebRTC peer-to-peer full-mesh networking socket over nostr" 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/stum0/matchbox_nostr" [dependencies.async-trait] version = "0.1.64" [dependencies.bincode] version = "1.3" optional = true default-features = false [dependencies.cfg-if] version = "1.0" [dependencies.crossbeam-channel] version = "0.5" [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.9.3" optional = true default-features = false [dependencies.log] version = "0.4" default-features = false [dependencies.nostr] version = "0.21.0" [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" [dependencies.uuid] version = "1.3.1" [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.1" default-features = false [target."cfg(not(target_arch = \"wasm32\"))".dependencies.async-tungstenite] version = "0.21" 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.7" 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.9.3" 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.5" [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen] version = "0.2" features = ["serde-serialize"] 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