# 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 = "sherpa-rs" version = "0.5.1" authors = ["thewh1teagle"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Rust bindings to https://github.com/k2-fsa/sherpa-onnx" readme = "README.md" keywords = [ "audio", "embeddings", "speech-recognition", "sherpa", "diarization", ] license = "MIT" repository = "https://github.com/thewh1teagle/sherpa-rs" [lib] name = "sherpa_rs" path = "src/lib.rs" [[example]] name = "audio_tag" path = "examples/audio_tag.rs" [[example]] name = "diarize" path = "examples/diarize.rs" [[example]] name = "keyword_spot" path = "examples/keyword_spot.rs" [[example]] name = "language_id" path = "examples/language_id.rs" [[example]] name = "punctuate" path = "examples/punctuate.rs" [[example]] name = "speaker_embedding" path = "examples/speaker_embedding.rs" [[example]] name = "speaker_id" path = "examples/speaker_id.rs" [[example]] name = "tts" path = "examples/tts.rs" required-features = ["tts"] [[example]] name = "vad" path = "examples/vad.rs" [[example]] name = "vad_segment" path = "examples/vad_segment.rs" [[example]] name = "vad_whisper" path = "examples/vad_whisper.rs" [[example]] name = "whisper" path = "examples/whisper.rs" [[example]] name = "zipformer" path = "examples/zipformer.rs" [dependencies.eyre] version = "0.6.12" [dependencies.hound] version = "3.5.1" [dependencies.sherpa-rs-sys] version = "0.5.1" default-features = false [dependencies.tracing] version = "0.1.40" [dev-dependencies.clap] version = "4.5.8" features = ["derive"] [features] cuda = ["sherpa-rs-sys/cuda"] default = [ "download-binaries", "tts", ] directml = ["sherpa-rs-sys/directml"] download-binaries = ["sherpa-rs-sys/download-binaries"] static = ["sherpa-rs-sys/static"] sys = [] tts = ["sherpa-rs-sys/tts"]