summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-06-15 17:31:16 +0200
committerMichał Górny <mgorny@gentoo.org>2023-06-18 16:57:46 +0200
commitac817be5fd5756bcd017e41321cf5731cd291c54 (patch)
tree11d6e77bfe8841d9f0de426e6e7274a9f7f8672b /dev-ruby/bcrypt-ruby
parentcargo.eclass: Optimize GIT_CRATES check (diff)
downloadgentoo-ac817be5fd5756bcd017e41321cf5731cd291c54.tar.gz
gentoo-ac817be5fd5756bcd017e41321cf5731cd291c54.tar.bz2
gentoo-ac817be5fd5756bcd017e41321cf5731cd291c54.zip
cargo.eclass: Support separating crate names/versions via `@`
Support specifying crate names and versions separated by `@` character rather than `-`. Since `@` are not valid in crate names, this makes splitting the tokens trivial and free of regular expressions. Effectively, the `@` variant is roughly 180% faster: ``` * CRATES with '@' separator real 952 it/s user 952 it/s * CRATES with '-' separator real 339 it/s user 339 it/s ``` Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-ruby/bcrypt-ruby')
0 files changed, 0 insertions, 0 deletions