-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support library for returning Dropshot range requests (#6963)
This library is used as a part of #1599 , I'm pulling it out of #6782 to help make the diff smaller. This PR adds a `range-requests` crate for dropshot-based range requests. Heavily inspired by @jclulow 's work in https://github.com/oxidecomputer/buildomat/blob/main/download/src/lib.rs
- Loading branch information
Showing
4 changed files
with
582 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.