|
1
|
[package] |
|
2
|
name = "onde-ruby" |
|
3
|
version = "0.1.0" |
|
4
|
edition = "2021" |
|
5
|
authors = ["Seto Elkahfi <setoelkahfi@gmail.com>"] |
|
6
|
publish = false |
|
7
|
|
|
8
|
[lib] |
|
9
|
name = "onde_ruby" |
|
10
|
crate-type = ["cdylib"] |
|
11
|
|
|
12
|
[dependencies] |
|
13
|
magnus = { version = "0.7" } |
|
14
|
serde = { version = "1.0", features = ["derive"] } |
|
15
|
serde_json = "1" |
|
16
|
|
|
17
|
# The onde crate — referenced via relative path from the monorepo. |
|
18
|
# We only pull in the pure-Rust surface (hf_cache, inference::models, |
|
19
|
# inference::types) so we do NOT enable the `whisper` feature or any |
|
20
|
# platform-specific mistralrs re-exports that require GPU SDKs. |
|
21
|
# |
|
22
|
# NOTE: onde's Cargo.toml gates mistralrs behind cfg(target_os = …) so on |
|
23
|
# the host OS (macOS/Linux) it will be pulled in automatically. If this |
|
24
|
# causes build issues in CI, consider adding a `ruby` feature to the onde |
|
25
|
# crate that disables the heavy deps. |
|
26
|
onde = { path = "../../../", default-features = false } |