17

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@programming.dev 13 points 5 months ago

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.

[-] sugar_in_your_tea@sh.itjust.works 6 points 5 months ago
[-] kdwarn@programming.dev 2 points 5 months ago

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

[-] sugar_in_your_tea@sh.itjust.works 1 points 5 months ago

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

[-] kdwarn@programming.dev 1 points 5 months ago

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

[-] sugar_in_your_tea@sh.itjust.works 1 points 5 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.

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

Rust

5845 readers
8 users here now

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

Wormhole

!performance@programming.dev

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