whisper.cpp from 73e33a182c3e608ac5947375b4ca3f8ee0ad4253 and patched to support
This commit is contained in:
48
sys/Cargo.toml
Normal file
48
sys/Cargo.toml
Normal file
@@ -0,0 +1,48 @@
|
||||
[package]
|
||||
name = "whisper-rs-sys"
|
||||
version = "0.7.3"
|
||||
edition = "2021"
|
||||
description = "Rust bindings for whisper.cpp (FFI bindings)"
|
||||
license = "Unlicense"
|
||||
documentation = "https://docs.rs/whisper-rs-sys"
|
||||
repository = "https://github.com/tazz4843/whisper-rs"
|
||||
links = "whisper"
|
||||
include = [
|
||||
"whisper.cpp/bindings/javascript/package-tmpl.json",
|
||||
"whisper.cpp/bindings/CMakeLists.txt",
|
||||
"whisper.cpp/cmake",
|
||||
"whisper.cpp/coreml",
|
||||
"whisper.cpp/CMakeLists.txt",
|
||||
"whisper.cpp/ggml.c",
|
||||
"whisper.cpp/ggml.h",
|
||||
"whisper.cpp/ggml-opencl.c",
|
||||
"whisper.cpp/ggml-opencl.h",
|
||||
"whisper.cpp/ggml-cuda.cu",
|
||||
"whisper.cpp/ggml-cuda.h",
|
||||
"whisper.cpp/ggml-alloc.h",
|
||||
"whisper.cpp/ggml-alloc.c",
|
||||
"whisper.cpp/ggml-metal.metal",
|
||||
"whisper.cpp/ggml-metal.m",
|
||||
"whisper.cpp/ggml-metal.h",
|
||||
"whisper.cpp/LICENSE",
|
||||
"whisper.cpp/whisper.cpp",
|
||||
"whisper.cpp/whisper.h",
|
||||
"src/*.rs",
|
||||
"build.rs",
|
||||
"wrapper.h",
|
||||
]
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[features]
|
||||
coreml = []
|
||||
cuda = []
|
||||
opencl = []
|
||||
openblas = []
|
||||
metal = []
|
||||
|
||||
[build-dependencies]
|
||||
cmake = "0.1"
|
||||
bindgen = "0.68"
|
||||
cfg-if = "1"
|
||||
fs_extra = "1.3"
|
||||
Reference in New Issue
Block a user