compmd-host 0.12.0

What every host of CompMD documents shares: the bundle and its manifest, the pack store, and the serving contract, for any platform's adapter. In development.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! A library the frames offer component code.

use semver::Version;
use serde::{Deserialize, Serialize};

/// A library the frames offer: an npm package the app installs, which needn't be scoped (`d3`).
#[derive(Clone, Debug, PartialEq, Eq, Deserialize, Serialize)]
pub struct Library {
    /// Its npm name.
    pub name: String,
    /// The version the bundle holds.
    pub version: Version,
}