pub fn list_enabled_with_path(cargo_toml_path: &str) -> Vec<String>Expand description
Returns the list of enabled features as a Vec<String>.
Same as list_enabled but allows specifying a custom path to Cargo.toml.
§Panics
Panics if the specified file cannot be read.
§Arguments
cargo_toml_path- Path to theCargo.tomlfile
§Returns
A Vec<String> containing the names of the enabled features, ordered with default first and then sorted alphabetically.