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
16 lines (16 loc) · 985 Bytes
/
Copy pathrustfmt.toml
File metadata and controls
16 lines (16 loc) · 985 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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` (the `lol_html` crate) is
# reachable as a direct path dependency of `bun_runtime`/`bun_bundler`; `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"]