Hello Michał,

On Fri, Jun 16, 2023 at 3:09 PM Michał Górny <mgo...@gentoo.org> wrote:
> Support specifying crate names and versions separated by forward slashes
> rather than hyphens.  Since slashes are not valid in crate names, this
> makes splitting the tokens trivial and free of regular expressions.
> Effectively, the slash variant is roughly 180% faster:

As a developer using Rust I want to note that Cargo has a concept of
"package ID specification"[1] that usually uses pkgname@version
syntax, but AFAIK there's no prior art for using pkgname/version in
the ecosystem. Could it make sense to use pkgname@version for
consistency?

Regards,
Denis Lisov.

[1]: https://doc.rust-lang.org/cargo/reference/pkgid-spec.html

Reply via email to