-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: standardize project configuration files and add pre-commit hooks
- Add comprehensive pre-commit hooks for code quality: - Add `check-toml`, `pretty-format-json`, and `pretty-format-toml` hooks - Add `forbid-crlf` and `remove-tabs` for consistent line endings - Add `cargo-test` hook using `nextest` for push events - Standardize TOML file formatting across workspace: - Sort package fields consistently - Normalize dependency declarations - Fix trailing commas and whitespace - Update version constraints and dependencies: - Add `nom = "8.0.0-alpha2"` - Update various workspace dependencies - Clean up configuration files: - Sort deny.toml sections logically - Standardize .cargo/config.toml - Format JSON files consistently
- Loading branch information
1 parent
7490b44
commit ab75123
Showing
28 changed files
with
393 additions
and
438 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[build] | ||
rustflags = ["--cfg", "tokio_unstable", "-Ctarget-cpu=native"] | ||
rustflags = ["--cfg", "tokio_unstable", "-Ctarget-cpu=native"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
[project] | ||
name = "chart" | ||
version = "0.1.0" | ||
dependencies = [ | ||
"matplotlib>=3.9.2", | ||
"numpy>=2.1.2" | ||
] | ||
description = "Add your description here" | ||
name = "chart" | ||
readme = "README.md" | ||
requires-python = ">=3.12" | ||
dependencies = [ | ||
"matplotlib>=3.9.2", | ||
"numpy>=2.1.2", | ||
] | ||
version = "0.1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# https://doc.rust-lang.org/nightly/clippy/lint_configuration.html | ||
|
||
cognitive-complexity-threshold = 200 | ||
excessive-nesting-threshold = 7 | ||
too-many-lines-threshold = 200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,48 @@ | ||
[package] | ||
name = "bvh-region" | ||
version = "0.1.0" | ||
edition = "2021" | ||
authors = ["Andrew Gazelka <[email protected]>"] | ||
readme = "README.md" | ||
publish = false | ||
[[bench]] | ||
harness = false | ||
name = "sort" | ||
|
||
[features] | ||
plot = ["dep:plotters", "dep:plotters-bitmap"] | ||
default = [] | ||
[[bench]] | ||
harness = false | ||
name = "bvh" | ||
|
||
[[bench]] | ||
harness = false | ||
name = "side_by_side" | ||
|
||
[dependencies] | ||
fastrand.workspace = true | ||
glam = { workspace = true, features = ["serde"] } | ||
rayon.workspace = true | ||
glam = {workspace = true, features = ["serde"]} | ||
plotters = {workspace = true, features = [ | ||
"plotters-bitmap", | ||
"image" | ||
], optional = true} | ||
plotters-bitmap = {workspace = true, optional = true} | ||
serde = {workspace = true, features = ["derive"]} | ||
arrayvec.workspace = true | ||
ordered-float.workspace = true | ||
fastrand.workspace = true | ||
itertools.workspace = true | ||
plotters = { workspace = true, features = [ | ||
"plotters-bitmap", | ||
"image", | ||
], optional = true } | ||
plotters-bitmap = { workspace = true, optional = true } | ||
ordered-float.workspace = true | ||
rayon.workspace = true | ||
tracing.workspace = true | ||
serde = { workspace = true, features = ["derive"] } | ||
|
||
[dev-dependencies] | ||
divan.workspace = true | ||
criterion.workspace = true | ||
divan.workspace = true | ||
rand.workspace = true | ||
tango-bench.workspace = true | ||
tracing-subscriber.workspace = true | ||
|
||
[[bench]] | ||
name = "sort" | ||
harness = false | ||
|
||
[[bench]] | ||
name = "bvh" | ||
harness = false | ||
|
||
[[bench]] | ||
name = "side_by_side" | ||
harness = false | ||
[features] | ||
default = [] | ||
plot = ["dep:plotters", "dep:plotters-bitmap"] | ||
|
||
[lints] | ||
workspace = true | ||
|
||
[package] | ||
authors = ["Andrew Gazelka <[email protected]>"] | ||
edition = "2021" | ||
name = "bvh-region" | ||
publish = false | ||
readme = "README.md" | ||
version = "0.1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
[package] | ||
name = "hyperion-circle-buf" | ||
version = "0.1.0" | ||
edition = "2021" | ||
authors = ["Andrew Gazelka <[email protected]>"] | ||
readme = "README.md" | ||
publish = false | ||
|
||
[dependencies] | ||
|
||
[lints] | ||
workspace = true | ||
|
||
[package] | ||
authors = ["Andrew Gazelka <[email protected]>"] | ||
edition = "2021" | ||
name = "hyperion-circle-buf" | ||
publish = false | ||
readme = "README.md" | ||
version = "0.1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
[package] | ||
name = "hyperion-crafting" | ||
version = "0.1.0" | ||
edition = "2021" | ||
authors = ["Andrew Gazelka <[email protected]>"] | ||
readme = "README.md" | ||
publish = false | ||
|
||
[dependencies] | ||
valence_protocol.workspace = true | ||
anyhow.workspace = true | ||
flecs_ecs.workspace = true | ||
derive-build.workspace = true | ||
flecs_ecs.workspace = true | ||
slotmap.workspace = true | ||
valence_protocol.workspace = true | ||
|
||
[lints] | ||
workspace = true | ||
|
||
[package] | ||
authors = ["Andrew Gazelka <[email protected]>"] | ||
edition = "2021" | ||
name = "hyperion-crafting" | ||
publish = false | ||
readme = "README.md" | ||
version = "0.1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
[package] | ||
name = "hyperion-event-macros" | ||
version = "0.1.0" | ||
edition = "2021" | ||
authors = ["Andrew Gazelka <[email protected]>"] | ||
readme = "README.md" | ||
publish = false | ||
|
||
[lib] | ||
proc-macro = true | ||
|
||
[dependencies] | ||
quote = "1.0.37" | ||
syn = "2.0.79" | ||
convert_case = "0.6.0" | ||
proc-macro2 = "1.0.88" | ||
quote = "1.0.37" | ||
syn = "2.0.79" | ||
|
||
[dev-dependencies] | ||
trybuild = "1.0.100" | ||
hyperion.workspace = true | ||
|
||
[lib] | ||
proc-macro = true | ||
|
||
[lints] | ||
workspace = true | ||
|
||
[package] | ||
authors = ["Andrew Gazelka <[email protected]>"] | ||
edition = "2021" | ||
name = "hyperion-event-macros" | ||
publish = false | ||
readme = "README.md" | ||
version = "0.1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
[package] | ||
name = "hyperion-inventory" | ||
version = "0.1.0" | ||
edition = "2021" | ||
authors = ["Andrew Gazelka <[email protected]>"] | ||
readme = "README.md" | ||
publish = false | ||
|
||
[dependencies] | ||
valence_protocol.workspace = true | ||
flecs_ecs.workspace = true | ||
snafu.workspace = true | ||
hyperion-crafting.workspace = true | ||
roaring.workspace = true | ||
snafu.workspace = true | ||
valence_protocol.workspace = true | ||
|
||
[lints] | ||
workspace = true | ||
|
||
[package] | ||
authors = ["Andrew Gazelka <[email protected]>"] | ||
edition = "2021" | ||
name = "hyperion-inventory" | ||
publish = false | ||
readme = "README.md" | ||
version = "0.1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
[package] | ||
name = "hyperion-minecraft-proto" | ||
version = "0.1.0" | ||
edition = "2021" | ||
authors = ["Andrew Gazelka <[email protected]>"] | ||
readme = "README.md" | ||
publish = false | ||
|
||
[dependencies] | ||
|
||
[lints] | ||
workspace = true | ||
|
||
[package] | ||
authors = ["Andrew Gazelka <[email protected]>"] | ||
edition = "2021" | ||
name = "hyperion-minecraft-proto" | ||
publish = false | ||
readme = "README.md" | ||
version = "0.1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
[package] | ||
name = "hyperion-nerd-font" | ||
version = "0.1.0" | ||
edition = "2021" | ||
authors = ["Andrew Gazelka <[email protected]>"] | ||
readme = "README.md" | ||
publish = false | ||
|
||
[dependencies] | ||
|
||
[lints] | ||
workspace = true | ||
|
||
[package] | ||
authors = ["Andrew Gazelka <[email protected]>"] | ||
edition = "2021" | ||
name = "hyperion-nerd-font" | ||
publish = false | ||
readme = "README.md" | ||
version = "0.1.0" |
Oops, something went wrong.