audiofp 0.3.0

Audio fingerprinting SDK: Wang, Panako, Haitsma–Kalker, neural (ONNX), watermark, streaming.
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"
rust-version = "1.85.0"
name = "audiofp"
version = "0.3.0"
authors = ["bravo1goingdark <kumarashutosh34169@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Audio fingerprinting SDK: Wang, Panako, Haitsma–Kalker, neural (ONNX), watermark, streaming."
readme = "README.md"
keywords = [
    "audio",
    "fingerprint",
    "dsp",
    "shazam",
    "panako",
]
categories = [
    "multimedia::audio",
    "algorithms",
    "no-std",
]
license = "MIT"
repository = "https://github.com/themankindproject/audiofp"

[features]
default = ["std"]
mimalloc = [
    "std",
    "dep:mimalloc",
]
neural = [
    "std",
    "dep:tract-onnx",
]
std = ["dep:symphonia"]
watermark = [
    "std",
    "dep:tract-onnx",
]

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

[[example]]
name = "compare_algorithms"
path = "examples/compare_algorithms.rs"
required-features = ["std"]

[[example]]
name = "enroll_file"
path = "examples/enroll_file.rs"
required-features = ["std"]

[[example]]
name = "hash_matcher"
path = "examples/hash_matcher.rs"
required-features = ["std"]

[[example]]
name = "match_two_files"
path = "examples/match_two_files.rs"
required-features = ["std"]

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

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

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

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

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

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

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

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

[dependencies.bytemuck]
version = "1.25.0"
features = ["derive"]

[dependencies.libm]
version = "0.2.16"

[dependencies.mimalloc]
version = "0.1.50"
optional = true
default-features = false

[dependencies.num-complex]
version = "0.4.6"
features = ["libm"]
default-features = false

[dependencies.num-traits]
version = "0.2.19"
features = ["libm"]
default-features = false

[dependencies.realfft]
version = "3.5.0"
default-features = false

[dependencies.symphonia]
version = "0.5.5"
features = [
    "mp3",
    "aac",
    "flac",
    "ogg",
    "vorbis",
    "wav",
    "isomp4",
    "pcm",
]
optional = true
default-features = false

[dependencies.thiserror]
version = "2.0.18"
default-features = false

[dependencies.tract-onnx]
version = "0.22.1"
optional = true

[dev-dependencies.approx]
version = "0.5.1"

[dev-dependencies.criterion]
version = "0.5"
features = [
    "plotters",
    "cargo_bench_support",
]
default-features = false

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

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