Rust Community Wiki talk:Where should I link to when I want to name a crate

= If a crate doesn't have a home page, then where should we link to? =

We're trying to pick a good default. Our obvious options, for crates that don't have their own home page, are:


 * Source repository (probably GitHub), such as https://github.com/rust-ammonia/ammonia
 * Crates.io, such as https://crates.io/crates/ammonia
 * Lib.rs, such as https://lib.io/crates/ammonia
 * Docs.rs crate, such as https://docs.rs/crate/ammonia/3.1.0
 * Docs.rs doc, such as https://docs.rs/ammonia/3.1.0/ammonia/

Some things to keep in mind:


 * There's little point in linking to more than one. It creates choice anxiety for unfamiliar users, and it's pointless, since all of these pages are mostly just listing the README contents, and each one usually links to the others anyway (GitHub pages will usually link to the docs, at least, while crates.io and docs.rs both link to each other and to GitHub, and libs.rs usually links to all of them).
 * Crates.io is the slowest out of all of these options in most tests: https://www.webpagetest.org/video/compare.php?tests=200507_SB_4f4e2600f8168b13792559f858ea40eb,200507_RE_0d4584973781970dc07380bb617d2965,200507_08_8400d9685ba8e89ce7c5e91c2a0d46ab
 * To achieve best results with docs.rs, we should include a version number, while the others have good, non-redirect, new-version pages

Please sign your posts with the --~ markup

--06:13, 7 May 2020 (UTC)