Skip to content

Commit

Permalink
Merge pull request #592 from Picovoice/v3.0-rust
Browse files Browse the repository at this point in the history
v3.0 rust
  • Loading branch information
ErisMik authored Oct 18, 2023
2 parents ed92410 + 3bd3cdc commit 41c1d51
Show file tree
Hide file tree
Showing 10 changed files with 229 additions and 97 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/rust-codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ jobs:
toolchain: stable
override: true

- name: Rust build binding
run: bash copy.sh && cargo build --verbose
working-directory: binding/rust

- name: Run clippy
run: cargo clippy -- -D warnings
working-directory: binding/rust
Expand All @@ -65,6 +69,10 @@ jobs:
toolchain: stable
override: true

- name: Rust build binding
run: bash copy.sh && cargo build --verbose
working-directory: binding/rust

- name: Run clippy
run: cargo clippy -- -D warnings
working-directory: demo/rust/filedemo
Expand All @@ -85,6 +93,10 @@ jobs:
profile: minimal
toolchain: stable
override: true

- name: Rust build binding
run: bash copy.sh && cargo build --verbose
working-directory: binding/rust

- name: Run clippy
run: cargo clippy -- -D warnings
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/rust-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ jobs:
profile: minimal
toolchain: stable
override: true

- name: Rust build binding
run: bash copy.sh && cargo build --verbose
working-directory: binding/rust

- name: Rust build micdemo
run: cargo build --verbose
Expand Down Expand Up @@ -89,6 +93,10 @@ jobs:
with:
toolchain: nightly
override: true

- name: Rust build binding
run: bash copy.sh && cargo build --verbose
working-directory: binding/rust

- name: Rust build micdemo
run: cargo build --verbose
Expand Down
2 changes: 1 addition & 1 deletion binding/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pv_rhino"
version = "2.2.1"
version = "3.0.0"
edition = "2018"
description = "The Rust bindings for Picovoice's Rhino library"
license = "Apache-2.0"
Expand Down
Loading

0 comments on commit 41c1d51

Please sign in to comment.