Skip to content

crate std and rustc should be searchable #604

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
liigo opened this issue Feb 11, 2020 · 9 comments
Open

crate std and rustc should be searchable #604

liigo opened this issue Feb 11, 2020 · 9 comments
Labels
A-crate-search Area: A problem or feature request for searching crates

Comments

@liigo
Copy link

liigo commented Feb 11, 2020

https://docs.rs/releases/search?query=std
https://docs.rs/releases/search?query=rustc

@jyn514 jyn514 added the A-crate-search Area: A problem or feature request for searching crates label Mar 17, 2020
@jyn514
Copy link
Member

jyn514 commented Nov 13, 2021

@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.

@liigo
Copy link
Author

liigo commented Nov 15, 2021

Why not? They're all crates, I don't think some of them should be picked out to be not searchable in docs.rs.

@dcormier
Copy link

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.

@jyn514
Copy link
Member

jyn514 commented Nov 15, 2021

@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.

@jyn514
Copy link
Member

jyn514 commented Nov 15, 2021

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.

@liigo
Copy link
Author

liigo commented Nov 16, 2021

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

@liigo
Copy link
Author

liigo commented Nov 16, 2021

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

@timthelion
Copy link

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.

@jyn514
Copy link
Member

jyn514 commented May 2, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-crate-search Area: A problem or feature request for searching crates
Projects
None yet
Development

No branches or pull requests

4 participants