tapes-v2 0.1.1-beta

Swap your whole rice in one command. Eject it with one more. Atomic dotfiles switching for Linux.
use serde::Deserialize;

#[derive(Debug, Deserialize)]
pub struct TapeManifest {
    pub tape: TapeInfo,
    pub hooks: Option<Hooks>,
}

#[derive(Debug, Deserialize)]
pub struct TapeInfo {
    pub name: String,
    pub desc: String,
    pub dependencies: Option<Vec<String>>,
}

#[derive(Debug, Deserialize, Default)]
pub struct Hooks {
    #[serde(default)]
    pub insert: Vec<String>,

    #[serde(default)]
    pub eject: Vec<String>,
}