Skip to main content

discover_plugins

Function discover_plugins 

Source
pub fn discover_plugins(project_root: &Path) -> Vec<String>
Expand description

The plugins available in this project: every plugins/<name>/ that holds a Cargo.toml.

Reads the disk, not main.rs. A plugin you scaffolded but haven’t registered yet is still a legitimate place to put code.