diff --git a/crates/ptth_kv/src/main.rs b/crates/ptth_kv/src/main.rs index 9c75e94..1e4f0b2 100644 --- a/crates/ptth_kv/src/main.rs +++ b/crates/ptth_kv/src/main.rs @@ -287,6 +287,13 @@ impl StatusValue { #[tokio::main] async fn main () -> Result <(), hyper::Error> { + use std::time::Duration; + + use tokio::{ + spawn, + time::interval, + }; + let service = HttpService::new (Store::new (vec! [ (b"key_dir".to_vec (), StatusQuotas { max_keys: 4, diff --git a/docs/build-artifacts.md b/docs/build-artifacts.md index 6cc5298..ff219c1 100644 --- a/docs/build-artifacts.md +++ b/docs/build-artifacts.md @@ -1,5 +1,8 @@ # Build artifact log +I'm trying to understand how the different dependencies like Tokio and Hyper +affect artifact size. + ## 2021-01Jan-03 Git commit 88e7839841ad812f5645a30503955511ac107bdd @@ -11,7 +14,7 @@ Sizes: - ptth_relay gzipped: 3 MB - ptth_server gzipped: 5 MB -Git commit ??? +Git commit 3d11d0eea561690cd1ce4e2c9225858b870ec8a5 Sizes: