[package]
name = "sherpa-rs-sys"
version = "0.5.2-beta.0"
edition = "2021"
authors = ["thewh1teagle"]
homepage = "https://github.com/thewh1teagle/sherpa-rs"
repository = "https://github.com/thewh1teagle/sherpa-rs"
license = "MIT"
description = "Rust bindings to https://github.com/k2-fsa/sherpa-onnx"
keywords = [
"audio",
"embeddings",
"speech-recognition",
"sherpa",
"diarization",
]
include = [
"sherpa-onnx/sherpa-onnx/c-api",
"sherpa-onnx/sherpa-onnx/CMakeLists.txt",
"sherpa-onnx/sherpa-onnx/csrc",
"sherpa-onnx/sherpa-onnx/jni",
"sherpa-onnx/cmake",
"sherpa-onnx/toolchains",
"sherpa-onnx/c-api-examples",
"sherpa-onnx/android",
"sherpa-onnx/CMakeLists.txt",
"sherpa-onnx/LICENSE",
"sherpa-onnx/.clang*",
"src/",
"build.rs",
"wrapper.h",
"dist.json",
"checksum.txt",
]
[build-dependencies]
bindgen = "0.69.4"
cmake = "0.1"
glob = "0.3.1"
lazy_static = { version = "1.5.0" }
ureq = { version = "2.1", optional = true, default-features = false, features = [
"tls",
"socks-proxy",
] }
tar = { version = "0.4", optional = true }
bzip2 = { version = "0.4.4", optional = true, features = ["static"] }
flate2 = { version = "1.0", optional = true }
sha2 = { version = "0.10", optional = true }
dirs = { version = "5.0.1", optional = true }
serde_json = { version = "1.0.134", optional = true }
serde = { version = "1.0.216", features = ["derive"], optional = true }
[features]
default = ["download-binaries"]
download-binaries = [
"dep:ureq",
"dep:tar",
"dep:bzip2",
"dep:flate2",
"dep:sha2",
"dep:dirs",
"dep:serde_json",
"dep:serde",
]
static = []
tts = []
cuda = []
directml = []