pub fn split_pkg_spec(spec: &str) -> Option<(&str, &str)>
Split a <pkg>@<rest> spec into (name, rest), handling scoped names (@scope/pkg). Returns None if there is no @ separator.
<pkg>@<rest>
(name, rest)
@scope/pkg
None
@