Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,23 @@ rust = { version = "latest", components = "clippy" }
typos = "latest"

[tasks]
dprint-check = "dprint check"
dprint-fmt = "dprint fmt"
editorconfig-check = "ec"

[tasks.dprint-check]
run = "dprint check"

[tasks.dprint-check.env]
DPRINT_CACHE_DIR = "/tmp/dprint-cache"

[tasks.dprint-fmt]
run = "dprint fmt"

[tasks.fmt]
depends = ["cargo-clippy-fix", "cargo-fmt", "dprint-fmt", "taplo-fmt"]
description = "Run repository formatters"

[tasks.install-nightly]
run = "rustup toolchain install nightly --component rustfmt"
run = "cargo +nightly fmt --version >/dev/null 2>&1 || rustup toolchain install nightly --component rustfmt"

[tasks.check]
depends = [
Expand Down
6 changes: 6 additions & 0 deletions services/ws-modules/face-detection/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,17 @@ wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
web-sys = { version = "0.3", features = [
"BinaryType",
"CanvasRenderingContext2d",
"Document",
"Event",
"EventTarget",
"HtmlCanvasElement",
"HtmlVideoElement",
"ImageData",
"MediaStream",
"MessageEvent",
"Storage",
"TextMetrics",
"WebSocket",
"Window",
"console",
Expand Down
Loading
Loading