A high-performance inference engine for AI models
[package]
name = "shoji"
edition.workspace = true
rust-version.workspace = true
version.workspace = true
authors.workspace = true
homepage.workspace = true
repository.workspace = true
license.workspace = true
[lib]
crate-type = ["lib", "cdylib", "staticlib"]
[features]
default = []
bindings = [
"bindings-uniffi",
"bindings-napi",
"bindings-pyo3",
"bindings-wasm",
]
bindings-uniffi = ["bindings-types/bindings-uniffi", "dep:uniffi"]
bindings-napi = [
"bindings-types/bindings-napi",
"dep:napi",
"dep:napi-derive",
"dep:napi-build",
]
bindings-pyo3 = [
"bindings-types/bindings-pyo3",
"dep:pyo3",
"dep:pyo3-build-config",
"dep:pyo3-async-runtimes",
"dep:pyo3-stub-gen",
"dep:inventory",
]
bindings-wasm = [
"bindings-types/bindings-wasm",
"dep:wasm-bindgen",
"dep:wasm-bindgen-futures",
]
[dependencies]
bindings-types = { workspace = true, optional = true }
bindings.workspace = true
serde.workspace = true
serde_json.workspace = true
thiserror.workspace = true
indexmap.workspace = true
futures.workspace = true
tokio-util.workspace = true
hound.workspace = true
uniffi = { workspace = true, optional = true }
napi = { workspace = true, optional = true }
napi-derive = { workspace = true, optional = true }
pyo3 = { workspace = true, optional = true }
pyo3-async-runtimes = { workspace = true, optional = true }
pyo3-stub-gen = { workspace = true, optional = true }
inventory = { workspace = true, optional = true }
wasm-bindgen = { workspace = true, optional = true }
wasm-bindgen-futures = { workspace = true, optional = true }
tokenizers.workspace = true
[build-dependencies]
napi-build = { workspace = true, optional = true }
pyo3-build-config = { workspace = true, optional = true }
[lints]
workspace = true