[Yunq] Codegen example for yunq implementation.

This commit is contained in:
Drew Galbraith 2024-06-11 15:11:56 -07:00
parent 12fb84cfad
commit d6833be0ad
5 changed files with 116 additions and 11 deletions

35
yunq/rust/Cargo.lock generated
View file

@ -97,6 +97,28 @@ version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422"
[[package]]
name = "genco"
version = "0.17.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "afac3cbb14db69ac9fef9cdb60d8a87e39a7a527f85a81a923436efa40ad42c6"
dependencies = [
"genco-macros",
"relative-path",
"smallvec",
]
[[package]]
name = "genco-macros"
version = "0.17.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "553630feadf7b76442b0849fd25fdf89b860d933623aec9693fed19af0400c78"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "heck"
version = "0.5.0"
@ -127,6 +149,18 @@ dependencies = [
"proc-macro2",
]
[[package]]
name = "relative-path"
version = "1.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ba39f3699c378cd8970968dcbff9c43159ea4cfbd88d43c00b22f2ef10a435d2"
[[package]]
name = "smallvec"
version = "1.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
[[package]]
name = "strsim"
version = "0.11.1"
@ -234,4 +268,5 @@ name = "yunq"
version = "0.1.0"
dependencies = [
"clap",
"genco",
]