Skip to content

Commit 86d59f0

Browse files
committed
chore: upgrade dependencies
1 parent 59db81a commit 86d59f0

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
env:
2222
RUST_BACKTRACE: 1
2323
steps:
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v5
2525
- uses: dtolnay/rust-toolchain@master
2626
with:
2727
toolchain: stable
@@ -33,7 +33,7 @@ jobs:
3333
name: rustfmt
3434
runs-on: ubuntu-24.04
3535
steps:
36-
- uses: actions/checkout@v4
36+
- uses: actions/checkout@v5
3737
- uses: dtolnay/rust-toolchain@master
3838
with:
3939
toolchain: stable

.github/workflows/palette.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
createPullRequest:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v5
1616

1717
- name: Make changes to pull request
1818
run: curl -Lo src/palette.json 'https://raw.githubusercontent.com/catppuccin/palette/main/palette.json'

.github/workflows/release-plz.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
contents: write
1919
steps:
2020
- name: Checkout repository
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v5
2222
with:
2323
fetch-depth: 0
2424
- name: Install Rust toolchain
@@ -43,7 +43,7 @@ jobs:
4343
cancel-in-progress: false
4444
steps:
4545
- name: Checkout repository
46-
uses: actions/checkout@v4
46+
uses: actions/checkout@v5
4747
with:
4848
fetch-depth: 0
4949
- name: Install Rust toolchain

Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@ serde = { version = "1.0.203", features = ["derive"], optional = true }
2727

2828
[build-dependencies]
2929
itertools = "0.14.0"
30-
prettyplease = "0.2.20"
31-
proc-macro2 = "1.0.84"
32-
quote = "1.0.36"
33-
serde = { version = "1.0.203", features = ["derive"] }
34-
serde_json = "1.0.117"
35-
syn = "2.0.66"
30+
prettyplease = "0.2.37"
31+
proc-macro2 = "1.0.101"
32+
quote = "1.0.41"
33+
serde = { version = "1.0.228", features = ["derive"] }
34+
serde_json = "1.0.145"
35+
syn = "2.0.106"
3636

3737
[dev-dependencies]
38-
crossterm = "0.28.1"
39-
serde_json = "1.0.117"
38+
crossterm = "0.29.0"
39+
serde_json = "1.0.145"
4040

4141
[features]
4242
ansi-term = ["dep:ansi_term"]

src/lib.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ impl Palette {
206206

207207
/// Create an iterator over the flavors in the palette.
208208
#[must_use]
209-
pub const fn iter(&self) -> FlavorIterator {
209+
pub const fn iter(&self) -> FlavorIterator<'_> {
210210
FlavorIterator {
211211
current: 0,
212212
phantom: PhantomData,
@@ -345,7 +345,7 @@ impl FlavorName {
345345
impl FlavorColors {
346346
/// Create an iterator over the colors in the flavor.
347347
#[must_use]
348-
pub const fn iter(&self) -> ColorIterator {
348+
pub const fn iter(&self) -> ColorIterator<'_> {
349349
ColorIterator {
350350
colors: self,
351351
current: 0,
@@ -356,7 +356,7 @@ impl FlavorColors {
356356
impl FlavorAnsiColors {
357357
/// Create an iterator over the ANSI colors in the flavor.
358358
#[must_use]
359-
pub const fn iter(&self) -> AnsiColorIterator {
359+
pub const fn iter(&self) -> AnsiColorIterator<'_> {
360360
AnsiColorIterator {
361361
ansi_colors: self,
362362
current: 0,
@@ -373,7 +373,7 @@ impl FlavorAnsiColors {
373373
impl FlavorAnsiColorPairs {
374374
/// Create an iterator over the ANSI color pairs in the flavor.
375375
#[must_use]
376-
pub const fn iter(&self) -> AnsiColorPairsIterator {
376+
pub const fn iter(&self) -> AnsiColorPairsIterator<'_> {
377377
AnsiColorPairsIterator {
378378
ansi_color_pairs: self,
379379
current: 0,
@@ -476,7 +476,7 @@ impl<'a> IntoIterator for &'a FlavorAnsiColorPairs {
476476
impl Flavor {
477477
/// Create an iterator over the colors in the flavor.
478478
#[must_use]
479-
pub const fn iter(&self) -> ColorIterator {
479+
pub const fn iter(&self) -> ColorIterator<'_> {
480480
self.colors.iter()
481481
}
482482

0 commit comments

Comments
 (0)