Closed magicant closed 3 months ago
This update focuses on upgrading the Rust toolchain version across multiple packages from earlier versions (1.70.0 and 1.75.0) to the latest 1.77.0. It also refactors various code segments to utilize the new c"..."
syntax for creating owned C strings, simplifying string handling and improving code readability. Additionally, some internal dependencies are removed, and minor performance improvements are made.
Files/Groups | Change Summary |
---|---|
.github/workflows/rust.yml | Updated Rust toolchain version to 1.77.0 and removed references to 1.70.0 and 1.75.0 |
check-msrv.sh | Updated Cargo commands to use Rust 1.77.0 |
yash-builtin/CHANGELOG.md, yash-cli/CHANGELOG.md, ... | Updated changelogs to reflect the upgrade to Rust 1.77.0 |
yash-builtin/Cargo.toml, yash-cli/Cargo.toml, ... | Updated rust-version to 1.77.0 in Cargo.toml files |
yash-builtin/src/command/identify.rs, ... | Replaced CString::new with c"string".to_owned() for string handling |
yash-env/src/input.rs, yash-env/src/lib.rs, ... | Removed imports of std::ffi::CStr and replaced with c"string" |
yash-semantics/src/command.rs, yash-semantics/src/command/item.rs, ... | Refactored async blocks, removed internal dependencies, and improved performance |
yash-syntax/src/parser/lex/arith.rs, yash-syntax/src/parser/lex/modifier.rs | Simplified handling of asynchronous operations and removed unnecessary imports |
In the land of code, a rabbit hops, Rusty updates, no more stops. From old to new, 1.77 we choose, Simplified strings, no more blues. Dependencies trimmed, performance gleams, Our code now flows in seamless streams. 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Refactor
Chores