55 lines
1.1 KiB
TOML
55 lines
1.1 KiB
TOML
[package]
|
|
name = "inference-models"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
## Models
|
|
model-ai-text.workspace = true
|
|
model-ai-text.optional = true
|
|
## Wasm
|
|
wasm-bindgen.workspace = true
|
|
wasm-bindgen-futures.workspace = true
|
|
js-sys.workspace = true
|
|
gloo.workspace = true
|
|
wasm-tracing.workspace = true
|
|
console_error_panic_hook.workspace = true
|
|
## Logging
|
|
tracing.workspace = true
|
|
## Inf
|
|
burn.workspace = true
|
|
burn.features = ["ndarray", "webgpu"]
|
|
burn-store.workspace = true
|
|
burn-store.features = ["burnpack"]
|
|
tokenizers.workspace = true
|
|
## Seri
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
## Codegen
|
|
thiserror.workspace = true
|
|
## Wrkrnd
|
|
getrandom_v4.workspace = true
|
|
getrandom_v3.workspace = true
|
|
|
|
[build-dependencies]
|
|
hf-hub.workspace = true
|
|
burn-onnx.workspace = true
|
|
serde_json.workspace = true
|
|
|
|
[features]
|
|
ai_text = ["dep:model-ai-text"]
|
|
|
|
[package.metadata.wasm-pack]
|
|
profile.release.wasm-opt = [
|
|
"-O4",
|
|
"-ffm",
|
|
"--enable-simd",
|
|
"--enable-bulk-memory",
|
|
"--enable-reference-types",
|
|
"--enable-nontrapping-float-to-int",
|
|
"--strip-debug",
|
|
"--strip-producers",
|
|
]
|