# 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 = "kalosm-sound" version = "0.3.4" authors = ["Evan Almloff"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A set of pretrained audio models " readme = "README.md" keywords = [ "ai", "whisper", ] license = "MIT/Apache-2.0" repository = "https://github.com/floneum/floneum" [lib] name = "kalosm_sound" path = "src/lib.rs" [[example]] name = "denoise" path = "examples/denoise.rs" [[example]] name = "denoise_file" path = "examples/denoise_file.rs" [[example]] name = "transcribe" path = "examples/transcribe.rs" [[example]] name = "voice_activity_detection" path = "examples/voice_activity_detection.rs" [dependencies.anyhow] version = "1.0.70" [dependencies.async-trait] version = "0.1.73" [dependencies.byteorder] version = "1.4.3" [dependencies.candle-core] version = "0.6.0" [dependencies.candle-nn] version = "0.6.0" [dependencies.candle-transformers] version = "0.6.0" [dependencies.cpal] version = "0.15.1" [dependencies.dasp] version = "0.11.0" features = ["all"] [dependencies.futures-channel] version = "0.3.30" [dependencies.futures-core] version = "0.3.30" [dependencies.futures-util] version = "0.3.30" [dependencies.hound] version = "3.5" [dependencies.itertools] version = "0.10.5" [dependencies.kalosm-streams] version = "0.3.0" [dependencies.nnnoiseless] version = "0.5.1" optional = true [dependencies.ort] version = "=2.0.0-rc.4" optional = true [dependencies.rand] version = "0.8.5" [dependencies.rodio] version = "0.17.1" [dependencies.rwhisper] version = "0.3.0" [dependencies.serde_json] version = "1.0.107" [dependencies.tokenizers] version = "0.19.1" [dependencies.tokio] version = "1.32.0" features = ["full"] [dependencies.tracing] version = "0.1.37" [dependencies.voice_activity_detector] version = "0.1.0" features = ["async"] optional = true [dev-dependencies.kalosm] version = "0.3.0" features = ["sound"] [features] cuda = [ "candle-core/cuda", "rwhisper/cuda", "rwhisper/cudnn", ] default = [ "voice_detection", "denoise", ] denoise = ["dep:nnnoiseless"] metal = [ "candle-core/metal", "rwhisper/accelerate", "rwhisper/metal", ] mkl = [ "candle-core/mkl", "rwhisper/mkl", ] voice_detection = [ "dep:voice_activity_detector", "dep:ort", ]