Skip to content

Commit f3fd7c9

Browse files
committed
Add screenshots
1 parent 08e1ca9 commit f3fd7c9

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

posts/2024-07-26-crates-io-development-update.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ When looking at crates like [ripgrep](https://crates.io/crates/ripgrep) you will
1313

1414
This change was implemented by analyzing the uploaded crate files when they are published to crates.io. If a crate has binary targets, the names of the binaries will now be saved in our database and then conveniently displayed on the crate page:
1515

16-
> Running the above command will globally install the **rg** binary.
16+
![Dark Mode Screenshot](../../../images/2024-07-26-crates-io-development-update/cargo-install.png)
1717

1818
After shipping this feature we got notified that some library crates use binaries for local development purposes and the author would prefer to not have the binaries listed on the crate page. The cargo team has been working on a [solution](https://github.com/rust-lang/cargo/pull/13713) for this by using the `exclude` manifest field, which will be shipped soon.
1919

@@ -22,6 +22,8 @@ After shipping this feature we got notified that some library crates use binarie
2222

2323
If your operating system is set to dark mode, you may have noticed that crates.io now automatically switches to a dark user interface theme. This change was made to make the website more comfortable to use for users who prefer dark themes. If you don't like the dark theme, you can still switch back to the light theme by clicking the color theme icon in the top right corner of the page. By default, the theme will be set based on your operating system's theme settings, but you can also override this setting manually.
2424

25+
![Dark Mode Screenshot](../../../images/2024-07-26-crates-io-development-update/dark-mode.png)
26+
2527
Similar to GitHub, we now also support dark/light theme support for images in your `README.md` files:
2628

2729
```html
@@ -49,6 +51,8 @@ Our crates.io team member [@hi-rustin](https://github.com/hi-rustin) has been ve
4951

5052
Following this change, he also implemented a way to create API tokens based on existing tokens, which will make it easier to renew tokens without having to reconfigure all the permissions. The user interface on the "API tokens" settings page now shows a "Regenerate" button, which will allow you to copy/clone existing tokens with the same permissions. Similarly, the token expiry notifications will now also contain a link that directly fills in the permissions of the expiring token, so you can easily create a new token with the same permissions.
5153

54+
![Dark Mode Screenshot](../../../images/2024-07-26-crates-io-development-update/regenerate-button.png)
55+
5256

5357
## Query optimizations
5458

Loading
Loading
Loading

0 commit comments

Comments
 (0)