features_cli/
models.rs

1use std::collections::HashMap;
2
3#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
4pub struct Change {
5    pub title: String,
6    pub author_name: String,
7    pub author_email: String,
8    pub description: String,
9    pub date: String,
10    pub hash: String,
11}
12
13#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
14pub struct Feature {
15    pub name: String,
16    pub description: String,
17    pub owner: String,
18    pub path: String,
19    pub features: Vec<Feature>,
20    pub meta: HashMap<String, serde_json::Value>,
21    pub changes: Vec<Change>,
22    pub decisions: Vec<String>,
23}