-
Notifications
You must be signed in to change notification settings - Fork 611
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Behaviour of api for crate names #283
Comments
Yeah this is currently intentional because it helps with some renames we've done in the past. The JSON returned should have the full name of the crate, however. |
@alexcrichton, do you plan on supporting this "forever"? I.e., can cargo-edit rely on this behaviour to cleverly outsource crate name normalisation? |
Yeah I suspect this won't change |
Cool. We'll be using that in cargo-add, then :)
|
Is the treatment of crate names (particularly underscores and hyphens) something that can be relied on?
So in this case, error_def is the correct crate name, but asking for error-def also gives a 200. Is this documented or am I missing something?
The text was updated successfully, but these errors were encountered: