forked from oven-sh/bun
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrustfmt.toml
More file actions
15 lines (15 loc) · 949 Bytes
/
rustfmt.toml
File metadata and controls
15 lines (15 loc) · 949 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# rustfmt config for the Cargo workspace. Formatting is the toolchain default
# (rust-toolchain.toml's pinned nightly); this file only carries the ignore list
# so `cargo fmt --all` (CI's `Format` job) never reformats out-of-scope code.
#
# `cargo fmt --all` formats every workspace member's crate root and follows
# `mod` declarations from there. `vendor/lolhtml/c-api` is reachable as a path
# dependency of `bun_lolhtml_sys`; `test/` has Rust test fixtures (e.g. the
# tonic gRPC server) with their own out-of-workspace `Cargo.toml`; `build/` is
# the gitignored ninja output dir (codegen .rs, cargo target dir). None should
# be reformatted by CI even if a future change makes them reachable.
#
# Patterns use gitignore semantics: a bare name like `test` matches at *any*
# depth (it would also exclude `src/runtime/cli/test/`). Anchor with a leading
# `/` to scope each entry to the workspace root only.
ignore = ["/vendor", "/test", "/build"]