Skip to content

Commit b7739c1

Browse files
committed
chore: Update Rust version to 1.89 in Cargo.toml and mise.toml
1 parent 3c2f453 commit b7739c1

4 files changed

Lines changed: 101 additions & 65 deletions

File tree

CHANGELOG.md

Lines changed: 0 additions & 59 deletions
This file was deleted.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
name = "submod"
77
version = "0.2.1"
88
edition = "2024"
9-
rust-version = "1.87"
9+
rust-version = "1.89"
1010
description = "A headache-free submodule management tool, built on top of gitoxide. Manage sparse checkouts, submodule updates, and adding/removing submodules with ease."
1111
license-file = "LICENSE.md"
1212
repository = "https://github.com/bashandbone/submod"

cliff.toml

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
# # SPDX-FileCopyrightText: 2025 Adam Poulemanos <89049923+bashandbone@users.noreply.github.com>
2+
#
3+
# SPDX-License-Identifier: LicenseRef-PlainMIT OR MIT
4+
# git-cliff ~ configuration file
5+
# https://git-cliff.org/docs/configuration
6+
7+
8+
[changelog]
9+
# A Tera template to be rendered for each release in the changelog.
10+
# See https://keats.github.io/tera/docs/#introduction
11+
body = """
12+
{% if version %}\
13+
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
14+
{% else %}\
15+
## [unreleased]
16+
{% endif %}\
17+
{% for group, commits in commits | group_by(attribute="group") %}
18+
### {{ group | striptags | trim | upper_first }}
19+
{% for commit in commits %}
20+
- {% if commit.scope %}*({{ commit.scope }})* {% endif %}\
21+
{% if commit.breaking %}[**breaking**] {% endif %}\
22+
{{ commit.message | upper_first }}\
23+
{% endfor %}
24+
{% endfor %}
25+
"""
26+
# Remove leading and trailing whitespaces from the changelog's body.
27+
trim = true
28+
# Render body even when there are no releases to process.
29+
render_always = true
30+
# An array of regex based postprocessors to modify the changelog.
31+
postprocessors = [
32+
# Replace the placeholder <REPO> with a URL.
33+
#{ pattern = '<REPO>', replace = "https://github.com/orhun/git-cliff" },
34+
]
35+
# render body even when there are no releases to process
36+
# render_always = true
37+
# output file path
38+
# output = "test.md"
39+
40+
[git]
41+
# Parse commits according to the conventional commits specification.
42+
# See https://www.conventionalcommits.org
43+
conventional_commits = true
44+
# Exclude commits that do not match the conventional commits specification.
45+
filter_unconventional = true
46+
# Require all commits to be conventional.
47+
# Takes precedence over filter_unconventional.
48+
require_conventional = false
49+
# Split commits on newlines, treating each line as an individual commit.
50+
split_commits = false
51+
# An array of regex based parsers to modify commit messages prior to further processing.
52+
commit_preprocessors = [
53+
# Replace issue numbers with link templates to be updated in `changelog.postprocessors`.
54+
{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](<REPO>/issues/${2}))"},
55+
# Check spelling of the commit message using https://github.com/crate-ci/typos.
56+
# If the spelling is incorrect, it will be fixed automatically.
57+
{ pattern = '.*', replace_command = 'typos --write-changes -' },
58+
]
59+
# Prevent commits that are breaking from being excluded by commit parsers.
60+
protect_breaking_commits = true
61+
# An array of regex based parsers for extracting data from the commit message.
62+
# Assigns commits to groups.
63+
# Optionally sets the commit's scope and can decide to exclude commits from further processing.
64+
commit_parsers = [
65+
{ message = "^feat", group = "<!-- 0 -->🚀 Features" },
66+
{ message = "^fix", group = "<!-- 1 -->🐛 Bug Fixes" },
67+
{ message = "^doc", group = "<!-- 3 -->📚 Documentation" },
68+
{ message = "^perf", group = "<!-- 4 -->⚡ Performance" },
69+
{ message = "^refactor", group = "<!-- 2 -->🚜 Refactor" },
70+
{ message = "^style", group = "<!-- 5 -->🎨 Styling" },
71+
{ message = "^test", group = "<!-- 6 -->🧪 Testing" },
72+
{ message = "^chore\\(release\\): prepare for", skip = true },
73+
{ message = "^chore\\(deps.*\\)", skip = true },
74+
{ message = "^chore\\(pr\\)", skip = true },
75+
{ message = "^chore\\(pull\\)", skip = true },
76+
{ message = "^chore|^ci", group = "<!-- 7 -->⚙️ Miscellaneous Tasks" },
77+
{ body = ".*security", group = "<!-- 8 -->🛡️ Security" },
78+
{ message = "^revert", group = "<!-- 9 -->◀️ Revert" },
79+
{ message = ".*", group = "<!-- 10 -->💼 Other" },
80+
]
81+
# Exclude commits that are not matched by any commit parser.
82+
filter_commits = false
83+
# Fail on a commit that is not matched by any commit parser.
84+
fail_on_unmatched_commit = false
85+
# An array of link parsers for extracting external references, and turning them into URLs, using regex.
86+
link_parsers = []
87+
# Include only the tags that belong to the current branch.
88+
use_branch_tags = false
89+
# Order releases topologically instead of chronologically.
90+
topo_order = false
91+
# Order commits topologically instead of chronologically.
92+
topo_order_commits = true
93+
# Order of commits in each group/release within the changelog.
94+
# Allowed values: newest, oldest
95+
sort_commits = "oldest"
96+
# Process submodules commits
97+
recurse_submodules = false

mise.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,20 @@
44

55
[tools]
66
act = "latest"
7-
bun = "latest" # We use bun to run mcp tool development servers. Totally optional, but helpful.
87
cargo-binstall = "latest"
98
"cargo:cargo-audit" = "latest" # For auditing dependencies for security vulnerabilities.
109
"cargo:cargo-deny" = "latest" # For checking licenses and other policies.
10+
"cargo:git-cliff" = "latest"
1111
"cargo:cargo-edit" = "latest"
1212
"cargo:cargo-nextest" = "latest" # For running tests in parallel.
13+
"cargo:cargo-smart-release" = "latest" # For automating releases.
1314
"cargo:cargo-watch" = "latest" # For watching files and rerunning commands.
14-
gh = "latest"
1515
hk = "latest" # Handles git hooks, like pre-commit.
1616
jq = "latest"
1717
"pipx:reuse" = "latest"
1818
pkl = "latest" # pkl for `hk`, which handles git hooks
19-
ripgrep = "latest"
20-
rust = "1.87" # The minimum Rust version we support; mise just makes sure it's there.
19+
rust = "1.89" # The minimum Rust version we support; mise just makes sure it's there.
2120
typos = "latest"
22-
uv = "latest" # Another runner for MCP servers.
2321

2422
[env]
2523
CARGO_TARGET_DIR = "target"

0 commit comments

Comments
 (0)