archival 0.13.1

The simplest CMS in existence
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::io::Result;
fn main() -> Result<()> {
    #[cfg(feature = "proto")]
    {
        let mut config = prost_build::Config::new();
        // Derive serde for all generated types so we can convert via serde JSON.
        config.type_attribute(".", "#[derive(serde::Serialize, serde::Deserialize)]");
        config.compile_protos(&["proto/archival.proto"], &["proto"])?;
    }
    Ok(())
}