Skip to content

Commit

Permalink
Migrate to Rust 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
magicant committed Feb 22, 2025
1 parent 6f57b2a commit 174759f
Show file tree
Hide file tree
Showing 22 changed files with 56 additions and 25 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- uses: dtolnay/[email protected]
- uses: dtolnay/[email protected]
- uses: dtolnay/[email protected]
- uses: Swatinem/rust-cache@v2
- name: Run tests with MSRV
run: ./check-msrv.sh -v
Expand Down
8 changes: 8 additions & 0 deletions yash-arith/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to `yash-arith` will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.2.3] - Unreleased

### Changed

- External dependency versions
- Rust 1.65.0 → 1.85.0

## [0.2.2] - 2024-12-14

### Changed
Expand Down Expand Up @@ -47,6 +54,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Fundamental items for performing arithmetic expansion

[0.2.3]: https://github.com/magicant/yash-rs/releases/tag/yash-arith-0.2.3
[0.2.2]: https://github.com/magicant/yash-rs/releases/tag/yash-arith-0.2.2
[0.2.1]: https://github.com/magicant/yash-rs/releases/tag/yash-arith-0.2.1
[0.2.0]: https://github.com/magicant/yash-rs/releases/tag/yash-arith-0.2.0
Expand Down
4 changes: 2 additions & 2 deletions yash-arith/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name = "yash-arith"
version = "0.2.2"
authors = ["WATANABE Yuki <[email protected]>"]
edition = "2021"
rust-version = "1.65.0"
edition = "2024"
rust-version = "1.85.0"
description = "POSIX shell arithmetic expansion"
# documentation = "https://yash.osdn.jp/doc/"
readme = "README.md"
Expand Down
1 change: 1 addition & 0 deletions yash-builtin/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ The `wait` built-in no longer treats suspended jobs as terminated jobs.
waiting for a suspended job, the built-in now waits indefinitely until the job
is resumed and finished.
- External dependency versions:
- Rust 1.82.0 → 1.85.0
- yash-env 0.5.0 → 0.6.0
- yash-semantics 0.5.0 → 0.6.0 (optional)
- yash-syntax 0.13.0 → 0.14.0
Expand Down
4 changes: 2 additions & 2 deletions yash-builtin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name = "yash-builtin"
version = "0.6.0"
authors = ["WATANABE Yuki <[email protected]>"]
edition = "2021"
rust-version = "1.82.0"
edition = "2024"
rust-version = "1.85.0"
description = "Implementation of the built-in utilities of yash"
# documentation = "https://yash.osdn.jp/doc/"
readme = "README.md"
Expand Down
4 changes: 2 additions & 2 deletions yash-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name = "yash-cli"
version = "0.3.0"
authors = ["WATANABE Yuki <[email protected]>"]
edition = "2021"
rust-version = "1.82.0"
edition = "2024"
rust-version = "1.85.0"
description = "Extended POSIX shell"
# documentation = "https://yash.osdn.jp/doc/"
readme = "README.md"
Expand Down
1 change: 1 addition & 0 deletions yash-env-test-helper/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- External dependency versions:
- Rust 1.82.0 → 1.85.0
- yash-env 0.5.0 → 0.6.0

## [0.3.0] - 2024-12-14
Expand Down
4 changes: 2 additions & 2 deletions yash-env-test-helper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name = "yash-env-test-helper"
version = "0.4.0"
authors = ["WATANABE Yuki <[email protected]>"]
edition = "2021"
rust-version = "1.82.0"
edition = "2024"
rust-version = "1.85.0"
description = "Test helper for yash-env crate"
# documentation = "https://yash.osdn.jp/doc/"
readme = "README.md"
Expand Down
1 change: 1 addition & 0 deletions yash-env/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
It now yields the current state even if the current action was not set by the
user.
- External dependency versions:
- Rust 1.82.0 → 1.85.0
- yash-syntax 0.13.0 → 0.14.0
- Internal dependency versions:
- itertools 0.13.0 → 0.14.0
Expand Down
4 changes: 2 additions & 2 deletions yash-env/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name = "yash-env"
version = "0.6.0"
authors = ["WATANABE Yuki <[email protected]>"]
edition = "2021"
rust-version = "1.82.0"
edition = "2024"
rust-version = "1.85.0"
description = "Yash shell execution environment interface"
# documentation = "https://yash.osdn.jp/doc/"
readme = "README.md"
Expand Down
8 changes: 8 additions & 0 deletions yash-executor/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,16 @@ All notable changes to `yash-executor` will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.1] - Unreleased

### Changed

- External dependency versions:
- Rust 1.65.0 → 1.85.0

## [1.0.0] - 2024-09-29

This is the initial release.

[1.0.1]: https://github.com/magicant/yash-rs/releases/tag/yash-executor-1.0.1
[1.0.0]: https://github.com/magicant/yash-rs/releases/tag/yash-executor-1.0.0
4 changes: 2 additions & 2 deletions yash-executor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name = "yash-executor"
version = "1.0.0"
authors = ["WATANABE Yuki <[email protected]>"]
edition = "2021"
rust-version = "1.65.0"
edition = "2024"
rust-version = "1.85.0"
description = "single-threaded concurrent task executor"
# documentation = "https://yash.osdn.jp/doc/"
readme = "README.md"
Expand Down
8 changes: 8 additions & 0 deletions yash-fnmatch/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to `yash-fnmatch` will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.1.3] - Unreleased

### Changed

- External dependency versions
- Rust 1.65.0 → 1.85.0

## [1.1.2] - 2024-12-14

### Changed
Expand Down Expand Up @@ -49,6 +56,7 @@ The first release.
- `ast`
- `Ast`, `Atom`, `Bracket`, `BracketItem`, `BracketAtom`

[1.1.3]: https://github.com/magicant/yash-rs/releases/tag/yash-fnmatch-1.1.3
[1.1.2]: https://github.com/magicant/yash-rs/releases/tag/yash-fnmatch-1.1.2
[1.1.1]: https://github.com/magicant/yash-rs/releases/tag/yash-fnmatch-1.1.1
[1.1.0]: https://github.com/magicant/yash-rs/releases/tag/yash-fnmatch-1.1.0
Expand Down
4 changes: 2 additions & 2 deletions yash-fnmatch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name = "yash-fnmatch"
version = "1.1.2"
authors = ["WATANABE Yuki <[email protected]>"]
edition = "2021"
rust-version = "1.65.0"
edition = "2024"
rust-version = "1.85.0"
description = "POSIX-compatible pattern matching for globbing"
# documentation = "https://yash.osdn.jp/doc/"
readme = "README.md"
Expand Down
1 change: 1 addition & 0 deletions yash-prompt/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- External dependency versions:
- Rust 1.82.0 → 1.85.0
- yash-env 0.5.0 → 0.6.0
- yash-semantics 0.5.0 → 0.6.0
- yash-syntax 0.13.0 → 0.14.0
Expand Down
4 changes: 2 additions & 2 deletions yash-prompt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name = "yash-prompt"
version = "0.4.0"
authors = ["WATANABE Yuki <[email protected]>"]
edition = "2021"
rust-version = "1.82.0"
edition = "2024"
rust-version = "1.85.0"
description = "Command line prompt for yash shell"
# documentation = "https://yash.osdn.jp/doc/"
readme = "README.md"
Expand Down
3 changes: 2 additions & 1 deletion yash-quote/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- External dependency versions
- Rust 1.56.0 → 1.65.0
- Rust 1.56.0 → 1.85.0

## [1.1.1] - 2023-11-12

Expand Down Expand Up @@ -46,6 +46,7 @@ No changes. Just bumping the version number to make the public API stable.

- The `quote` function

[1.1.2]: https://github.com/magicant/yash-rs/releases/tag/yash-quote-1.1.2
[1.1.1]: https://github.com/magicant/yash-rs/releases/tag/yash-quote-1.1.1
[1.1.0]: https://github.com/magicant/yash-rs/releases/tag/yash-quote-1.1.0
[1.0.1]: https://github.com/magicant/yash-rs/releases/tag/yash-quote-1.0.1
Expand Down
4 changes: 2 additions & 2 deletions yash-quote/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name = "yash-quote"
version = "1.1.1"
authors = ["WATANABE Yuki <[email protected]>"]
edition = "2021"
rust-version = "1.65.0"
edition = "2024"
rust-version = "1.85.0"
description = "Utility for quoting strings used in POSIX shell scripts"
# documentation = "https://yash.osdn.jp/doc/"
readme = "README.md"
Expand Down
1 change: 1 addition & 0 deletions yash-semantics/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
(`impl command::Command for yash_syntax::syntax::SimpleCommand`)
now honors the `ExpansionMode` specified for the words in the command.
- External dependency versions:
- Rust 1.82.0 → 1.85.0
- yash-env 0.5.0 → 0.6.0
- yash-syntax 0.13.0 → 0.14.0
- Internal dependency versions:
Expand Down
4 changes: 2 additions & 2 deletions yash-semantics/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name = "yash-semantics"
version = "0.6.0"
authors = ["WATANABE Yuki <[email protected]>"]
edition = "2021"
rust-version = "1.82.0"
edition = "2024"
rust-version = "1.85.0"
description = "Yash shell language semantics"
# documentation = "https://yash.osdn.jp/doc/"
readme = "README.md"
Expand Down
2 changes: 2 additions & 0 deletions yash-syntax/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ more flexible and readable configurations.
- The `parser::lex::Lexer::new` method now only takes a `Box<dyn InputObject>`
argument. The `start_line_number: NonZeroU64` and `source: Rc<Source>`
arguments have been removed in favor of construction with a `Config` struct.
- External dependency versions:
- Rust 1.82.0 → 1.85.0
- Internal dependency versions:
- itertools 0.13.0 → 0.14.0

Expand Down
4 changes: 2 additions & 2 deletions yash-syntax/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name = "yash-syntax"
version = "0.14.0"
authors = ["WATANABE Yuki <[email protected]>"]
edition = "2021"
rust-version = "1.82.0"
edition = "2024"
rust-version = "1.85.0"
description = "POSIX-compatible shell script syntax parser"
# documentation = "https://yash.osdn.jp/doc/"
readme = "README.md"
Expand Down

0 comments on commit 174759f

Please sign in to comment.