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
6 changed files with 24 additions and 9 deletions

View file

@ -22,13 +22,13 @@ jobs:
with:
fetch-depth: 0
- name: Run release-plz release-pr
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
uses: https://git.kemitix.net/kemitix/rust@v2.4.1
with:
args: release-plz release-pr --backend gitea --git-token ${{ secrets.FORGEJO_TOKEN }}
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Run release-plz release
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
uses: https://git.kemitix.net/kemitix/rust@v2.4.1
with:
args: release-plz release --backend gitea --git-token ${{ secrets.FORGEJO_TOKEN }}
env:

View file

@ -27,26 +27,26 @@ jobs:
uses: kemitix/todo-checker@v1.1.0
- name: Machete
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
uses: https://git.kemitix.net/kemitix/rust@v2.4.1
with:
args: ${{ matrix.toolchain.name }} cargo machete
- name: Format
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
uses: https://git.kemitix.net/kemitix/rust@v2.4.1
with:
args: ${{ matrix.toolchain.name }} cargo fmt --all -- --check
- name: Clippy
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
uses: https://git.kemitix.net/kemitix/rust@v2.4.1
with:
args: ${{ matrix.toolchain.name }} cargo hack --feature-powerset clippy
- name: Build
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
uses: https://git.kemitix.net/kemitix/rust@v2.4.1
with:
args: ${{ matrix.toolchain.name }} cargo hack --feature-powerset build
- name: Test
uses: https://git.kemitix.net/kemitix/rust@v2.3.0
uses: https://git.kemitix.net/kemitix/rust@v2.4.1
with:
args: ${{ matrix.toolchain.name }} cargo hack --feature-powerset test

3
.gitignore vendored
View file

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

View file

@ -91,7 +91,7 @@ derive_more = { version = "1.0.0-beta", features = [
] }
derive-with = "0.5"
anyhow = "1.0"
thiserror = "1.0"
thiserror = "2.0"
pike = "0.1"
# 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>
/// `Github`: <https://github.com/settings/tokens>
#[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:
@echo "Installing git hooks"
cargo install cc-cli