~iany/ Menu
  • Series
  • Tags
  1. Home
  2. Tags
  3. Cargo

Cargo

A collection of 2 articles

Gotchas to Publish Rust Crates in a Workspace

It is recommended to split a huge Rust project into crates and manage them in a workspace. I’m currently working on a project which consists of about 60 crates. It works well so far until I try to publish these crates to crates.io. I will list the problems I have met and solutions or workarounds I have adopted.

Updated Nov 19, 2025  •  3 min read

How to Mock Time in Rust Tests and Cargo Gotchas We Met

How to mock time in Rust tests and Cargo gotchas we met. I’m working in a team developing a big Rust project recently. The project has some features depending on time. We, the developers, want to be able to mock the time in the test. In this post, I’ll talk about the problems we have met, mostly related to Cargo.

Updated Nov 19, 2025  •  4 min read

© 2026  •  ~iany/  •  CC-BY-SA 4.0