How can I set a custom icon for my crate in

I'd like to set a custom icon, that replaces the default "R in a gear" icon that appears at the top-left of

What is the option to override the default icon?

You can use #![doc(html_logo_url = "")]. If you don't have a website to host it on, you can use to refer to a logo inside your repo.

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.