Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
2e6c89e
chore: Add license for unicode-ident for proc-macro2
epage Jun 5, 2025
12af6b5
chore(docsrs): Remove redundant --cfg
epage Jun 26, 2025
f5d270b
chore(deps): Update Rust Stable to v1.88 (#28)
renovate[bot] Jun 26, 2025
5fb0a8e
chore(deps): Update Rust Stable to v1.89 (#29)
renovate[bot] Aug 7, 2025
a6942ae
docs: Switch links to https
epage Aug 19, 2025
addd871
chore(ci): Reduce cached content
epage Sep 10, 2025
5afd573
chore(ci): Fix env variable syntax
epage Sep 12, 2025
3bfcdc2
chore: Add license for libfuzzer
epage Sep 18, 2025
676066a
chore(deps): Update Rust Stable to v1.90 (#30)
renovate[bot] Sep 18, 2025
f218f4a
docs(docsrs): Update to new doc_cfg feature name
epage Sep 29, 2025
7a67ba5
chore(deps): Update actions/setup-python action to v6
renovate[bot] Oct 1, 2025
40e0ace
chore(deps): Update actions/setup-python action to v6 (#32)
epage Oct 1, 2025
3513a5b
chore(deps): Update actions/checkout action to v5
renovate[bot] Oct 1, 2025
f2695e7
chore(deps): Update actions/checkout action to v5 (#31)
epage Oct 1, 2025
845f426
chore(deps): Update Rust Stable to v1.91 (#33)
renovate[bot] Oct 31, 2025
b8fbcb7
chore(ci): string_to_string was merged into implicit_clone
epage Oct 31, 2025
3628419
chore(deps): Update github/codeql-action action to v4
renovate[bot] Nov 1, 2025
4b508b6
chore(deps): Update github/codeql-action action to v4 (#34)
epage Nov 3, 2025
ee2eef5
chore(ci): Ensure latest-deps jobs actually uses them
epage Nov 13, 2025
b0881a6
chore(ci): Give more control over where alt version jobs run
epage Nov 13, 2025
1d7f429
chore(deps): Update actions/checkout action to v6
renovate[bot] Dec 1, 2025
d5f98d7
chore(deps): Update actions/checkout action to v6 (#35)
epage Dec 1, 2025
f4efb92
chore(deps): Update Rust Stable to v1.92 (#36)
renovate[bot] Dec 11, 2025
3f895ab
chore(ci): Attempt to auto-update pre-commit
epage Dec 31, 2025
4253271
chore(ci): Attempt to auto-update pre-commit
epage Dec 31, 2025
b0aa288
chore(deps): Update pre-commit hook crate-ci/committed to v1.1.9
renovate[bot] Jan 1, 2026
d841861
chore(deps): Update pre-commit hook crate-ci/typos to v1.41.0
renovate[bot] Jan 1, 2026
4e1c0be
chore(deps): Update pre-commit hook crate-ci/typos to v1.41.0 (#39)
epage Jan 1, 2026
8e77956
chore(deps): Update pre-commit hook crate-ci/committed to v1.1.9 (#38)
epage Jan 1, 2026
16faf2c
chore(ci): Switch from pre-commit to prek
epage Jan 14, 2026
5932b20
chore(ci): Pin the prek version
epage Jan 14, 2026
98ba1ea
chore(ci): Automatic update from template
epage Oct 23, 2024
8940aef
chore: Update prek hooks
epage Jan 19, 2026
b65c345
chore: Update prek hooks (#41)
epage Jan 19, 2026
ad7697d
chore(ci): Automatic update from template (#40)
epage Jan 19, 2026
24c5c99
chore(deps): Update Rust Stable to v1.93 (#42)
renovate[bot] Jan 22, 2026
74f4be6
chore(ci): Fix name of clippy::empty_enums
epage Jan 23, 2026
30b3b14
chore(ci): Fix how rustfmt jobs run
epage Jan 26, 2026
6d0d36b
chore(ci): Clean up previous branch in case it was leaked
epage Jan 26, 2026
e4f2b35
chore(ci): Update action
epage Jan 26, 2026
143832a
chore: Update from _rust template
epage Jan 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
commitMessageLowerCase: 'never',
configMigration: true,
dependencyDashboard: true,
"pre-commit": {
enabled: true
},
customManagers: [
{
customType: 'regex',
Expand All @@ -25,6 +28,18 @@
packageNameTemplate: 'rust-lang/rust',
datasourceTemplate: 'github-releases',
},
{
customType: 'regex',
managerFilePatterns: [
'/^\\.github/workflows/pre-commit.yml$/',
],
matchStrings: [
'prek-version.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)',
],
depNameTemplate: 'prek',
packageNameTemplate: 'j178/prek',
datasourceTemplate: 'github-releases',
},
],
packageRules: [
{
Expand All @@ -41,6 +56,20 @@
],
automerge: true,
},
{
commitMessageTopic: 'Prek',
matchManagers: [
'custom.regex',
],
matchDepNames: [
'prek',
],
extractVersion: '^(?<version>\\d+\\.\\d+\\.\\d+)',
schedule: [
'* * * * *',
],
automerge: true,
},
// Goals:
// - Keep version reqs low, ignoring compatible normal/build dependencies
// - Take advantage of latest dev-dependencies
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ jobs:
rust: ["stable"]
continue-on-error: ${{ matrix.rust != 'stable' }}
runs-on: ${{ matrix.os }}
env:
# Reduce amount of data cached
CARGO_PROFILE_DEV_DEBUG: line-tables-only
steps:
- name: Checkout repository
uses: actions/checkout@v6
Expand All @@ -53,7 +56,10 @@ jobs:
run: cargo hack test --each-feature --workspace
msrv:
name: "Check MSRV"
runs-on: ubuntu-latest
strategy:
matrix:
os: ["ubuntu-latest"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v6
Expand All @@ -67,7 +73,10 @@ jobs:
run: cargo hack check --each-feature --locked --rust-version --ignore-private --workspace --all-targets --keep-going
minimal-versions:
name: Minimal versions
runs-on: ubuntu-latest
strategy:
matrix:
os: ["ubuntu-latest"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v6
Expand Down Expand Up @@ -123,7 +132,7 @@ jobs:
components: rustfmt
- uses: Swatinem/rust-cache@v2
- name: Check formatting
run: cargo fmt --all -- --check
run: cargo fmt --check
clippy:
name: clippy
runs-on: ubuntu-latest
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
- uses: j178/prek-action@v1
with:
python-version: '3.x'
- uses: pre-commit/[email protected]
prek-version: '0.2.27'
10 changes: 9 additions & 1 deletion .github/workflows/rust-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs:
rust: "nightly"
continue-on-error: ${{ matrix.rust != 'stable' }}
runs-on: ${{ matrix.os }}
env:
# Reduce amount of data cached
CARGO_PROFILE_DEV_DEBUG: line-tables-only
steps:
- name: Checkout repository
uses: actions/checkout@v6
Expand All @@ -43,7 +46,12 @@ jobs:
run: cargo hack test --each-feature --workspace
latest:
name: "Check latest dependencies"
runs-on: ubuntu-latest
strategy:
matrix:
os: ["ubuntu-latest"]
runs-on: ${{ matrix.os }}
env:
CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS: allow
steps:
- name: Checkout repository
uses: actions/checkout@v6
Expand Down
58 changes: 58 additions & 0 deletions .github/workflows/template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Template Update

permissions:
contents: read

on:
schedule:
- cron: '1 1 1 * *'
workflow_dispatch:

env:
RUST_BACKTRACE: 1
CARGO_TERM_COLOR: always
CLICOLOR: 1
TEMPLATE_URL: "https://github.com/epage/_rust.git"
TEMPLATE_BRANCH: "main"

concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true

jobs:
update:
permissions:
security-events: write # to create PR
pull-requests: write
contents: write # to push the branch
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Configure git
run: |
git config --global user.name '${{ github.actor }}'
git config --global user.email '<>'
- name: Fetch template
run: "git remote add template ${{ env.TEMPLATE_URL }} && git fetch template ${{ env.TEMPLATE_BRANCH }}"
- name: Merge template
run: "git checkout -b template-update && git merge template/${{ env.TEMPLATE_BRANCH }} -m 'chore: Update from template'"
- name: Clear any existing branch
run: "git push origin --delete template-update"
continue-on-error: true
env:
GH_TOKEN: ${{ github.token }}
- name: Push branch
run: "git push --set-upstream origin template-update"
env:
GH_TOKEN: ${{ github.token }}
- name: Create PR
run: "gh pr create --head template-update --title 'chore: Update from template' --body ''"
env:
GH_TOKEN: ${{ github.token }}
- name: Merge PR
run: "gh pr merge --auto --delete-branch"
env:
GH_TOKEN: ${{ github.token }}
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
default_install_hook_types: ["pre-commit", "commit-msg"]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: check-yaml
- id: check-json
Expand All @@ -10,10 +10,10 @@ repos:
- id: check-case-conflict
- id: detect-private-key
- repo: https://github.com/crate-ci/typos
rev: v1.32.0
rev: v1.42.1
hooks:
- id: typos
- repo: https://github.com/crate-ci/committed
rev: v1.1.7
rev: v1.1.10
hooks:
- id: committed
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Change Log
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
The format is based on [Keep a Changelog](https://keepachangelog.com/)
and this project adheres to [Semantic Versioning](https://semver.org/).

<!-- next-header -->
## [Unreleased] - ReleaseDate
Expand Down
5 changes: 2 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ create_dir = "warn"
dbg_macro = "warn"
debug_assert_with_mut_call = "warn"
doc_markdown = "warn"
empty_enum = "warn"
empty_enums = "warn"
enum_glob_use = "warn"
expl_impl_clone_on_copy = "warn"
explicit_deref_methods = "warn"
Expand Down Expand Up @@ -78,7 +78,6 @@ str_to_string = "warn"
string_add = "warn"
string_add_assign = "warn"
string_lit_as_bytes = "warn"
string_to_string = "warn"
todo = "warn"
trait_duplication_in_bounds = "warn"
uninlined_format_args = "warn"
Expand Down Expand Up @@ -111,7 +110,7 @@ include.workspace = true

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
rustdoc-args = ["--generate-link-to-definition"]

[package.metadata.release]
pre-release-replacements = [
Expand Down
2 changes: 2 additions & 0 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,12 @@ allow = [
"BSD-3-Clause",
"MPL-2.0",
"Unicode-DFS-2016",
"Unicode-3.0",
"CC0-1.0",
"ISC",
"OpenSSL",
"Zlib",
"NCSA",
]
# The confidence threshold for detecting a license from license text.
# The higher the value, the more closely the license text must be to the
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(clippy::print_stderr)]
#![warn(clippy::print_stdout)]

Expand Down
Loading