Skip to main content

component

Function component 

Source
pub fn component(
    name: &str,
    enabled: impl FnOnce() -> Option<Vec<String>>,
) -> Option<String>
Expand description

enabled is asked only for a component behind a feature, as reading it runs Cargo.