# 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 = "pitch-detector" version = "0.3.1" exclude = [ "test_data/*", ".github/*", ".vscode/*", ] description = "A frequency and note detector library written in Rust." readme = "README.md" keywords = [ "pitch", "detection", "frequency", "note", ] categories = ["multimedia::audio"] license = "MIT" repository = "https://github.com/mherrerarendon/pitch-detector" resolver = "2" [lib] name = "pitch_detector" path = "src/lib.rs" [[example]] name = "spectrum_plot" required-features = [ "test_utils", "plot", ] [[example]] name = "basic_usage" required-features = ["hinted"] [[bench]] name = "bench_pitch_detectors" harness = false [dependencies.anyhow] version = "1.0.52" [dependencies.apodize] version = "1.0.0" [dependencies.fitting] version = "0.3.0" [dependencies.float-cmp] version = "0.9.0" optional = true [dependencies.itertools] version = "0.10.3" [dependencies.num-traits] version = "0.2" default-features = false [dependencies.peak_finder] version = "1.0.1" optional = true [dependencies.plotters] version = "0.3.1" optional = true [dependencies.rustfft] version = "6.0.1" [dependencies.serde] version = "1.0.133" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0.74" optional = true [dev-dependencies.criterion] version = "0.3.5" [dev-dependencies.float-cmp] version = "0.9.0" [dev-dependencies.plotters] version = "0.3.1" [dev-dependencies.serde] version = "1.0.133" features = ["derive"] [dev-dependencies.serde_json] version = "1.0.74" [features] hinted = ["peak_finder"] plot = ["plotters"] test_utils = [ "serde", "serde_json", "float-cmp", ]