File tree 5 files changed +23
-9
lines changed
5 files changed +23
-9
lines changed Original file line number Diff line number Diff line change 1
- # Bump Rust Dependencies for Stackable Release XX.(X) X
1
+ # Bump Rust Dependencies for Stackable Release YY.M. X
2
2
3
3
<!--
4
4
Make sure to update the link in 'issues/.github/ISSUE_TEMPLATE/pre-release-operator-rust-deps.md'
@@ -32,7 +32,7 @@ Part of <https://github.com/stackabletech/issues/issues/TRACKING_ISSUE>
32
32
33
33
``` [tasklist]
34
34
### Bump Rust Dependencies
35
- - [ ] Bump `stackable-operator` and friends.
36
- - [ ] Bump `product-version`.
37
- - [ ] Bump all other dependencies.
35
+ - [ ] Bump `stackable-operator` and friends
36
+ - [ ] Bump `product-config`
37
+ - [ ] Bump all other dependencies
38
38
```
Original file line number Diff line number Diff line change 26
26
CARGO_TERM_COLOR : always
27
27
CARGO_INCREMENTAL : ' 0'
28
28
CARGO_PROFILE_DEV_DEBUG : ' 0'
29
- RUST_TOOLCHAIN_VERSION : " 1.84.1"
29
+ RUST_TOOLCHAIN_VERSION : " 1.85.0"
30
+ RUST_NIGHTLY_TOOLCHAIN_VERSION : " nightly-2025-01-15"
30
31
PYTHON_VERSION : " 3.12"
31
32
RUSTFLAGS : " -D warnings"
32
33
RUSTDOCFLAGS : " -D warnings"
@@ -136,9 +137,11 @@ jobs:
136
137
submodules : recursive
137
138
- uses : dtolnay/rust-toolchain@c5a29ddb4d9d194e7c84ec8c3fba61b1c31fee8c
138
139
with :
139
- toolchain : ${{ env.RUST_TOOLCHAIN_VERSION }}
140
+ toolchain : ${{ env.RUST_NIGHTLY_TOOLCHAIN_VERSION }}
140
141
components : rustfmt
141
- - run : cargo fmt --all -- --check
142
+ - env :
143
+ RUST_TOOLCHAIN_VERSION : ${{ env.RUST_NIGHTLY_TOOLCHAIN_VERSION }}
144
+ run : cargo "+$RUST_TOOLCHAIN_VERSION" fmt --all -- --check
142
145
143
146
run_clippy :
144
147
name : Run Clippy
Original file line number Diff line number Diff line change
1
+ {
2
+ "rust-analyzer.rustfmt.overrideCommand" : [
3
+ " rustfmt" ,
4
+ " +nightly-2025-01-15" ,
5
+ " --"
6
+ ],
7
+ }
Original file line number Diff line number Diff line change 1
1
# DO NOT EDIT, this file is generated by operator-templating
2
2
[toolchain ]
3
- channel = " 1.84.1 "
3
+ channel = " 1.85.0 "
Original file line number Diff line number Diff line change 1
1
# This file includes unstable features, so you need to run "cargo +nightly fmt" to format your code.
2
2
# It's also ok to use the stable toolchain by simple running "cargo fmt", but using the nigthly formatter is prefered.
3
3
4
+ # https://doc.rust-lang.org/nightly/edition-guide/rust-2024/rustfmt-style-edition.html
5
+ style_edition = " 2024"
4
6
imports_granularity = " Crate"
5
- group_imports = " StdExternalCrate"
7
+ group_imports = " StdExternalCrate"
8
+ reorder_impl_items = true
9
+ use_field_init_shorthand = true
You can’t perform that action at this time.
0 commit comments