Compare commits

...

3 Commits

Author SHA1 Message Date
927c2b90bd Update Rust crate actix-web to 4.10.2
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2025-04-01 02:04:32 +00:00
c9491936fc Add README
All checks were successful
continuous-integration/drone/push Build is passing
2025-04-01 00:11:55 +02:00
0644e4ec12 Auto-test command line arguments configuration
All checks were successful
continuous-integration/drone/push Build is passing
2025-03-31 23:58:20 +02:00
4 changed files with 14 additions and 1 deletions

1
.rustc_info.json Normal file
View 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":{}}

View File

@ -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
View File

@ -0,0 +1,2 @@
# Heavy file server
Server that streams the content of a directory as a streamed tar file.

View File

@ -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()
}
}