convert codegen to rust

This commit is contained in:
41666 2022-11-27 14:54:52 -05:00
parent 0568024b9e
commit 2bbb36e942
12 changed files with 547 additions and 257 deletions

14
hack/codegen/Cargo.toml Normal file
View file

@ -0,0 +1,14 @@
[package]
name = "codegen"
version = "0.1.0"
edition = "2021"
[dependencies]
reqwest = { version="0.11.13", features = ["json"] }
tera = { version = "1.17.1", default-features = false }
lazy_static = "1.4.0"
regex = "1.7.0"
futures = "0.3.25"
tokio = { version = "1.22.0", features = ["full"] }
serde = { version = "1.0.147", features = ["derive"] }
serde_json = "1.0.89"