Skip to content

Commit

Permalink
Add an integration with schemars to rpcperf-dataspec (iopsystems#147)
Browse files Browse the repository at this point in the history
* Update metriken to v0.5

* Add a schemars feature to rpcperf-dataspec

This adds derives for schemars::JsonSchema on any type which derives
Serialize or Deserialize. These are all locked behind a "schemars"
feature.
  • Loading branch information
swlynch99 authored Jan 18, 2024
1 parent b4a8cb4 commit 47f1391
Show file tree
Hide file tree
Showing 5 changed files with 126 additions and 114 deletions.
127 changes: 112 additions & 15 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ repository = { workspace = true }
license = { workspace = true }

[workspace.dependencies]
histogram = { version = "0.8.3", features = ["serde-serialize"] }
histogram = { version = "0.9.0", features = ["serde"] }
serde = { version = "1.0.185", features = ["derive"] }

[dependencies]
Expand All @@ -34,7 +34,7 @@ histogram = { workspace = true }
http-body-util = "0.1.0-rc.3"
humantime = "2.1.0"
hyper = { version = "1.0.0-rc.4", features = ["http1", "http2", "client"]}
metriken = "0.3.3"
metriken = "0.5.1"
mio = "0.8.8"
momento = "0.32.1"
pelikan-net = "0.1.0"
Expand Down Expand Up @@ -63,6 +63,7 @@ zipf = "7.0.1"

[workspace]
members = [
".",
"lib/dataspec",
]

Expand Down
96 changes: 0 additions & 96 deletions lib/dataspec/Cargo.lock

This file was deleted.

Loading

0 comments on commit 47f1391

Please sign in to comment.