[package]
edition = "2024"
rust-version = "1.85"
name = "rusty_esp_audio-core"
version = "0.1.1"
authors = ["Remade With Rust"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The pure no_std + alloc core of rusty_esp_audio: types, traits and algorithms with no drivers, no allocator and no product types. forbid(unsafe)."
homepage = "https://www.mata.network/"
documentation = "https://docs.rs/rusty_esp_audio-core"
readme = "README.md"
keywords = [
"esp32",
"embedded",
"no-std",
"mata",
"remade-with-rust",
]
categories = [
"embedded",
"no-std",
"hardware-support",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Remade-With-Rust/rusty_esp_audio"
[features]
alloc = [
"rusty_esp_core/alloc",
"rusty_esp_dsp/alloc",
]
default = ["std"]
flac = [
"alloc",
"dep:rusty_flac",
]
pie-s3 = [
"dep:rusty_esp_dsp-esp",
"rusty_esp_dsp-esp/pie-s3",
]
std = [
"alloc",
"rusty_esp_core/std",
"rusty_esp_dsp/std",
]
[lib]
name = "rusty_esp_audio_core"
path = "src/lib.rs"
[[test]]
name = "element_oracle"
path = "tests/element_oracle.rs"
[[test]]
name = "no_panic"
path = "tests/no_panic.rs"
[[test]]
name = "round_sat16_exhaustive"
path = "tests/round_sat16_exhaustive.rs"
[dependencies.embedded-hal]
version = "1.0"
[dependencies.libm]
version = "0.2"
default-features = false
[dependencies.rusty_esp_core]
version = "0.1"
default-features = false
[dependencies.rusty_esp_dsp]
version = "0.1"
default-features = false
[dependencies.rusty_esp_dsp-esp]
version = "0.1"
optional = true
default-features = false
[dependencies.rusty_flac]
version = "0.1.3"
features = ["libm"]
optional = true
default-features = false
[lints.clippy]
undocumented_unsafe_blocks = "deny"
[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"