stringpitcher 0.1.3

Ultra low-latency pitch detection library for guitar and bass instruments
# 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.75"
name = "stringpitcher"
version = "0.1.3"
authors = ["Pablo Calofatti <pablo@calofatti.com>"]
build = "build.rs"
exclude = [
    "ios/",
    "android/",
    "bindings/",
    "apps/",
    ".github/",
    ".claude/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ultra low-latency pitch detection library for guitar and bass instruments"
homepage = "https://github.com/pablocalofatti/stringpitcher"
documentation = "https://docs.rs/pitchy"
readme = "README.md"
keywords = [
    "audio",
    "pitch-detection",
    "guitar",
    "tuner",
    "music",
]
categories = [
    "multimedia::audio",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/pablocalofatti/stringpitcher"

[features]
default = []
jni = ["dep:jni"]

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

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

[dependencies.jni]
version = "0.21"
optional = true

[dependencies.pitch-detection]
version = "0.3"

[dependencies.realfft]
version = "3.3"

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

[dependencies.serde_json]
version = "1.0"

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

[build-dependencies.cbindgen]
version = "0.26"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"

[profile.release-with-debug]
debug = 2
inherits = "release"