chore: move configs away from root directory#507
Conversation
8ce93ad to
1c442a5
Compare
|
| Branch | config-reorganization |
| Testbed | github-ubuntu-latest |
Click to view all benchmark results
| Benchmark | Latency | Benchmark Result microseconds (µs) (Result Δ%) | Upper Boundary microseconds (µs) (Limit %) |
|---|---|---|---|
| empty_router/empty_router | 📈 view plot 🚷 view threshold | 6,364.10 µs(+6.78%)Baseline: 5,959.93 µs | 7,120.59 µs (89.38%) |
| json_api/json_api | 📈 view plot 🚷 view threshold | 1,080.70 µs(+4.82%)Baseline: 1,030.97 µs | 1,187.51 µs (91.01%) |
| nested_routers/nested_routers | 📈 view plot 🚷 view threshold | 996.51 µs(+4.94%)Baseline: 949.56 µs | 1,085.07 µs (91.84%) |
| single_root_route/single_root_route | 📈 view plot 🚷 view threshold | 960.23 µs(+5.40%)Baseline: 911.04 µs | 1,045.19 µs (91.87%) |
| single_root_route_burst/single_root_route_burst | 📈 view plot 🚷 view threshold | 18,530.00 µs(+5.35%)Baseline: 17,589.14 µs | 20,968.66 µs (88.37%) |
1c442a5 to
277c4e0
Compare
There was a problem hiding this comment.
Pull request overview
Moves assorted tool and automation configuration files out of the repository root into dedicated subdirectories (primarily .config/ and .cargo/), updating CI and developer tooling to reference the new locations. This follows PR #506’s goal of reducing root-directory clutter.
Changes:
- Update pre-commit hooks to use configs from
.config/(yamlfmt, djLint). - Update GitHub Actions workflows to reference relocated configs (cargo-deny, release-plz).
- Add new config files under
.config/and.cargo/.
Reviewed changes
Copilot reviewed 3 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| .pre-commit-config.yaml | Points yamlfmt and djLint hooks at config files under .config/. |
| .github/workflows/rust.yml | Updates cargo-deny invocation to use a config path (currently mismatched). |
| .github/workflows/release-plz.yml | Configures release-plz action to load .cargo/release-plz.toml. |
| .config/yamlfmt.yml | Adds yamlfmt configuration file under .config/. |
| .config/insta.yaml | Adds insta/cargo-insta configuration under .config/. |
| .config/djlint.toml | Adds djLint configuration file under .config/. |
| .cargo/release-plz.toml | Adds release-plz configuration under .cargo/. |
| .cargo/deny.toml | Adds cargo-deny configuration under .cargo/. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests.
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
m4tx
left a comment
There was a problem hiding this comment.
Why is insta.yaml being moved to .config, but release-plz.toml and deny.toml are moved to .cargo? Feels like all of these should be in one directory for consistency. Otherwise, LGTM.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
9eccde0 to
c6e568a
Compare
Follow-up to #506