Skip to content

armgit / uzu

Public Imported from GitHub
0

A high-performance inference engine for AI models

fix compilation warnings

eugene7096cf32e704
diff --git a/Cargo.lock b/Cargo.lock
index d098fff3b..fdbb11fd0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -509,26 +509,6 @@ version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "383d29d513d8764dcdc42ea295d979eb99c3c9f00607b3692cf68a431f7dca72"
-[[package]]
-name = "bindgen"
-version = "0.72.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895"
-dependencies = [
- "bitflags 2.13.0",
- "cexpr",
- "clang-sys",
- "itertools 0.13.0",
- "log",
- "prettyplease 0.2.37",
- "proc-macro2",
- "quote",
- "regex",
- "rustc-hash 2.1.3",
- "shlex 1.3.0",
- "syn 2.0.118",
-]
-
[[package]]
name = "bindings"
version = "0.5.26"
@@ -814,7 +794,7 @@ dependencies = [
"find-msvc-tools",
"jobserver",
"libc",
- "shlex 2.0.1",
+ "shlex",
]
[[package]]
@@ -823,15 +803,6 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c"
-[[package]]
-name = "cexpr"
-version = "0.6.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
-dependencies = [
- "nom 7.1.3",
-]
-
[[package]]
name = "cfg-if"
version = "1.0.4"
@@ -906,17 +877,6 @@ dependencies = [
"serde_core",
]
-[[package]]
-name = "clang-sys"
-version = "1.8.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4"
-dependencies = [
- "glob",
- "libc",
- "libloading 0.8.9",
-]
-
[[package]]
name = "clap"
version = "4.6.1"
@@ -3327,16 +3287,6 @@ dependencies = [
"cc",
]
-[[package]]
-name = "libloading"
-version = "0.8.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55"
-dependencies = [
- "cfg-if",
- "windows-link",
-]
-
[[package]]
name = "libloading"
version = "0.9.0"
@@ -3857,7 +3807,7 @@ version = "3.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1f5bcdf71abd3a50d00b49c1c2c75251cb3c913777d6139cd37dabc093a5e400"
dependencies = [
- "libloading 0.9.0",
+ "libloading",
]
[[package]]
@@ -6134,12 +6084,6 @@ dependencies = [
"lazy_static",
]
-[[package]]
-name = "shlex"
-version = "1.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
-
[[package]]
name = "shlex"
version = "2.0.1"
@@ -6836,7 +6780,6 @@ version = "0.5.26"
dependencies = [
"indexmap 2.14.0",
"json-transform",
- "jsonschema",
"serde",
"serde_json",
"thiserror 2.0.18",
@@ -7652,7 +7595,6 @@ version = "0.5.26"
dependencies = [
"anyhow",
"async-trait",
- "bindgen",
"bitflags 2.13.0",
"blake3",
"bytemuck",
diff --git a/Cargo.toml b/Cargo.toml
index 7af9607f5..e540878d6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -99,7 +99,6 @@ is_close = "0.1"
anyhow = "1.0.102"
async-trait = "0.1.92"
derive_more = { version = "2", features = ["from", "deref", "as_ref", "display"] }
-bindgen = "0.72"
walkdir = "2.5"
depfile = "0.1"
tempfile = "3.24"
diff --git a/crates/legacy/download-manager/Cargo.toml b/crates/legacy/download-manager/Cargo.toml
index e25ed7a1d..6313543e9 100644
--- a/crates/legacy/download-manager/Cargo.toml
+++ b/crates/legacy/download-manager/Cargo.toml
@@ -43,7 +43,7 @@ bindings-wasm = [
]
[dependencies]
-bindings-types.workspace = true
+bindings-types = { workspace = true, optional = true }
bindings.workspace = true
kiban.workspace = true
bon.workspace = true
diff --git a/crates/legacy/nagare/Cargo.toml b/crates/legacy/nagare/Cargo.toml
index b361d64a0..bd396e55e 100644
--- a/crates/legacy/nagare/Cargo.toml
+++ b/crates/legacy/nagare/Cargo.toml
@@ -51,7 +51,7 @@ bindings-wasm = [
]
[dependencies]
-bindings-types.workspace = true
+bindings-types = { workspace = true, optional = true }
bon.workspace = true
bindings.workspace = true
nagare-macros.workspace = true
diff --git a/crates/legacy/shoji/Cargo.toml b/crates/legacy/shoji/Cargo.toml
index b94bcb06e..ddc87587e 100644
--- a/crates/legacy/shoji/Cargo.toml
+++ b/crates/legacy/shoji/Cargo.toml
@@ -43,7 +43,7 @@ bindings-wasm = [
]
[dependencies]
-bindings-types.workspace = true
+bindings-types = { workspace = true, optional = true }
bindings.workspace = true
serde.workspace = true
serde_json.workspace = true
diff --git a/crates/legacy/token-stream-parser/Cargo.toml b/crates/legacy/token-stream-parser/Cargo.toml
index eca811308..edef22bd4 100644
--- a/crates/legacy/token-stream-parser/Cargo.toml
+++ b/crates/legacy/token-stream-parser/Cargo.toml
@@ -13,7 +13,6 @@ json-transform.workspace = true
serde.workspace = true
serde_json.workspace = true
indexmap.workspace = true
-jsonschema.workspace = true
thiserror.workspace = true
tracing.workspace = true
diff --git a/crates/legacy/uzu/Cargo.toml b/crates/legacy/uzu/Cargo.toml
index 48f86359f..bab0b153b 100644
--- a/crates/legacy/uzu/Cargo.toml
+++ b/crates/legacy/uzu/Cargo.toml
@@ -9,6 +9,7 @@ authors.workspace = true
homepage.workspace = true
repository.workspace = true
license.workspace = true
+keywords.workspace = true
[lib]
crate-type = ["lib", "cdylib", "staticlib"]
@@ -63,7 +64,7 @@ bindings-wasm = [
]
[dependencies]
-bindings-types.workspace = true
+bindings-types = { workspace = true, optional = true }
bindings.workspace = true
uzu-engine.workspace = true
kiban.workspace = true
diff --git a/crates/uzu-engine/Cargo.toml b/crates/uzu-engine/Cargo.toml
index 31c25959c..0871a8a3f 100644
--- a/crates/uzu-engine/Cargo.toml
+++ b/crates/uzu-engine/Cargo.toml
@@ -33,7 +33,6 @@ grammar = ["dep:xgrammar", "dep:schemars"]
[build-dependencies]
anyhow.workspace = true
async-trait.workspace = true
-bindgen.workspace = true
walkdir.workspace = true
depfile.workspace = true
derive_more.workspace = true