[package]
edition = "2024"
rust-version = "1.92"
name = "dioxus-audio"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Audio recording, playback, analysis, and UI components for Dioxus"
homepage = "https://github.com/sagikazarmark/dioxus-audio"
readme = "README.md"
keywords = [
"dioxus",
"audio",
"microphone",
"waveform",
]
categories = [
"multimedia::audio",
"gui",
"wasm",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/sagikazarmark/dioxus-audio"
[lib]
name = "dioxus_audio"
path = "src/lib.rs"
[[test]]
name = "analysis"
path = "tests/analysis.rs"
[[test]]
name = "components"
path = "tests/components.rs"
[[test]]
name = "decoding"
path = "tests/decoding.rs"
[[test]]
name = "devices"
path = "tests/devices.rs"
[[test]]
name = "playback"
path = "tests/playback.rs"
[[test]]
name = "recorder"
path = "tests/recorder.rs"
[[test]]
name = "styles"
path = "tests/styles.rs"
[[test]]
name = "waveform"
path = "tests/waveform.rs"
[dependencies.dioxus]
version = "0.7"
features = ["lib"]
default-features = false
[dependencies.dioxus-icons]
version = "0.1"
[dev-dependencies.dioxus-ssr]
version = "0.7"
[dev-dependencies.wasm-bindgen-test]
version = "0.3"
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.gloo-timers]
version = "0.4"
features = ["futures"]
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.js-sys]
version = "0.3"
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.wasm-bindgen]
version = "0.2"
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.wasm-bindgen-futures]
version = "0.4"
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.web-sys]
version = "0.3"
features = [
"AnalyserNode",
"AudioBuffer",
"AudioContext",
"AudioContextState",
"AudioDestinationNode",
"AudioNode",
"AudioParam",
"BaseAudioContext",
"Blob",
"BlobEvent",
"BlobPropertyBag",
"ConstrainDomStringParameters",
"DomException",
"Document",
"Element",
"Event",
"EventTarget",
"HtmlAudioElement",
"HtmlMediaElement",
"GainNode",
"MediaDeviceInfo",
"MediaDeviceKind",
"MediaDevices",
"MediaError",
"MediaElementAudioSourceNode",
"MediaRecorder",
"MediaRecorderOptions",
"MediaStream",
"MediaStreamAudioSourceNode",
"MediaStreamConstraints",
"MediaStreamTrack",
"MediaStreamTrackState",
"MediaTrackConstraints",
"MediaTrackSettings",
"MediaTrackSupportedConstraints",
"Navigator",
"Performance",
"TimeRanges",
"Url",
"Window",
]