76 lines
1.5 KiB
TOML
76 lines
1.5 KiB
TOML
[package]
|
|
name = "niom-webrtc"
|
|
version = "0.1.0"
|
|
authors = ["ghost <ma-koenig@gmx.net>"]
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
# Dioxus Framework
|
|
dioxus = { version = "0.7", features = ["web"] }
|
|
dioxus-logger = "0.7"
|
|
console_error_panic_hook = "0.1.7"
|
|
|
|
# WebAssembly and Browser APIs
|
|
wasm-bindgen = "0.2.84"
|
|
wasm-bindgen-futures = "0.4.28"
|
|
js-sys = "0.3.61"
|
|
|
|
# web-sys with features for media devices
|
|
web-sys = { version = "0.3.77", features = [
|
|
"BinaryType",
|
|
"ErrorEvent",
|
|
"Navigator",
|
|
"Clipboard",
|
|
"MediaDevices",
|
|
"MediaStream",
|
|
"MediaStreamConstraints",
|
|
"MediaStreamTrack",
|
|
"MediaTrackSettings",
|
|
"MediaTrackConstraints",
|
|
"AudioContext",
|
|
"HtmlAudioElement",
|
|
"HtmlMediaElement",
|
|
"RtcPeerConnection",
|
|
"RtcConfiguration",
|
|
"RtcIceServer",
|
|
"RtcIceCandidate",
|
|
"RtcIceCandidateInit",
|
|
"RtcSdpType",
|
|
"RtcSessionDescription",
|
|
"RtcSessionDescriptionInit",
|
|
"RtcSignalingState",
|
|
"RtcOfferOptions",
|
|
"RtcAnswerOptions"
|
|
]}
|
|
|
|
# Logging and Tracing
|
|
tracing = "0.1"
|
|
log = "0.4.27"
|
|
console_log = "1.0.0"
|
|
|
|
# Serialization
|
|
serde = { version = "1.0.142", features = ["derive"] }
|
|
serde_json = "1.0.100"
|
|
futures = "0.3.31"
|
|
gloo-net = "0.6"
|
|
gloo-timers = { version = "0.3", features = ["futures"] }
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.6"
|
|
|
|
[features]
|
|
default = ["web"]
|
|
web = ["dioxus/web"]
|
|
desktop = ["dioxus/desktop"]
|
|
mobile = ["dioxus/mobile"]
|
|
|
|
[profile.wasm-dev]
|
|
inherits = "dev"
|
|
opt-level = 1
|
|
|
|
[profile.server-dev]
|
|
inherits = "dev"
|
|
|
|
[profile.android-dev]
|
|
inherits = "dev"
|