Skip to main content

storm_config/
types.rs

1use serde::{Deserialize, Serialize};
2use std::collections::HashMap;
3
4#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)]
5#[serde(rename_all = "camelCase")]
6pub struct PackageJson {
7  pub name: String,
8  pub namespace: String,
9  pub version: String,
10  pub description: String,
11  pub main: String,
12  pub scripts: HashMap<String, String>,
13  pub repository: HashMap<String, String>,
14  pub keywords: Vec<String>,
15  pub license: String,
16  pub homepage: String,
17}