Skip to main content

dependencies

Function dependencies 

Source
pub fn dependencies() -> impl Iterator<Item = (&'static str, &'static VersionReq, &'static [SmallString<[u8; 16]>])>
Expand description

Returns dependencies declared by the embedded workspace manifest.

Each item is a name, its version requirement and the features it enables, in name order. The manifest is parsed once on first access and retained for the process lifetime. Package-specific dependency tables are not merged here.

ยงPanics

Panics when the manifest is invalid or lacks its workspace section.