fixed-resample 0.10.0

An easy to use crate for resampling at a fixed ratio
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"
name = "fixed-resample"
version = "0.10.0"
authors = ["Billy Messenger <billydm@noreply.codeberg.org>"]
build = false
exclude = ["test_files/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An easy to use crate for resampling at a fixed ratio"
readme = "README.md"
keywords = [
    "audio",
    "resample",
    "resampler",
    "realtime",
    "samplerate",
]
categories = [
    "multimedia",
    "multimedia::audio",
]
license = "MIT"
repository = "https://codeberg.org/Meadowlark/fixed-resample"

[features]
channel = [
    "dep:ringbuf",
    "dep:audioadapter",
]
default = [
    "channel",
    "fft-resampler",
]
fft-resampler = [
    "resampler",
    "rubato?/fft_resampler",
]
resampler = ["dep:rubato"]

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

[[example]]
name = "channel"
path = "examples/channel.rs"

[[example]]
name = "cpal_loopback"
path = "examples/cpal_loopback.rs"

[[example]]
name = "network_chat"
path = "examples/network_chat.rs"

[[example]]
name = "resample_file"
path = "examples/resample_file.rs"

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

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

[dependencies.ringbuf]
version = "0.4.8"
optional = true

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

[dev-dependencies.clap]
version = "4.6.0"
features = ["derive"]

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

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

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

[dev-dependencies.spin_sleep]
version = "1.3.3"