adaptif 0.1.0

Adaptive filters for digital signal processing.
# 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 = "adaptif"
version = "0.1.0"
authors = [
    "Ben Glidden <benjamin.h.glidden@gmail.com>",
    "Elias Naske <naske.elias@outlook.com>",
]
build = false
include = [
    "/src",
    "/examples",
    "/README.md",
    "/CONTRIBUTING.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Adaptive filters for digital signal processing."
readme = "README.md"
keywords = [
    "signal-processing",
    "dsp",
    "audio",
]
categories = [
    "algorithms",
    "mathematics",
    "multimedia",
    "multimedia::audio",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bglid/adaptif"

[package.metadata.docs.rs]
rustdoc-args = [
    "--html-in-header",
    "katex-header.html",
]

[features]
default = []
python = [
    "dep:pyo3",
    "dep:numpy",
]
serde = ["dep:serde"]

[lib]
name = "adaptif"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

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

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

[[example]]
name = "on-the-fly_adaptation"
path = "examples/on-the-fly_adaptation.rs"

[dependencies.num-traits]
version = "0.2.19"

[dependencies.numpy]
version = "0.30.0"
optional = true

[dependencies.pyo3]
version = "0.30.1"
features = ["multiple-pymethods"]
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

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

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

[dev-dependencies.rand_distr]
version = "0.6.0"

[lints.clippy]
absolute_paths = "allow"
allow_attributes = "allow"
arbitrary_source_item_ordering = "allow"
arithmetic_side_effects = "allow"
blanket_clippy_restriction_lints = "allow"
default_numeric_fallback = "allow"
error_impl_error = "allow"
exhaustive_structs = "allow"
expect_used = "allow"
float_arithmetic = "allow"
implicit_return = "allow"
integer_division_remainder_used = "allow"
let_underscore_untyped = "allow"
min_ident_chars = "allow"
missing_docs_in_private_items = "allow"
missing_inline_in_public_items = "allow"
missing_trait_methods = "allow"
mod_module_files = "allow"
must_use_candidate = "allow"
pub_use = "allow"
pub_with_shorthand = "allow"
question_mark_used = "allow"
rest_pattern_accessible_field = "allow"
separated_literal_suffix = "allow"
shadow_reuse = "allow"
single_call_fn = "allow"
single_char_lifetime_names = "allow"
std_instead_of_alloc = "allow"
std_instead_of_core = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.clippy.restriction]
level = "warn"
priority = -1

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tarpaulin_include)"]