Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support library for returning Dropshot range requests #6963

Merged
merged 12 commits into from
Nov 21, 2024
19 changes: 19 additions & 0 deletions Cargo.lock

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

5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ members = [
"oximeter/types",
"package",
"passwords",
"range-requests",
"rpaths",
"sled-agent",
"sled-agent/api",
Expand Down Expand Up @@ -224,6 +225,7 @@ default-members = [
"oximeter/types",
"package",
"passwords",
"range-requests",
"rpaths",
"sled-agent",
"sled-agent/api",
Expand Down Expand Up @@ -393,7 +395,9 @@ hickory-server = "0.24.1"
highway = "1.2.0"
hkdf = "0.12.4"
http = "1.1.0"
http-body = "1.0.1"
http-body-util = "0.1.2"
http-range = "0.1.5"
httpmock = "0.8.0-alpha.1"
httptest = "0.16.1"
hubtools = { git = "https://github.com/oxidecomputer/hubtools.git", branch = "main" }
Expand Down Expand Up @@ -530,6 +534,7 @@ rand = "0.8.5"
rand_core = "0.6.4"
rand_distr = "0.4.3"
rand_seeder = "0.3.0"
range-requests = { path = "range-requests" }
ratatui = "0.28.1"
rayon = "1.10"
rcgen = "0.12.1"
Expand Down
26 changes: 26 additions & 0 deletions range-requests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[package]
name = "range-requests"
description = "Helpers for making and receiving range requests"
version = "0.1.0"
edition = "2021"
license = "MPL-2.0"

[lints]
workspace = true

[dependencies]
bytes.workspace = true
dropshot.workspace = true
futures.workspace = true
http.workspace = true
http-range.workspace = true
http-body-util.workspace = true
hyper.workspace = true
thiserror.workspace = true
omicron-workspace-hack.workspace = true

[dev-dependencies]
http-body.workspace = true
proptest.workspace = true
tokio.workspace = true
tokio-util.workspace = true
Loading
Loading