module

Noir::CargoDependency

Whether a Cargo.toml declares a crate as a dependency, read from the manifest's keys and not from any mention of the name. The one reader both the Rust detectors and RustEngine's crate gate use, so a detector never fires on less than the gate accepts ("detect loose, gate strict").

axum = "0.7" axum.workspace = true "axum" = "0.7" web = { package = "axum" } [dependencies.axum] [target.'cfg(unix)'.dependencies.axum]

Instance methods

declares?(manifest : String, name : String) : Bool
Source
pattern(name : String) : Regex
Source