feat: with base envelope

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-09-17 00:31:43 +02:00
parent c6b903fa58
commit 795d009cd0
10 changed files with 1279 additions and 1 deletions

View File

@@ -0,0 +1,27 @@
[package]
name = "crunch-envelope"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bench]]
name = "envelope_benchmark"
harness = false
[features]
default = ["json"]
json = ["dep:serde", "dep:serde_json", "dep:base64"]
[dependencies]
capnp = "0.17.2"
thiserror.workspace = true
serde = { version = "1.0.188" ,optional = true, features = ["derive"] }
serde_json = {version = "1.0.107",optional = true}
base64 = {version = "0.21.4",optional = true}
[build-dependencies]
capnpc = "0.17.2"
[dev-dependencies]
criterion = { version = "0.4" }