Tagged articles

cargo

12 articles · Page 1 of 1
TonyBai
TonyBai
Jun 30, 2026 · Backend Development

Why a Rust Project Can Swallow 75 GB of Disk Space and How to Tame Cache Bloat in Rust and Go

The article explains why modern Rust and Go compilers create massive on‑disk caches—Rust's per‑project target directory and Go's global module and build caches—illustrates the underlying mechanisms with concrete examples, and offers practical commands and tooling to clean or share those caches, reducing disk consumption.

Gocargocompilation cache
0 likes · 14 min read
Why a Rust Project Can Swallow 75 GB of Disk Space and How to Tame Cache Bloat in Rust and Go
21CTO
21CTO
Apr 6, 2026 · Fundamentals

What’s New in Rust 1.94.1? Key Fixes and Upgrade Guide

Rust 1.94.1, released at the end of March 2026, fixes three regressions, removes an unstable Windows API, updates Cargo dependencies, adds security patches for CVE‑2026‑33055/33056, and can be upgraded via a simple rustup command or the official installer page.

Security PatchUpgradeVersion 1.94.1
0 likes · 3 min read
What’s New in Rust 1.94.1? Key Fixes and Upgrade Guide
Architecture Development Notes
Architecture Development Notes
Sep 30, 2025 · Backend Development

How to Slash Rust Build Times: Proven Strategies for Faster Compilation

This article explains why Rust builds can be slow and provides a comprehensive set of practical techniques—including crate splitting, incremental compilation, linker selection, feature flag pruning, parallel jobs, caching, custom profiles, and Docker optimizations—to dramatically reduce compilation time and improve developer productivity.

Build OptimizationCI cachingcargo
0 likes · 14 min read
How to Slash Rust Build Times: Proven Strategies for Faster Compilation
21CTO
21CTO
Sep 21, 2025 · Fundamentals

What’s New in Rust 1.90? Automatic Workspace Publishing and Platform Updates

Rust 1.90 introduces native Cargo support for publishing all crates in a workspace in the correct order, deprecates the x86_64-apple-darwin target, and switches the default Linux linker to LLD, bringing performance and compatibility improvements for developers.

LLD LinkerPlatform SupportWorkspace Publishing
0 likes · 4 min read
What’s New in Rust 1.90? Automatic Workspace Publishing and Platform Updates
BirdNest Tech Talk
BirdNest Tech Talk
Aug 28, 2024 · Backend Development

How to Provide Both Async and Sync APIs in a Rust Library Without Duplicating Code

This article walks through the challenges of offering both asynchronous and synchronous interfaces for a Rust API client, evaluates naive copy‑paste solutions, explores runtime‑based wrappers and the maybe_async procedural macro, and finally presents a clean, feature‑flagged design that avoids code duplication and compile‑time overhead.

asynccargocrate
0 likes · 23 min read
How to Provide Both Async and Sync APIs in a Rust Library Without Duplicating Code
Architecture Development Notes
Architecture Development Notes
Jul 31, 2024 · Fundamentals

Why Rust Might Be the Best Choice for WebAssembly – Pros, Cons, and Real‑World Lessons

After three years of building the Wick framework with Rust and WebAssembly, the author shares practical insights on Rust's strengths—such as its borrow checker, type system, and Clippy linting—and its drawbacks, including tooling gaps, async friction, and refactoring challenges, to help developers decide if Rust is worth the investment.

ClippyWebAssemblyWick framework
0 likes · 14 min read
Why Rust Might Be the Best Choice for WebAssembly – Pros, Cons, and Real‑World Lessons
21CTO
21CTO
Dec 19, 2022 · Fundamentals

What Should Rust Prioritize in 2023? Governance, Compiler Rewrite, and More

The article outlines Rust's 2023 priorities, emphasizing governance and leadership challenges, a potential compiler rewrite, strengthening Cargo, advancing async and unsafe programming, and fostering innovation while avoiding stagnation, all aimed at sustaining the language's reliability and performance.

GovernanceUnsafeasync
0 likes · 7 min read
What Should Rust Prioritize in 2023? Governance, Compiler Rewrite, and More
21CTO
21CTO
Jul 3, 2022 · Backend Development

Rust 1.62 Highlights: Performance Gains, Cargo Add, and Bare‑Metal Updates

Rust 1.62 introduces notable performance improvements on Linux, adds the convenient ‘cargo add’ command for managing dependencies directly from the terminal, and brings bare‑metal development enhancements such as new target support and updated APIs, with easy upgrade instructions for developers eager to adopt the latest stable release.

Bare Metalcargorust
0 likes · 2 min read
Rust 1.62 Highlights: Performance Gains, Cargo Add, and Bare‑Metal Updates
ELab Team
ELab Team
Mar 2, 2022 · Fundamentals

Master Rust Module Organization: Simple Patterns for Cross-File Imports

This tutorial walks Rust beginners through three practical ways to declare and use modules across files, explains Cargo's file‑placement conventions, and shows how to reference sibling and external modules with the `use` and `super` keywords.

Importcargocode organization
0 likes · 10 min read
Master Rust Module Organization: Simple Patterns for Cross-File Imports