trunk 0.22.0-beta.2

Build, bundle & ship your Rust WASM application to the web.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[derive(Debug, Clone, PartialEq, Eq, serde::Deserialize)]
pub struct NodePackageInformation {
    pub name: String,
    pub version: String,
    #[serde(rename = "dist")]
    pub distribution: NodePackageDistribution,
}

#[derive(Debug, Clone, PartialEq, Eq, serde::Deserialize)]
pub struct NodePackageDistribution {
    pub shasum: String,
    pub tarball: String,
    #[serde(rename = "fileCount")]
    pub file_count: usize,
    pub integrity: String,
}