Skip to main content

validate

Function validate 

Source
pub fn validate()
Expand description

Validate that the consumer’s dependencies match this battery pack’s specs.

Call from the consumer’s build.rs:

fn main() {
    cli_battery_pack::validate();
}