Open liigo opened 4 years ago
@liigo what is the goal of making those crates searchable? The first hit for "rust std" on google is already https://doc.rust-lang.org/std, and it's not like you can confuse the standard library with another crate.
Why not? They're all crates, I don't think some of them should be picked out to be not searchable in docs.rs.
Coming from golang, I can say it's a really nice developer experience to be able to just go to the godocs and search for docs from any package, including the standard library. I often miss this when using docs.rs.
It took many months of Rust to get used to doing a separate search for stuff in std
, but it's definitely not as nice as just searching where the docs are for all the other crates.
@dcormier this isn't asking about searching items within the standard library (like std::process
or something - see #494) - it's about searching for crates called std
. I'm not sure why you would ever do that instead of just typing docs.rs/std
into the browser.
I don't think some of them should be picked out to be not searchable in docs.rs.
Well, it's not like we've intentionally singled them out - they aren't published to crates.io.
this isn't asking about searching items within the standard library
they aren't published to crates.io.
that was already requested but sadly refused
they aren't published to crates.io
they are published to an all-known position
edit: they are officially published to an all-known position
I want this because I prefer not to use google and instead use firefox's multiple search engines feature. When I want rust docs, I use docs.rs search feature. I'm surprised that:
https://docs.rs/releases/search?query=std%3A%3Afs
Doesn't work.
FWIW https://docs.rs/std::fs redirects to https://doc.rust-lang.org/stable/std/?search=fs
https://docs.rs/releases/search?query=std https://docs.rs/releases/search?query=rustc