doku 0.21.1

A framework for documenting Rust data structures
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::prelude::*;
use std::time::Duration;

#[derive(Document)]
struct Ty {
    tt: Duration,
}

printer_test! {
    "output.json" => to_json(Ty),
    "output.toml" => to_toml(Ty),
}