6 ms·
What does one do if they wish to see the actual contents of this crate? The web interface I'm looking at contains no hints at peeking inside, not even direct ar
by noswi 4y ago
What does one do if they wish to see the actual contents of this crate? The web interface I'm looking at contains no hints at peeking inside, not even direct archive download links, nothing.
I can't believe that a good way to see what's inside is to make a rust project, add the crate and then go searching around the local filesystem.
- pie_flavor 4y agoThe source is hosted alongside the documentation at https://docs.rs https://docs.rs. But far simpler than that is just going to the prominent GitHub link.
- maxbond 4y agoIn this case, there isn't a GitHub link, as there's no repository in the Cargo.toml: https://docs.rs/crate/rg/0.1.0/source/Cargo.toml https://docs.rs/crate/rg/0.1.0/source/Cargo.toml
- ripley12 4y agocrates.io is a little bare-bones sometimes. I usually use lib.rs instead: https://lib.rs/crates/rg https://lib.rs/crates/rg That has a link to source: https://docs.rs/crate/rg/0.1.0/source/ https://docs.rs/crate/rg/0.1.0/source/ And here's the Rust code: https://docs.rs/crate/rg/0.1.0/source/src/main.rs https://docs.rs/crate/rg/0.1.0/source/src/main.rs