Add support for new whisper.cpp project structure
Remove opencl feature, removed in whisper.cpp Add openmp feature and enable by default as in whisper.cpp Update bindings
This commit is contained in:
parent
744804a8aa
commit
ec609f18ff
10 changed files with 164 additions and 371 deletions
|
|
@ -4,7 +4,7 @@ exclude = ["examples/full_usage"]
|
|||
|
||||
[package]
|
||||
name = "whisper-rs"
|
||||
version = "0.12.1"
|
||||
version = "0.13.0"
|
||||
edition = "2021"
|
||||
description = "Rust bindings for whisper.cpp"
|
||||
license = "Unlicense"
|
||||
|
|
@ -14,7 +14,7 @@ repository = "https://github.com/tazz4843/whisper-rs"
|
|||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
whisper-rs-sys = { path = "sys", version = "0.10.1" }
|
||||
whisper-rs-sys = { path = "sys", version = "0.11.0" }
|
||||
log = { version = "0.4", optional = true }
|
||||
tracing = { version = "0.1", optional = true }
|
||||
|
||||
|
|
@ -23,19 +23,19 @@ hound = "3.5.0"
|
|||
rand = "0.8.4"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
default = ["openmp"]
|
||||
|
||||
raw-api = []
|
||||
coreml = ["whisper-rs-sys/coreml"]
|
||||
cuda = ["whisper-rs-sys/cuda", "_gpu"]
|
||||
hipblas = ["whisper-rs-sys/hipblas", "_gpu"]
|
||||
opencl = ["whisper-rs-sys/opencl"]
|
||||
openblas = ["whisper-rs-sys/openblas"]
|
||||
metal = ["whisper-rs-sys/metal", "_gpu"]
|
||||
_gpu = []
|
||||
test-with-tiny-model = []
|
||||
whisper-cpp-log = ["dep:log"]
|
||||
whisper-cpp-tracing = ["dep:tracing"]
|
||||
openmp = ["whisper-rs-sys/openmp"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
features = ["simd"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue