Compare commits

..

5 commits

Author SHA1 Message Date
Renovate Bot
ea264aaf12 chore(deps): update rust crate thiserror to v2
All checks were successful
Rust / build (map[name:stable]) (push) Successful in 8m3s
Rust / build (map[name:nightly]) (push) Successful in 12m13s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Release Please / Release-plz (push) Successful in 1m44s
ci/woodpecker/cron/cron-docker-builder Pipeline was successful
ci/woodpecker/cron/push-next Pipeline was successful
ci/woodpecker/cron/tag-created Pipeline was successful
2024-11-15 18:07:56 +00:00
Renovate Bot
d2a93bc004 chore(deps): update kemitix/rust action to v2.4.1
All checks were successful
Rust / build (map[name:stable]) (push) Successful in 6m14s
Rust / build (map[name:nightly]) (push) Successful in 6m35s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Release Please / Release-plz (push) Successful in 2m28s
2024-11-15 18:07:56 +00:00
Renovate Bot
f908011503 fix: rustdoc typo
All checks were successful
Rust / build (map[name:stable]) (push) Successful in 6m52s
Rust / build (map[name:nightly]) (push) Successful in 7m50s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Release Please / Release-plz (push) Successful in 2m41s
2024-11-15 18:07:56 +00:00
Renovate Bot
eabf97dff8 build: add build recipe to justfile
All checks were successful
Rust / build (map[name:nightly]) (push) Successful in 7m38s
Rust / build (map[name:stable]) (push) Successful in 5m56s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Release Please / Release-plz (push) Successful in 3m35s
2024-11-15 18:07:22 +00:00
c9d853797e build: ignore mutation output
All checks were successful
Rust / build (map[name:nightly]) (push) Successful in 5m40s
Rust / build (map[name:stable]) (push) Successful in 7m57s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Release Please / Release-plz (push) Successful in 2m42s
2024-11-15 18:07:22 +00:00
5 changed files with 24 additions and 22 deletions

3
.gitignore vendored
View file

@ -26,3 +26,6 @@ data/
.git-next.toml .git-next.toml
.envrc .envrc
*.profraw *.profraw
mutants.out/
mutants.out.old/

25
Cargo.lock generated
View file

@ -322,26 +322,23 @@ dependencies = [
[[package]] [[package]]
name = "bon" name = "bon"
version = "3.0.0" version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32649b2d94d4dae1084cffd2ce1a778165e887497e4d1d55cd3976839f76194e" checksum = "c3b71187ef9d11cfa48c023d574a00ec5e4850dcb145ef51619d99cc119486cb"
dependencies = [ dependencies = [
"bon-macros", "bon-macros",
"rustversion",
] ]
[[package]] [[package]]
name = "bon-macros" name = "bon-macros"
version = "3.0.0" version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "13823053b3090fb2a35940608b0ff4c9254eb97651a971cf49fd84f8604c2591" checksum = "1f8407447d440da7b3de982f286d15e30e7646bef4ebca994eebebaa1690fd9c"
dependencies = [ dependencies = [
"darling", "darling",
"ident_case", "ident_case",
"prettyplease",
"proc-macro2", "proc-macro2",
"quote", "quote",
"rustversion",
"syn 2.0.82", "syn 2.0.82",
] ]
@ -3251,16 +3248,6 @@ dependencies = [
"yansi", "yansi",
] ]
[[package]]
name = "prettyplease"
version = "0.2.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "64d1ec885c64d0457d564db4ec299b2dae3f9c02808b8ad9c3a089c591b18033"
dependencies = [
"proc-macro2",
"syn 2.0.82",
]
[[package]] [[package]]
name = "proc-macro-crate" name = "proc-macro-crate"
version = "3.2.0" version = "3.2.0"
@ -3272,9 +3259,9 @@ dependencies = [
[[package]] [[package]]
name = "proc-macro2" name = "proc-macro2"
version = "1.0.89" version = "1.0.86"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e" checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
dependencies = [ dependencies = [
"unicode-ident", "unicode-ident",
] ]

View file

@ -81,7 +81,7 @@ time = "0.3"
standardwebhooks = "1.0" standardwebhooks = "1.0"
# boilerplate # boilerplate
bon = "3.0" bon = "2.0"
derive_more = { version = "1.0.0-beta", features = [ derive_more = { version = "1.0.0-beta", features = [
"as_ref", "as_ref",
"constructor", "constructor",
@ -91,7 +91,7 @@ derive_more = { version = "1.0.0-beta", features = [
] } ] }
derive-with = "0.5" derive-with = "0.5"
anyhow = "1.0" anyhow = "1.0"
thiserror = "1.0" thiserror = "2.0"
pike = "0.1" pike = "0.1"
# iters # iters

View file

@ -1,4 +1,4 @@
/// The API Token for the [user] /// The API Token for the user
/// `ForgeJo`: <https://{hostname}/user/settings/applications> /// `ForgeJo`: <https://{hostname}/user/settings/applications>
/// `Github`: <https://github.com/settings/tokens> /// `Github`: <https://github.com/settings/tokens>
#[derive(Clone, Debug, derive_more::Constructor)] #[derive(Clone, Debug, derive_more::Constructor)]

View file

@ -1,3 +1,15 @@
build:
#!/usr/bin/env bash
set -e
cargo fmt
cargo fmt --check
cargo hack clippy
cargo hack build
cargo hack test
cargo doc
# cargo test --example get
cargo mutants --jobs 4
install-hooks: install-hooks:
@echo "Installing git hooks" @echo "Installing git hooks"
cargo install cc-cli cargo install cc-cli