audio-cpp 0.1.1

audio.cpp(ggml 音频推理引擎)的高层安全 Rust 封装
# 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 = "2024"
name = "audio-cpp"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "audio.cpp(ggml 音频推理引擎)的高层安全 Rust 封装"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/launcher-rs/audio-cpp-rs"

[features]
core-models = ["audio-cpp-sys/core-models"]
cuda = ["audio-cpp-sys/cuda"]
custom-models = ["audio-cpp-sys/custom-models"]
default = ["core-models"]
full-models = ["audio-cpp-sys/full-models"]
hip = ["audio-cpp-sys/hip"]
metal = ["audio-cpp-sys/metal"]
model-citrinet-asr = ["audio-cpp-sys/model-citrinet-asr"]
model-demucs = ["audio-cpp-sys/model-demucs"]
model-fish-audio = ["audio-cpp-sys/model-fish-audio"]
model-fun-asr-nano = ["audio-cpp-sys/model-fun-asr-nano"]
model-hviske-asr = ["audio-cpp-sys/model-hviske-asr"]
model-irodori-tts = ["audio-cpp-sys/model-irodori-tts"]
model-kroko-asr = ["audio-cpp-sys/model-kroko-asr"]
model-moss = ["audio-cpp-sys/model-moss"]
model-nemotron-asr = ["audio-cpp-sys/model-nemotron-asr"]
model-parakeet-tdt = ["audio-cpp-sys/model-parakeet-tdt"]
model-qwen3-asr = ["audio-cpp-sys/model-qwen3-asr"]
model-qwen3-tts = ["audio-cpp-sys/model-qwen3-tts"]
model-roformer = ["audio-cpp-sys/model-roformer"]
model-sortformer-diar = ["audio-cpp-sys/model-sortformer-diar"]
model-vibevoice-asr = ["audio-cpp-sys/model-vibevoice-asr"]
native = ["audio-cpp-sys/native"]
openmp = ["audio-cpp-sys/openmp"]
vulkan = ["audio-cpp-sys/vulkan"]

[lib]
name = "audio_cpp"
path = "src/lib.rs"

[[example]]
name = "asr_offline"
path = "examples/asr_offline.rs"

[[example]]
name = "asr_streaming"
path = "examples/asr_streaming.rs"

[[example]]
name = "diar_offline"
path = "examples/diar_offline.rs"

[[example]]
name = "registry_inspect"
path = "examples/registry_inspect.rs"

[[example]]
name = "sep_offline"
path = "examples/sep_offline.rs"

[[example]]
name = "tts_offline"
path = "examples/tts_offline.rs"

[[example]]
name = "tts_offline_qwen3"
path = "examples/tts_offline_qwen3.rs"

[[example]]
name = "tts_streaming"
path = "examples/tts_streaming.rs"

[[example]]
name = "vad_offline"
path = "examples/vad_offline.rs"

[[example]]
name = "vad_streaming"
path = "examples/vad_streaming.rs"

[dependencies.audio-cpp-sys]
version = "0.1.1"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"