From 164dbe76c6842245c34ea67b084b2a99aa056b85 Mon Sep 17 00:00:00 2001 From: Vika Date: Tue, 19 Jul 2022 06:16:27 +0300 Subject: media: fix small files not being saved to disk properly It turns out that BufWriter requires calling `flush()` manually and doesn't do it on `drop()`. I forgot about that. --- kittybox-rs/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'kittybox-rs/Cargo.toml') diff --git a/kittybox-rs/Cargo.toml b/kittybox-rs/Cargo.toml index 556a85b..833785c 100644 --- a/kittybox-rs/Cargo.toml +++ b/kittybox-rs/Cargo.toml @@ -49,6 +49,7 @@ test-logger = "^0.1.0" # Simple helper to initialize env_logger before uni httpmock = "^0.6" # HTTP mocking library that allows you to simulate responses from HTTP based services faker_rand = "^0.1.1" # Seedable, rand-compatible generators of fake data rand = "^0.8.5" # Utilities for random number generation +tracing-test = "^0.2.2" [dependencies] async-trait = "^0.1.50" # Type erasure for async trait methods -- cgit 1.4.1