Closed
Description
I just tried to publish a crate containing features with names that have dots in them (see e.g. here).
On cargo publish
I got the following: api errors: invalid upload request: ApplicationError("invalid crate name specified: windows.web")
, and there are actually several issues:
- The message confusingly complains about the crate name
- It should complain earlier, not on
publish
, when you think that everything should work - Is there a good reason that dots are not allowed?
By the way this also affects @retep998's 0.3 rewrite of winapi, where I originally got the idea for these features names: https://github.com/retep998/winapi-rs/blob/dev/Cargo.toml