Hosting Rust crate documentation with Nginx (
from to on 22 Apr 2024 13:49 is great, but if you want to host yourself it’s pretty easy.


threaded - newest on 22 Apr 2024 18:30 collapse

Or use to host your crates. It automatically builds the corresponding docs and hosts them for you. Disclaimer: I’m the author. on 22 Apr 2024 22:45 collapse

Dark mode

I’m sold. on 23 Apr 2024 14:11 collapse

FYI you get that with self-hosting Rust docs too. on 23 Apr 2024 15:04 collapse

Yup, but doesn’t have a dark theme. Fortunately cargo search exists though. on 23 Apr 2024 15:22 collapse

Ah, I see. If you want a whole registry. on 24 Apr 2024 00:28 collapse

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 supported it.

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