[package] name = "niom-webrtc" version = "0.1.0" authors = ["ghost "] edition = "2021" [dependencies] # Dioxus Framework dioxus = { version = "0.6.0", features = ["web"] } dioxus-logger = "0.6.2" 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", "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" [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"