Skip to content

Commit

Permalink
feat: expose raw c bindings with sys feature
Browse files Browse the repository at this point in the history
  • Loading branch information
thewh1teagle committed Oct 20, 2024
1 parent 1aac2f1 commit 53723df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ clap = { version = "4.5.8", features = ["derive"] }
default = ["download-binaries", "tts"]
download-binaries = ["sherpa-rs-sys/download-binaries"]
static = ["sherpa-rs-sys/static"]
sys = []
tts = ["sherpa-rs-sys/tts"]
cuda = ["sherpa-rs-sys/cuda"]
directml = ["sherpa-rs-sys/directml"]
Expand Down
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ mod utils;
#[cfg(feature = "tts")]
pub mod tts;

#[cfg(feature = "sys")]
pub use sherpa_rs_sys;

use eyre::{bail, Result};

pub fn get_default_provider() -> String {
Expand Down

0 comments on commit 53723df

Please sign in to comment.