add firmware filter
This commit is contained in:
parent
052cddc48e
commit
477b726442
2 changed files with 194 additions and 1 deletions
|
|
@ -5,6 +5,12 @@ use crate::models::{self, recipe::Recipe01};
|
|||
use std::collections::HashMap;
|
||||
use std::{fs::File, io::Read};
|
||||
|
||||
pub trait EnumAsValue<T> {
|
||||
fn name(&self) -> String;
|
||||
fn value(&self) -> T;
|
||||
fn get(val: T) -> Self;
|
||||
}
|
||||
|
||||
// Change path here!
|
||||
|
||||
fn extract_tb_config(content: String) -> HashMap<String, String> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue