kael_audio 0.4.1

Cross-platform audio playback, capture, mixing, DSP, and spatial services for Kael
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.97.1"
name = "kael_audio"
version = "0.4.1"
authors = ["Augustus Otu"]
build = false
exclude = ["examples/"]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform audio playback, capture, mixing, DSP, and spatial services for Kael"
homepage = "https://augani.github.io/kael/"
documentation = "https://docs.rs/kael_audio"
readme = "README.md"
keywords = [
    "audio",
    "playback",
    "sound",
    "kael",
]
categories = ["multimedia::audio"]
license = "Apache-2.0"
repository = "https://github.com/Augani/kael"
resolver = "2"

[package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu"
targets = ["wasm32-unknown-unknown"]

[features]
browser = []
default = ["native"]
native = []

[lib]
name = "kael_audio"
path = "src/lib.rs"

[dependencies.anyhow]
version = "1.0.86"

[dependencies.log]
version = "0.4.16"

[dependencies.parking_lot]
version = "0.12.1"

[dependencies.url]
version = "2.2"

[dev-dependencies.futures]
version = "0.3"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.cpal]
version = "0.15"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.crossbeam-channel]
version = "0.5"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.kael_media]
version = "0.4.0"
features = ["native-media"]
default-features = false
package = "kael-media"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.smol]
version = "2.0"

[target.'cfg(target_arch = "wasm32")'.dependencies.futures-channel]
version = "0.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.kael_media]
version = "0.4.0"
features = ["native-media"]
default-features = false
package = "kael-media"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
    "AudioContext",
    "AudioContextOptions",
    "AudioContextState",
    "AudioDestinationNode",
    "AudioNode",
    "AudioWorklet",
    "AudioWorkletNode",
    "AudioWorkletNodeOptions",
    "BaseAudioContext",
    "Blob",
    "BlobPropertyBag",
    "Document",
    "Element",
    "Event",
    "EventTarget",
    "HtmlAudioElement",
    "HtmlMediaElement",
    "Location",
    "MediaDeviceInfo",
    "MediaDeviceKind",
    "MediaDevices",
    "MediaError",
    "MediaStream",
    "MediaStreamAudioSourceNode",
    "MediaStreamConstraints",
    "MediaStreamTrack",
    "MessageEvent",
    "MessagePort",
    "Navigator",
    "Url",
    "Window",
    "Worklet",
]

[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3"

[lints.clippy]
dbg_macro = "deny"
declare_interior_mutable_const = "deny"
disallowed_methods = "deny"
large_enum_variant = "allow"
let_underscore_future = "allow"
nonminimal_bool = "allow"
redundant_clone = "deny"
single_range_in_vec_init = "allow"
todo = "deny"
too_many_arguments = "allow"
type_complexity = "allow"

[lints.clippy.style]
level = "allow"
priority = -1

[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0