fix: review cargo config

* move package settings into correct table
* move .cargo into wasm dir
* set "std" for burn
This commit is contained in:
masters 2026-03-12 02:20:01 +05:00 • committed by spushk
commit 4152af652b
Signed by: spushk
GPG key ID: 7797B761E105E8AA
2 changed files with 17 additions and 9 deletions

View file

@ -1,7 +0,0 @@
[target.wasm32-unknown-unknown]
rustflags = [
"-Ctarget-feature=+simd128,+bulk-memory,+reference-types",
'--cfg', 'getrandom_backend="wasm_js"',
"--cfg=has_std",
"-Zthreads=6"
]

View file

@ -1,7 +1,8 @@
[package]
name = "inference-models"
version = "0.1.0"
edition = "2024"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
[lib]
crate-type = ["cdylib", "rlib"]
@ -21,7 +22,7 @@ console_error_panic_hook.workspace = true
tracing.workspace = true
## Inf
burn.workspace = true
burn.features = ["ndarray", "webgpu"]
burn.features = ["ndarray", "wgpu", "webgpu"]
burn-store.workspace = true
burn-store.features = ["burnpack"]
tokenizers.workspace = true