1 2 3 4 5 6 7 8 9 10
use serde::Serialize; use toml; pub type Bom = Vec<Entry>; #[derive(Serialize, Debug)] pub struct Entry { pub name: String, pub metadata: toml::value::Table, }
1 2 3 4 5 6 7 8 9 10
use serde::Serialize; use toml; pub type Bom = Vec<Entry>; #[derive(Serialize, Debug)] pub struct Entry { pub name: String, pub metadata: toml::value::Table, }