-
Notifications
You must be signed in to change notification settings - Fork 206
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
storage: add new backend HttpProxy
#974
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,8 @@ hex = "0.4.3" | |
hmac = { version = "0.12.1", optional = true } | ||
http = { version = "0.2.8", optional = true } | ||
httpdate = { version = "1.0", optional = true } | ||
hyper = {version = "0.14.11", optional = true} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this necessary? Is There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes. |
||
hyperlocal = {version = "0.8.0", optional = true} | ||
lazy_static = "1.4.0" | ||
leaky-bucket = "0.12.1" | ||
libc = "0.2" | ||
|
@@ -27,7 +29,7 @@ serde_json = "1.0.53" | |
sha2 = { version = "0.10.2", optional = true } | ||
tar = "0.4.38" | ||
time = { version = "0.3.14", features = ["formatting"], optional = true } | ||
tokio = { version = "1.19.0", features = ["rt", "rt-multi-thread", "sync", "time"] } | ||
tokio = { version = "1.19.0", features = ["macros", "rt", "rt-multi-thread", "sync", "time"] } | ||
url = { version = "2.1.1", optional = true } | ||
vm-memory = "0.9" | ||
fuse-backend-rs = "0.10" | ||
|
@@ -47,6 +49,7 @@ backend-localfs = [] | |
backend-oss = ["base64", "httpdate", "hmac", "sha1", "reqwest", "url"] | ||
backend-registry = ["base64", "reqwest", "url"] | ||
backend-s3 = ["base64", "hmac", "http", "reqwest", "sha2", "time", "url"] | ||
backend-http-proxy = ["hyper", "hyperlocal", "http", "reqwest", "url"] | ||
|
||
[package.metadata.docs.rs] | ||
all-features = true | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"http-proxy"
or"http_proxy"
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think both are ok. But for some personal reasons, I prefer
http-proxy
.