Add optimization docs, workspace lints, and pre-commit hooks

- Add docs/OPTIMIZATIONS.md: catalog of 14 optimization passes with
  status tracking and implementation roadmap
- Configure workspace-level clippy and rustc lints in Cargo.toml
- Add clippy.toml and deny.toml for clippy thresholds and dependency
  auditing (licenses, advisories, bans)
- Set up pre-commit hook: cargo fmt, dprint, clippy, cargo deny,
  cargo machete
- Update Justfile with deny/machete targets, dprint in fmt checks
This commit is contained in:
2026-03-30 23:01:35 +02:00
parent f99f9d5290
commit 8bfdd966ea
8 changed files with 171 additions and 101 deletions
+7 -1
View File
@@ -5,8 +5,14 @@ version.workspace = true
edition.workspace = true
license.workspace = true
[package.metadata.cargo-machete]
ignored = ["wasmtime", "wasmtime-wasi"]
[lints]
workspace = true
[dependencies]
wafer-core = { path = "../core" }
wafer-core = { path = "../core", version = "0.1.0" }
wasmtime = { workspace = true }
wasmtime-wasi = { workspace = true }
anyhow = { workspace = true }
+3
View File
@@ -5,6 +5,9 @@ version.workspace = true
edition.workspace = true
license.workspace = true
[lints]
workspace = true
[dependencies]
wasm-encoder = { workspace = true }
wasmparser = { workspace = true }
+7 -1
View File
@@ -5,5 +5,11 @@ version.workspace = true
edition.workspace = true
license.workspace = true
[package.metadata.cargo-machete]
ignored = ["wafer-core"]
[lints]
workspace = true
[dependencies]
wafer-core = { path = "../core" }
wafer-core = { path = "../core", version = "0.1.0" }