ebur128-stream 0.2.0

Streaming, zero-allocation EBU R128 loudness measurement in pure Rust.
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 = "2021"
rust-version = "1.85"
name = "ebur128-stream"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Streaming, zero-allocation EBU R128 loudness measurement in pure Rust."
documentation = "https://docs.rs/ebur128-stream"
readme = "README.md"
keywords = [
    "audio",
    "dsp",
    "loudness",
    "ebur128",
    "bs1770",
]
categories = [
    "multimedia::audio",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/vanjamodrinjak21/ebur128-stream"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
alloc = []
cli = [
    "dep:hound",
    "std",
]
default = [
    "std",
    "alloc",
]
f64 = []
normalize = ["std"]
resampler = [
    "dep:rubato",
    "std",
]
serde = [
    "dep:serde",
    "bitflags/serde",
]
simd = [
    "dep:wide",
    "std",
]
std = ["alloc"]
svg = ["std"]
tokio = [
    "dep:futures-sink",
    "std",
]

[lib]
name = "ebur128_stream"
path = "src/lib.rs"
bench = false

[[bin]]
name = "lufs"
path = "src/bin/lufs.rs"
required-features = ["cli"]

[[example]]
name = "01_basic_lufs"
path = "examples/01_basic_lufs.rs"

[[example]]
name = "02_file_analysis"
path = "examples/02_file_analysis.rs"

[[example]]
name = "03_realtime_monitor"
path = "examples/03_realtime_monitor.rs"

[[example]]
name = "04_multichannel_5_1"
path = "examples/04_multichannel_5_1.rs"

[[example]]
name = "05_streaming_chunks"
path = "examples/05_streaming_chunks.rs"

[[example]]
name = "06_axum_endpoint"
path = "examples/06_axum_endpoint.rs"

[[test]]
name = "calibration"
path = "tests/calibration.rs"

[[test]]
name = "cross_validate"
path = "tests/cross_validate.rs"

[[test]]
name = "ebu_tech_3341"
path = "tests/ebu_tech_3341.rs"

[[test]]
name = "extended"
path = "tests/extended.rs"

[[test]]
name = "no_alloc"
path = "tests/no_alloc.rs"

[[test]]
name = "properties"
path = "tests/properties.rs"

[[bench]]
name = "throughput"
path = "benches/throughput.rs"
harness = false

[dependencies.bitflags]
version = "2"
default-features = false

[dependencies.futures-sink]
version = "0.3"
optional = true
default-features = false

[dependencies.hound]
version = "3"
optional = true

[dependencies.libm]
version = "0.2"
default-features = false

[dependencies.rubato]
version = "0.15"
optional = true
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
default-features = false

[dependencies.wide]
version = "0.7"
optional = true
default-features = false

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
default-features = false

[dev-dependencies.ebur128]
version = "0.1"

[dev-dependencies.hound]
version = "3"

[dev-dependencies.proptest]
version = "1"
features = ["std"]
default-features = false