Skip to content

armgit / uzu

Public Imported from GitHub
0

A high-performance inference engine for AI models

2.5 KB
Raw Blame
[package]
name = "nagare"
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",
    "shoji/bindings-uniffi",
    "dep:async-trait",
    "dep:uniffi",
]
bindings-napi = [
    "bindings-types/bindings-napi",
    "shoji/bindings-napi",
    "dep:napi",
    "dep:napi-derive",
    "dep:napi-build",
]
bindings-pyo3 = [
    "bindings-types/bindings-pyo3",
    "shoji/bindings-pyo3",
    "dep:pyo3",
    "dep:pyo3-build-config",
    "dep:pyo3-async-runtimes",
    "dep:pyo3-stub-gen",
    "dep:inventory",
]
bindings-wasm = [
    "bindings-types/bindings-wasm",
    "shoji/bindings-wasm",
    "dep:wasm-bindgen",
    "dep:wasm-bindgen-futures",
]

[dependencies]
bindings-types = { workspace = true, optional = true }
bon.workspace = true
kiban.workspace = true
bindings.workspace = true
nagare-macros.workspace = true
shoji.workspace = true
hanashi.workspace = true
serde.workspace = true
serde_json.workspace = true
schemars.workspace = true
tracing.workspace = true
thiserror.workspace = true
indexmap.workspace = true
reqwest.workspace = true
futures.workspace = true
tokio-util.workspace = true
tokenizers.workspace = true
tokio = { workspace = true, features = ["sync", "macros", "rt"] }
uniffi = { workspace = true, optional = true }
async-trait = { 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 }

[target.'cfg(not(target_family = "wasm"))'.dependencies]
tokio = { workspace = true, features = ["full"] }
uuid.workspace = true

[target.'cfg(target_family = "wasm")'.dependencies]
uuid = { workspace = true, features = ["js"] }

[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
keisoku.workspace = true

[build-dependencies]
napi-build = { workspace = true, optional = true }
pyo3-build-config = { workspace = true, optional = true }

[lints]
workspace = true