1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-04 02:24:12 +02:00
This commit is contained in:
Robin Appelman 2021-07-25 17:26:53 +02:00
commit 93b51bff70
29 changed files with 15360 additions and 2187 deletions

7
src/bin/schema.rs Normal file
View file

@ -0,0 +1,7 @@
use schemars::schema_for;
use tf_demo_parser::demo::packet::Packet;
fn main() {
let schema = schema_for!(Packet);
println!("{}", serde_json::to_string_pretty(&schema).unwrap());
}