Skip to content

Rust 1.90: Cargo workspace publishing support is here!

Rust 1.90: Native Workspace Publishing for Cargo & More

Rust 1.90 is here! Cargo adds workspace publishing support

Hello everyone! I'm Jon, a technology blogger. Today, I'm going to talk about the latest version of the programming language, Rust, version 1.90. This update adds new features, particularly to a tool called Cargo, that will make developers' work smoother. Rust is popular as a language suitable for safe and fast system programming, and this update makes it even easier to use. The release is expected to occur around September 18, 2024, and is being talked about in official announcements and on news sites. Let's take a closer look.

Recommended for those who want to start automating with no coding!
With Make.com (formerly Integromat)...
📌 Integrate major tools like email, Slack, Google Sheets, and Notion all at once
📌 Automate complex tasks with just drag and drop
📌 A free plan is also available, so you can try it out for yourself.
If you're interested, here's the details:
What is Make.com (formerly Integromat)? How to Use It, Pricing, Reviews, and Latest Information [2025 Edition]

What is Rust? A simple explanation for beginners

Rust is a programming language developed by Mozilla and first released in 2010. It is primarily used for system programming, that is, creating low-level software such as operating systems and browsers. A major feature of Rust is its "safety." For example, it detects memory-related errors at compile time, making programs less likely to crash. While it may seem a little difficult for beginners, it is also used in web development and game production, and its popularity has skyrocketed in recent years.

Additionally, a tool called Cargo is essential in the Rust ecosystem. Cargo is a package manager that manages Rust projects, automating dependency resolution, building, and testing. The highlight of this 1.90 update is the addition of new features to Cargo, which will be of great help to developers when dealing with multiple crates (units of Rust packages).

Major updates in Rust 1.90

Rust 1.90 was released on September 18, 2024, and includes various improvements. According to the official changelog and news sites, the main points are as follows. These are practical updates to improve development efficiency, and have been well received by the Rust community.

  • LLD linker default adoption (for Linux): The x86_64-unknown-linux-gnu target now defaults to a faster linker called LLD. A linker is a tool that compiles a program's code into its final executable form. This reduces build times and speeds up development cycles, for example by making incremental builds more efficient.
  • Cargo workspace publishing support: This is the main feature of this title. A workspace is a mechanism for managing multiple related crates as a single project. Previously, each crate had to be published manually in order, but starting with 1.90, the "cargo publish --workspace" command can automatically publish them in the correct order. This allows developers to upload packages to crates.io (the Rust package registry) without any hassle.
  • Support demotion for macOS x86_64: macOS's x86_64 architecture (older Intel-based Macs) has been upgraded to Tier 2 support. While Tier 1 is full support, Tier 2 is buildable but with limited testing, encouraging future migration. This is due to the increasing number of Apple Silicon (Arm-based) Macs.
  • New API stabilization: Several APIs (application programming interfaces, i.e. collections of functions and methods) are now stable and safe to use, further enriching the Rust standard library.

Details of these updates can be found on the official Rust blog and Changelog. The release was scheduled for September 18, 2024, about one month after 1.89, in line with Rust's regular update cycle (approximately every six weeks).

Workspace Publishing Support Details and Benefits

Let's take a closer look at Cargo's workspace publishing support, which is the highlight of this post. Workspaces are a useful feature for large projects, allowing you to manage multiple libraries and executables in a single folder, for example. Previously, publishing required you to manually consider the order of dependencies, which was error-prone.

Starting with 1.90, Cargo will automatically analyze the dependency graph and publish crates in the correct order, allowing developers to complete the task with a single command. According to the news site InfoWorld, this feature addresses a long-standing request from Rust developers and will significantly improve workflow, making it ideal for large enterprise-level projects, for example.

AI tools can also be useful when creating Rust documentation and presentations. For example:AI tool called Gammaallows you to instantly generate documentation and slides, perfect for outlining new features in Rust.

Developer community reaction

Immediately after the release of Rust 1.90, lively discussions have been taking place on social media such as X (formerly Twitter). Many developers have praised Cargo's workspace publishing support as a "super welcome improvement." For example, one post stated, "It's a big deal that we can now do what we previously had to publish individually with just one command." Additionally, there was a notable response to the adoption of LLD as the default, with many saying, "It's a big help because it speeds up builds."

On the other hand, some users of older models have pointed out the need to switch to macOS due to the change in support. Overall, the Rust community is positive, and it was trending in posts around September 19-20, 2024. These reactions demonstrate the popularity of Rust.

Summary and Recommendations

What did you think? The Rust 1.90 update, with its focus on supporting Cargo workspace publishing, will make developers' daily lives more comfortable. It's especially recommended for intermediate developers working on large-scale projects. If you're just starting out with Rust, try installing it from the official documentation.

If you want to take advantage of Rust's new features and create documentation, check out these articles:What is Gamma? A new standard for instantly creating documents, slides, and websites with AI

To sum up, Rust is a great language that combines safety and performance, and these regular updates only reinforce its appeal. The addition of features that reflect developer feedback shows the strength of the community. I hope you all give Rust a try and enjoy the world of technology!

Reference sources

Related posts

Leave a comment

There is no sure that your email address is published. Required fields are marked