cargo categories information in Cargo.toml can be wrong
I just got this error while trying to publish Arti 1.2.5:
Uploading tor-memquota v0.20.0 (/volatile/rustcargo/Rustup/Arti/arti/crates/tor-memquota)
error: failed to publish to registry at https://crates.io
Caused by:
the remote server responded with an error (status 400 Bad Request): The following category slugs are not currently supported on crates.io: memory, allocation
See https://crates.io/category_slugs for a list of supported slugs.
Getting this error at this stage is deeply unhelpful. We should check this in CI instead.