Update whisper.cpp to v1.5 and add all structs

This commit is contained in:
Niko 2023-11-16 18:56:50 -07:00
parent 73e33a182c
commit 8690d35deb
No known key found for this signature in database
GPG key ID: 3861E636EA1E0E2B
10 changed files with 4437 additions and 103 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "whisper-rs-sys"
version = "0.7.3"
version = "0.8.0"
edition = "2021"
description = "Rust bindings for whisper.cpp (FFI bindings)"
license = "Unlicense"
@ -43,6 +43,6 @@ metal = []
[build-dependencies]
cmake = "0.1"
bindgen = "0.68"
bindgen = "0.69"
cfg-if = "1"
fs_extra = "1.3"

View file

@ -78,7 +78,7 @@ fn main() {
let bindings = bindgen::Builder::default()
.header("wrapper.h")
.clang_arg("-I./whisper.cpp")
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
.generate();
match bindings {

File diff suppressed because it is too large Load diff

@ -1 +1 @@
Subproject commit 1b775cdd68843fcfe331fc32ceb0d915c73a3cbd
Subproject commit e8d5638b7c19e60cdf03d6928a0c8933cb31d2ad