quick-doc-viewer 0.1.0

A quick documentation viewer for developers to preview documentations
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use tide::prelude::*;

#[derive(Deserialize)]
#[serde(default)]
pub struct Page {
    pub raw: bool,
    pub format: String,
}

impl Default for Page {
    fn default() -> Self {
        Self {
            raw: false,
            format: "".to_string(),
        }
    }
}