cargo_
util_
schemas
1.83.0-beta.5
(eb6e3fa1a 2024-11-08)
In cargo_
util_
schemas::
restricted_
names
cargo_util_schemas
::
restricted_names
Function
validate_package_name
Copy item path
source
pub(crate) fn validate_package_name( name: &
str
, ) ->
Result
<
()
,
NameValidationError
>