feat: add basic auth and readonly mode

This commit is contained in:
sigoden
2022-05-26 18:06:52 +08:00
parent 1c97c01096
commit 78e7daf7cc
6 changed files with 90 additions and 20 deletions

9
Cargo.lock generated
View File

@@ -8,6 +8,12 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
[[package]]
name = "base64"
version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"
[[package]]
name = "bitflags"
version = "1.3.2"
@@ -49,9 +55,10 @@ dependencies = [
]
[[package]]
name = "duf2"
name = "duf"
version = "0.1.0"
dependencies = [
"base64",
"clap",
"futures",
"hyper",