crates.io
crates.io copied to clipboard
https://index.crates.io/ Returns an error, modify https://crates.io/data-access
Current Behavior
https://crates.io/data-access#crate-index Says to go to index.crates.io, but returns :
<Error>
<Code>NoSuchKey</Code>
<Message>The specified key does not exist.</Message>
<Key>index.html</Key>
<RequestId>9N18CM92BR5XTWKS</RequestId>
<HostId>q4ty6zmoEGQcE1NRdlL1qFT0U1yIjTb7xPLi1qBBBPYr+KxOgFlUFmifgWnTMcZWwgXVy4x9R1jdxnnCpzh6mA==</HostId>
</Error>
Expected Behavior
Expected a valid site
Steps To Reproduce
Go to : https://index.crates.io/
Environment
- Browser: Chrome 124.0.6367.119 (Build officiel) (64 bits) (cohort: Control)
- OS: Windows 10
Anything else?
The API is set up and works correctly. The only thing missing is a html page. Given that we link to the root, and the number of people been confused by this, perhaps we should add a index.html to the S3 bucket explaining how API is to be used.
crates.io/data-access#crate-index Says to go to index.crates.io, but returns :
From the crate-index page, it gives an example:
You need to specify the crate name in the index URL.
perhaps we should add a index.html to the S3 bucket explaining how API is to be used.
Sounds good to me! It would help users understand how to access the index by crate name.
https://github.com/rust-lang/crates.io-index/pull/25 added a README file to the index repository and I've uploaded a rendered HTML version of it to the sparse index. In other words: https://index.crates.io/ shows a short description now.