From 4e7f0509bf52b69c07b5bd95a00386ddcfd70d2d Mon Sep 17 00:00:00 2001 From: thewh1teagle <61390950+thewh1teagle@users.noreply.github.com> Date: Wed, 25 Dec 2024 10:02:19 +0200 Subject: [PATCH] Feat/update sherpa rs (#60) * chore: update dependencies to version 0.5.2-beta.0 and modify included files * docs: clarify NDK_HOME path in BUILDING.md * feat: update sherpa-rs and sherpa-rs-sys to version 0.6.0 --- BUILDING.md | 2 +- Cargo.lock | 4 ++-- crates/sherpa-rs-sys/Cargo.toml | 5 +++-- crates/sherpa-rs/Cargo.toml | 6 +++--- examples/tauri-app/src-tauri/Cargo.lock | 4 ++-- 5 files changed, 11 insertions(+), 10 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index 96b9fb5..173ec52 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -227,7 +227,7 @@ You must install NDK from Android Studio settings. ```console rustup target add aarch64-linux-android cargo install cargo-ndk -export NDK_HOME="$HOME/Library/Android/sdk/ndk/27.0.12077973" +export NDK_HOME="$HOME/Library/Android/sdk/ndk/27.0.12077973" # ls $HOME/Library/Android/sdk/ndk/ cargo ndk -t arm64-v8a build --release ``` diff --git a/Cargo.lock b/Cargo.lock index eca83f6..6946ef0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -731,7 +731,7 @@ dependencies = [ [[package]] name = "sherpa-rs" -version = "0.5.1" +version = "0.6.0" dependencies = [ "clap", "eyre", @@ -742,7 +742,7 @@ dependencies = [ [[package]] name = "sherpa-rs-sys" -version = "0.5.1" +version = "0.6.0" dependencies = [ "bindgen", "bzip2", diff --git a/crates/sherpa-rs-sys/Cargo.toml b/crates/sherpa-rs-sys/Cargo.toml index 033bd9f..97bcdcc 100644 --- a/crates/sherpa-rs-sys/Cargo.toml +++ b/crates/sherpa-rs-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sherpa-rs-sys" -version = "0.5.1" +version = "0.6.0" edition = "2021" authors = ["thewh1teagle"] homepage = "https://github.com/thewh1teagle/sherpa-rs" @@ -30,7 +30,8 @@ include = [ "src/", "build.rs", "wrapper.h", - "dist.txt", + "dist.json", + "checksum.txt", ] [build-dependencies] diff --git a/crates/sherpa-rs/Cargo.toml b/crates/sherpa-rs/Cargo.toml index aa438ed..e4230ee 100644 --- a/crates/sherpa-rs/Cargo.toml +++ b/crates/sherpa-rs/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "sherpa-rs" -version = "0.5.1" +version = "0.6.0" edition = "2021" authors = ["thewh1teagle"] license = "MIT" repository = "https://github.com/thewh1teagle/sherpa-rs" description = "Rust bindings to https://github.com/k2-fsa/sherpa-onnx" -readme = "README.md" +readme = "../../README.md" keywords = [ "audio", "embeddings", @@ -21,7 +21,7 @@ crate-type = ["cdylib", "rlib"] [dependencies] eyre = "0.6.12" hound = { version = "3.5.1" } -sherpa-rs-sys = { path = "../sherpa-rs-sys", version = "0.5.1", default-features = false } +sherpa-rs-sys = { path = "../sherpa-rs-sys", version = "0.6.0", default-features = false } tracing = "0.1.40" [dev-dependencies] diff --git a/examples/tauri-app/src-tauri/Cargo.lock b/examples/tauri-app/src-tauri/Cargo.lock index 8d49891..9f51d39 100644 --- a/examples/tauri-app/src-tauri/Cargo.lock +++ b/examples/tauri-app/src-tauri/Cargo.lock @@ -3485,7 +3485,7 @@ dependencies = [ [[package]] name = "sherpa-rs" -version = "0.5.1" +version = "0.6.0" dependencies = [ "eyre", "hound", @@ -3495,7 +3495,7 @@ dependencies = [ [[package]] name = "sherpa-rs-sys" -version = "0.5.1" +version = "0.6.0" dependencies = [ "bindgen", "bzip2",