mirror of https://github.com/LemmyNet/lemmy
Adjust the config check to be a separate faster to compile binary (#3313)
parent
a39e948b52
commit
9406c3ad2b
@ -0,0 +1,16 @@
|
||||
use doku::json::{AutoComments, CommentsStyle, Formatting, ObjectsStyle};
|
||||
use lemmy_utils::settings::structs::Settings;
|
||||
fn main() {
|
||||
let fmt = Formatting {
|
||||
auto_comments: AutoComments::none(),
|
||||
comments_style: CommentsStyle {
|
||||
separator: "#".to_owned(),
|
||||
},
|
||||
objects_style: ObjectsStyle {
|
||||
surround_keys_with_quotes: false,
|
||||
use_comma_as_separator: false,
|
||||
},
|
||||
..Default::default()
|
||||
};
|
||||
println!("{}", doku::to_json_fmt_val(&fmt, &Settings::default()));
|
||||
}
|
Loading…
Reference in New Issue