stringpitcher 0.1.3

Ultra low-latency pitch detection library for guitar and bass instruments
[package]
name = "stringpitcher"
version = "0.1.3"
edition = "2021"
rust-version = "1.75"
description = "Ultra low-latency pitch detection library for guitar and bass instruments"
license = "MIT"
repository = "https://github.com/pablocalofatti/stringpitcher"
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"]
authors = ["Pablo Calofatti <pablo@calofatti.com>"]
exclude = ["ios/", "android/", "bindings/", "apps/", ".github/", ".claude/"]

[lib]
name = "stringpitcher"
crate-type = ["cdylib", "staticlib", "rlib"]

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

[dependencies]
# Pitch detection
pitch-detection = "0.3"

# FFT for frequency analysis
realfft = "3.3"

# Serialization for config persistence
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

# JNI bindings for Android (optional)
jni = { version = "0.21", optional = true }

[build-dependencies]
cbindgen = "0.26"

[dev-dependencies]
# Testing utilities
criterion = { version = "0.5", features = ["html_reports"] }

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

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

[[bench]]
name = "pitch_detection_bench"
harness = false