Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rust-lang/crates.io
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: rust-lang/crates.io
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: superuser-super-user-view
Choose a head ref
  • 1 commit
  • 7 files changed
  • 1 contributor

Commits on Jul 5, 2025

  1. Add an API route for admins to assess crates

    Connects to #10387.
    
    This API route, under `/private/` rather than `v1`, will make it a lot
    easier to assess whether crates contain useful functionality or are
    squatting.
    
    This is only the backend; some of the functionality described in the
    issue will be frontend-only, but I wanted to get the API in first.
    
    The API route will only return data if the currently authenticated user
    is an admin. This is important because the crate owner's verified email
    address is part of the returned data so that the admin can contact the
    owner if necessary.
    
    Another reason this route is limited to admins is that some of the
    queries may be slow.
    carols10cents committed Jul 5, 2025
    Configuration menu
    Copy the full SHA
    02879a3 View commit details
    Browse the repository at this point in the history
Loading