You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
viki/src/data/index.rs

16 lines
408 B
Rust

use serde::Deserialize;
#[derive(Clone, Debug, Deserialize)]
pub struct IndexData {
/// the default template that is used for rendering
pub default_template: Option<String>,
/// files that are included for rendering
#[serde(default)]
pub include_files: Vec<String>,
/// files that are explicitly excluded from rendering
#[serde(default)]
pub excluded_files: Vec<String>,
}