feat: with example code

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-09-24 16:27:06 +02:00
parent d37462941c
commit 38f41db98c
9 changed files with 359 additions and 6 deletions

44
Cargo.lock generated
View File

@@ -538,6 +538,7 @@ dependencies = [
"anyhow",
"async-trait",
"clap 4.4.4",
"crunch-codegen",
"crunch-file",
"thiserror",
"tokio",
@@ -554,11 +555,15 @@ dependencies = [
"bytes 0.4.12",
"crunch-file",
"crunch-traits",
"genco",
"pretty_assertions",
"prost 0.12.1",
"prost-build",
"prost-types 0.12.1",
"tempfile",
"tokio",
"tracing",
"walkdir",
]
[[package]]
@@ -888,6 +893,28 @@ dependencies = [
"slab",
]
[[package]]
name = "genco"
version = "0.17.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6973ce8518068a71d404f428f6a5b563088545546a6bd8f9c0a7f2608149bc8a"
dependencies = [
"genco-macros",
"relative-path",
"smallvec",
]
[[package]]
name = "genco-macros"
version = "0.17.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c2c778cf01917d0fbed53900259d6604a421fab4916a2e738856ead9f1d926a"
dependencies = [
"proc-macro2 1.0.67",
"quote 1.0.33",
"syn 1.0.109",
]
[[package]]
name = "generic-array"
version = "0.14.7"
@@ -1604,6 +1631,12 @@ version = "0.7.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da"
[[package]]
name = "relative-path"
version = "1.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c707298afce11da2efef2f600116fa93ffa7a032b5d7b628aa17711ec81383ca"
[[package]]
name = "ring"
version = "0.16.20"
@@ -1907,6 +1940,17 @@ dependencies = [
"unicode-xid",
]
[[package]]
name = "syn"
version = "1.0.109"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
dependencies = [
"proc-macro2 1.0.67",
"quote 1.0.33",
"unicode-ident",
]
[[package]]
name = "syn"
version = "2.0.37"