Compare commits
3 Commits
1b4ce2d622
...
927c2b90bd
Author | SHA1 | Date | |
---|---|---|---|
927c2b90bd | |||
c9491936fc | |||
0644e4ec12 |
1
.rustc_info.json
Normal file
1
.rustc_info.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{"rustc_fingerprint":16380765819736665028,"outputs":{"17747080675513052775":{"success":true,"status":"","code":0,"stdout":"rustc 1.85.1 (4eb161250 2025-03-15)\nbinary: rustc\ncommit-hash: 4eb161250e340c8f48f66e2b929ef4a5bed7c181\ncommit-date: 2025-03-15\nhost: x86_64-unknown-linux-gnu\nrelease: 1.85.1\nLLVM version: 19.1.7\n","stderr":""}},"successes":{}}
|
@ -8,7 +8,7 @@ edition = "2024"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
clap = { version = "4.0.29", features = ["derive", "env"] }
|
clap = { version = "4.0.29", features = ["derive", "env"] }
|
||||||
tar = "0.4.38"
|
tar = "0.4.38"
|
||||||
actix-web = "4"
|
actix-web = "4.10.2"
|
||||||
actix = "0.13.0"
|
actix = "0.13.0"
|
||||||
lazy_static = "1.4.0"
|
lazy_static = "1.4.0"
|
||||||
log = "0.4.17"
|
log = "0.4.17"
|
||||||
|
2
README.md
Normal file
2
README.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Heavy file server
|
||||||
|
Server that streams the content of a directory as a streamed tar file.
|
10
src/main.rs
10
src/main.rs
@ -182,3 +182,13 @@ async fn main() -> std::io::Result<()> {
|
|||||||
.run()
|
.run()
|
||||||
.await
|
.await
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(test)]
|
||||||
|
mod test {
|
||||||
|
use crate::Args;
|
||||||
|
#[test]
|
||||||
|
fn verify_cli() {
|
||||||
|
use clap::CommandFactory;
|
||||||
|
Args::command().debug_assert()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user