this post was submitted on 22 Apr 2024
17 points (100.0% liked)

Rust

6030 readers
2 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
 

Docs.rs is great, but if you want to host yourself it's pretty easy.

top 6 comments
sorted by: hot top controversial new old
[–] secana 13 points 7 months ago (1 children)

Or use https://kellnr.io to host your crates. It automatically builds the corresponding docs and hosts them for you. Disclaimer: I'm the author.

[–] [email protected] 6 points 7 months ago (1 children)
[–] kdwarn 2 points 7 months ago (1 children)

FYI you get that with self-hosting Rust docs too.

[–] [email protected] 1 points 7 months ago (1 children)

Yup, but crates.io doesn't have a dark theme. Fortunately cargo search exists though.

[–] kdwarn 1 points 7 months ago (1 children)

Ah, I see. If you want a whole registry.

[–] [email protected] 1 points 7 months ago

I meant for the private and cached packages, not a full mirror. Having at least dark mode on all parts of the UI, not just the docs, is nice, and I wish crates.io supported it.

I don't care about dark mode enough to mirror all of crates.io, I'd rather just use a browser addon on to toggle the background and text.