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