rust_webrtc/client/Cargo.toml

56 lines
1.2 KiB
TOML

[package]
name = "rust_communication_client"
version = "0.1.0"
edition = "2024"
[dependencies]
console_error_panic_hook = "0.1.7"
leptos = { version = "0.7.8", features = ["csr"] }
wasm-bindgen-futures = "0.4.50"
async-channel = "2.3.1"
reqwest = { version = "0.12.15", features = ["json"] }
web-sys = { version = "0.3.77", features = [
"AudioBuffer",
"AudioBufferSourceNode",
"AudioContext",
"BinaryType",
"ErrorEvent",
"MessageEvent",
"HtmlAudioElement",
"MediaDevices",
"MediaStream",
"MediaStreamConstraints",
"MediaStreamTrack",
"MediaTrackConstraints",
"MediaTrackConstraintSet",
"Navigator",
"RtcConfiguration",
"RtcIceCandidate",
"RtcIceCandidateInit",
"RtcIceConnectionState",
"RtcIceServer",
"RtcPeerConnection",
"RtcPeerConnectionIceEvent",
"RtcPeerConnectionState",
"RtcSdpType",
"RtcSessionDescription",
"RtcSessionDescriptionInit",
"WebSocket",
"Window",
] }
protocol = { path = "../protocol" }
serde = { workspace = true }
serde_json = { workspace = true }
chrono = { workspace = true }
[profile]
[profile.wasm-dev]
inherits = "dev"
opt-level = 1
[profile.server-dev]
inherits = "dev"
[profile.android-dev]
inherits = "dev"