[package]
edition = "2021"
name = "atome"
version = "0.8.0"
authors = ["Jonathan Stoff <JonathanLStoff@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An async, `cpal`-based audio engine for Rust. `atome` gives you a small, composable API for building real-time audio applications — sample playback, mixing, routing, and DSP graphs — without wrestling with platform audio callbacks, device enumeration, or buffer management yourself."
readme = "README.md"
keywords = [
"audio",
"async",
"engine",
"samples",
"decode",
]
categories = [
"multimedia::audio",
"multimedia::encoding",
]
license = "MIT"
repository = "https://github.com/jonathanlstoff/atome"
[features]
asio = ["cpal/asio"]
au = [
"dep:truce-rack-au",
"dep:truce-rack-core",
]
au3 = [
"dep:truce-rack-au3",
"dep:truce-rack-au",
"dep:truce-rack-core",
]
default = []
import = ["dep:symphonia"]
import-all = [
"import",
"import-he-aac",
"import-opus",
]
import-he-aac = [
"import",
"dep:symphonia-adapter-fdk-aac",
]
import-opus = [
"import",
"dep:symphonia-adapter-libopus",
]
plugins = [
"vst",
"vst3",
"au",
"au3",
]
vst = []
vst3 = [
"dep:truce-rack-vst3",
"dep:truce-rack-core",
]
[lib]
name = "atome"
path = "src/lib.rs"
[[example]]
name = "audio_engine1"
path = "examples/audio_engine1.rs"
[[example]]
name = "audio_engine2"
path = "examples/audio_engine2.rs"
[[example]]
name = "audio_engine3"
path = "examples/audio_engine3.rs"
[[example]]
name = "audio_engine4"
path = "examples/audio_engine4.rs"
[[example]]
name = "live_thru"
path = "examples/live_thru.rs"
[[example]]
name = "mix_sources"
path = "examples/mix_sources.rs"
[[example]]
name = "play_effects"
path = "examples/play_effects.rs"
[[example]]
name = "play_file"
path = "examples/play_file.rs"
[[test]]
name = "decode"
path = "tests/decode.rs"
[[test]]
name = "engine"
path = "tests/engine.rs"
[[test]]
name = "input"
path = "tests/input.rs"
[[test]]
name = "native_type"
path = "tests/native_type.rs"
[[test]]
name = "playback"
path = "tests/playback.rs"
[dependencies.atomic-queue]
version = "2.2.0"
[dependencies.cpal]
version = "0.18.1"
[dependencies.ringbuf]
version = "0.5.1"
[dependencies.symphonia]
version = "0.6.0"
features = [
"aac",
"aiff",
"alac",
"caf",
"flac",
"isomp4",
"mkv",
"mp3",
"ogg",
"pcm",
"vorbis",
"wav",
]
optional = true
default-features = false
[dependencies.symphonia-adapter-fdk-aac]
version = "0.2.0"
optional = true
[dependencies.symphonia-adapter-libopus]
version = "0.3.0"
optional = true
[dependencies.truce-rack-core]
version = "1.1.5"
optional = true
default-features = false
[dependencies.truce-rack-vst3]
version = "1.1.5"
optional = true
default-features = false
[target.'cfg(target_vendor = "apple")'.dependencies.truce-rack-au]
version = "1.1.5"
optional = true
default-features = false
[target.'cfg(target_vendor = "apple")'.dependencies.truce-rack-au3]
version = "1.1.5"
optional = true
default-features = false