Skip to main content

is_stdlib_name

Function is_stdlib_name 

Source
pub fn is_stdlib_name(name: &str) -> bool
Expand description

True when name is a Rust standard library crate (std / core / alloc).

Accepts raw strings for HTML scrape / allowlist helpers. Prefer CrateName::is_stdlib when a validated name is already in hand.