46 lines
1 KiB
TOML
46 lines
1 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"
|
|
reqwest = { version = "0.12.15", features = ["json"] }
|
|
web-sys = { version = "0.3.77", features = [
|
|
"AudioBuffer",
|
|
"AudioBufferSourceNode",
|
|
"AudioContext",
|
|
"HtmlAudioElement",
|
|
"MediaDevices",
|
|
"MediaStream",
|
|
"MediaStreamConstraints",
|
|
"MediaStreamTrack",
|
|
"MediaTrackConstraints",
|
|
"MediaTrackConstraintSet",
|
|
"Navigator",
|
|
"RtcConfiguration",
|
|
"RtcIceServer",
|
|
"RtcPeerConnection",
|
|
# "RtcSdpType",
|
|
"RtcSessionDescription",
|
|
"RtcSessionDescriptionInit",
|
|
"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"
|