[package]
edition = "2021"
name = "onde"
version = "0.1.8"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "On-device inference engine for Apple silicon."
homepage = "https://ondeinference.com"
documentation = "https://docs.rs/onde"
readme = "README.md"
keywords = [
"inference",
"on-device",
"chat",
"llm",
"mistral",
]
categories = [
"artificial-intelligence",
"api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ondeinference/onde"
[lib]
name = "onde"
crate-type = [
"lib",
"cdylib",
"staticlib",
]
path = "src/lib.rs"
[dependencies.anyhow]
version = "1"
[dependencies.home]
version = "0.5.4"
[dependencies.log]
version = "^0.4"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.smbcloud-gresiq-sdk]
version = "0.3"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
"sync",
]
[dependencies.tsync]
version = "2"
[dependencies.uniffi]
version = "=0.31.0"
features = ["tokio"]
[build-dependencies.cc]
version = "1"
[build-dependencies.dotenvy]
version = "0.15"
[build-dependencies.uniffi]
version = "=0.31.0"
features = ["build"]
[target.'cfg(target_os = "android")'.dependencies.hf-hub]
version = "0.4"
features = [
"tokio",
"rustls-tls",
]
default-features = false
[target.'cfg(target_os = "android")'.dependencies.mistralrs]
version = "0.8.2"
features = []
package = "onde-mistralrs"
[target.'cfg(target_os = "android")'.dependencies.mistralrs-core]
version = "0.8.2"
features = []
package = "onde-mistralrs-core"
[target.'cfg(target_os = "ios")'.dependencies.hf-hub]
version = "0.4"
features = [
"tokio",
"rustls-tls",
]
default-features = false
[target.'cfg(target_os = "ios")'.dependencies.mistralrs]
version = "0.8.2"
features = ["metal"]
package = "onde-mistralrs"
[target.'cfg(target_os = "ios")'.dependencies.mistralrs-core]
version = "0.8.2"
features = ["metal"]
package = "onde-mistralrs-core"
[target.'cfg(target_os = "linux")'.dependencies.mistralrs]
version = "0.8.2"
package = "onde-mistralrs"
[target.'cfg(target_os = "macos")'.dependencies.mistralrs]
version = "0.8.2"
features = ["metal"]
package = "onde-mistralrs"
[target.'cfg(target_os = "tvos")'.dependencies.hf-hub]
version = "0.4"
features = [
"tokio",
"rustls-tls",
]
default-features = false
[target.'cfg(target_os = "tvos")'.dependencies.mistralrs]
version = "0.8.2"
features = ["metal"]
package = "onde-mistralrs"
[target.'cfg(target_os = "tvos")'.dependencies.mistralrs-core]
version = "0.8.2"
features = ["metal"]
package = "onde-mistralrs-core"
[target.'cfg(target_os = "visionos")'.dependencies.hf-hub]
version = "0.4"
features = [
"tokio",
"rustls-tls",
]
default-features = false
[target.'cfg(target_os = "visionos")'.dependencies.mistralrs]
version = "0.8.2"
features = ["metal"]
package = "onde-mistralrs"
[target.'cfg(target_os = "visionos")'.dependencies.mistralrs-core]
version = "0.8.2"
features = ["metal"]
package = "onde-mistralrs-core"
[target.'cfg(target_os = "watchos")'.dependencies.hf-hub]
version = "0.4"
features = [
"tokio",
"rustls-tls",
]
default-features = false
[target.'cfg(target_os = "watchos")'.dependencies.mistralrs]
version = "0.8.2"
features = ["metal"]
package = "onde-mistralrs"
[target.'cfg(target_os = "watchos")'.dependencies.mistralrs-core]
version = "0.8.2"
features = ["metal"]
package = "onde-mistralrs-core"
[target.'cfg(target_os = "windows")'.dependencies.mistralrs]
version = "0.8.2"
package = "onde-mistralrs"