| 1 | [package] |
| 2 | name = "onde-cli" |
| 3 | version = "0.4.3" |
| 4 | edition = "2024" |
| 5 | description = "Terminal UI to fine-tune model and manage your Onde Inference account." |
| 6 | license = "MIT OR Apache-2.0" |
| 7 | repository = "https://github.com/ondeinference/onde-cli" |
| 8 | homepage = "https://ondeinference.com/cli" |
| 9 | documentation = "https://docs.rs/onde-cli" |
| 10 | readme = "README.md" |
| 11 | keywords = ["onde", "cli", "tui", "auth", "inference"] |
| 12 | categories = ["command-line-utilities"] |
| 13 | authors = ["Seto Elkahfi <seto@ondeinference.com>"] |
| 14 | |
| 15 | [[bin]] |
| 16 | name = "onde" |
| 17 | path = "src/main.rs" |
| 18 | |
| 19 | [build-dependencies] |
| 20 | dotenvy = "0.15" |
| 21 | |
| 22 | [dependencies] |
| 23 | anyhow = "1" |
| 24 | crossterm = { version = "0.28", features = ["event-stream"] } |
| 25 | dirs = "5" |
| 26 | futures = "0.3" |
| 27 | log = "0.4" |
| 28 | ratatui = "0.29" |
| 29 | libc = "0.2" |
| 30 | reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "rustls-tls-native-roots"] } |
| 31 | tokio = { version = "1", features = ["rt-multi-thread", "macros", "io-std", "io-util", "sync", "time"] } |
| 32 | rmcp = { version = "2.2.0", features = ["server", "macros", "transport-io", "schemars"] } |
| 33 | schemars = "1" |
| 34 | smbcloud-auth-sdk = "0.3.34" |
| 35 | smbcloud-model = "0.3.35" |
| 36 | smbcloud-network = "0.3.35" |
| 37 | smbcloud-gresiq-sdk = "0.4.9" |
| 38 | candle-core = "0.10.2" |
| 39 | candle-nn = "0.10.2" |
| 40 | tokenizers = { version = "0.20", default-features = false, features = ["onig"] } |
| 41 | serde = { version = "1", features = ["derive"] } |
| 42 | serde_json = "1" |
| 43 | half = "2" |
| 44 | sha2 = "0.10" |
| 45 | # onde = { path = "../onde" } |
| 46 | onde = "1.2.2" |
| 47 | |
| 48 | # Metal and Accelerate are macOS-only frameworks; Cargo merges features so on |
| 49 | # macOS these are added on top of the base candle-core dep above. |
| 50 | [target.'cfg(target_os = "macos")'.dependencies] |
| 51 | candle-core = { version = "0.10.2", features = ["metal", "accelerate"] } |
| 52 | |
| 53 | # --------------------------------------------------------------------------- |
| 54 | # Local development overrides |
| 55 | # Uncomment the [patch.crates-io] block below to use path deps while working |
| 56 | # on the upstream crates alongside onde-cli. Never commit with this active. |
| 57 | # --------------------------------------------------------------------------- |
| 58 | # [patch.crates-io] |
| 59 | # smbcloud-auth-sdk = { path = "../smbcloud-cli/crates/smbcloud-auth-sdk" } |
| 60 | # smbcloud-model = { path = "../smbcloud-cli/crates/smbcloud-model" } |
| 61 | # smbcloud-network = { path = "../smbcloud-cli/crates/smbcloud-network" } |
| 62 | # smbcloud-gresiq-sdk = { path = "../smbcloud-cli/crates/smbcloud-gresiq-sdk" } |
| 63 | # candle-core = { path = "../candle/candle-core" } |
| 64 | # candle-nn = { path = "../candle/candle-nn" } |