sofar 0.3.0

Pure Rust SOFA/HRTF reader and renderer
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"
name = "sofar"
version = "0.3.0"
authors = ["Tomasz Andrzejak <andreiltd@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust SOFA/HRTF reader and renderer"
homepage = "https://github.com/andreiltd/sofar"
readme = "README.md"
keywords = [
    "libmysofa",
    "hrtf",
    "aes69",
]
categories = [
    "algorithms",
    "filesystem",
    "multimedia::audio",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/andreiltd/sofar"

[features]
default = [
    "dsp",
    "resample",
]
dsp = ["dep:realfft"]
resample = [
    "dep:rubato",
    "dep:audioadapter-buffers",
]

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

[[example]]
name = "renderer"
path = "examples/renderer.rs"
required-features = ["dsp"]

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

[[bench]]
name = "renderer"
path = "benches/renderer.rs"
harness = false
required-features = ["dsp"]

[dependencies.arrayvec]
version = "0.7.6"

[dependencies.audioadapter-buffers]
version = "2.0"
optional = true

[dependencies.bitflags]
version = "2.9.1"

[dependencies.log]
version = "0.4.27"

[dependencies.miniz_oxide]
version = "0.8.9"

[dependencies.realfft]
version = "3.4"
optional = true

[dependencies.rubato]
version = "1.0.1"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.winnow]
version = "0.7.11"

[dev-dependencies.anyhow]
version = "1.0"

[dev-dependencies.arc-swap]
version = "1"

[dev-dependencies.assert_approx_eq]
version = "1.1"

[dev-dependencies.cpal]
version = "0.17"

[dev-dependencies.criterion]
version = "0.5"

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

[dev-dependencies.rand]
version = "0.9"

[dev-dependencies.ringbuf]
version = "0.4"