Expand description
Crates README table: fetches user’s crates from crates.io and updates README.
Structs§
Constants§
- CRATES_
IO_ USER_ AGENT - User-Agent for crates.io API (required by crates.io crawler policy).
Functions§
- build_
crates_ table - Builds the markdown table for the crates list.
- get_
all_ crates - Fetches all crates for a user by paginating through the API.
- get_
crates - Fetches one page of crates for a user from crates.io API.
- update_
readme_ with_ table - Updates README.md by replacing the content between section markers with the new table.