Skip to content

Commit eed90c5

Browse files
committed
Standardize cargo conventions and refine dependencies
1 parent 5faa6e8 commit eed90c5

File tree

57 files changed

+522
-307
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+522
-307
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,14 @@ repos:
230230
files: '\.rs$'
231231
pass_filenames: false
232232

233+
- id: check-cargo-conventions
234+
name: check cargo conventions
235+
description: Enforces Cargo.toml dependency ordering conventions
236+
entry: .pre-commit-hooks/check_cargo_conventions.sh
237+
language: script
238+
files: 'Cargo\.toml$'
239+
pass_filenames: false
240+
233241
- id: fmt
234242
name: cargo fmt
235243
description: Format files with cargo fmt

0 commit comments

Comments
 (0)