Is there a de-facto way to link to Rust pojects?

⚓ Rust    📅 2025-08-27    👤 surdeus    👁️ 4      

surdeus

Today I wrote a blog-post about my own crate cellular_raza where I cited other's work by linking to the respective crates. But then I thought to myself: Why do I cite https://docs.rs and not https://crates.io or the link to their repositories? So this spawned the question in the title.

Observations (Variants)

  1. If we create links with rustdoc i.e. // [serde_json] it will link to the appropriate version at docs.rs/serde_json.

  2. But if a project consists of multiple crates which can be combined, sometimes it makes more sense to cite the repository which might contain said crates.This could be said about my own project GitHub - jonaspleyer/cellular_raza: Cellular Agent-based Modeling from a Clean Slate.

  3. However, I have also seen people who cite the crate at crates.io.

So my (very open) question is: Is there a de-facto way to link to a crate? How do you do it generally?

I am also interested since I am the author of crate2bib which provides simple BibLaTeX entries when given a crate name. It would be interesting to know which link one would expect in such a situation.

4 posts - 4 participants

Read full topic

🏷️ Rust_feed