about summary refs log tree commit diff
path: root/kittybox-rs/Cargo.lock
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2022-07-19 06:16:27 +0300
committerVika <vika@fireburn.ru>2022-07-19 06:16:27 +0300
commit164dbe76c6842245c34ea67b084b2a99aa056b85 (patch)
treeaa7e286bcb3fd187a51758dd6fed6660d4d1a99e /kittybox-rs/Cargo.lock
parent89ed681225e8287cb7ca8d5e92b8ec62c1dd990f (diff)
downloadkittybox-164dbe76c6842245c34ea67b084b2a99aa056b85.tar.zst
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.
Diffstat (limited to 'kittybox-rs/Cargo.lock')
-rw-r--r--kittybox-rs/Cargo.lock24
1 files changed, 24 insertions, 0 deletions
diff --git a/kittybox-rs/Cargo.lock b/kittybox-rs/Cargo.lock
index 716b10d..e325b54 100644
--- a/kittybox-rs/Cargo.lock
+++ b/kittybox-rs/Cargo.lock
@@ -1536,6 +1536,7 @@ dependencies = [
  "tracing",
  "tracing-log",
  "tracing-subscriber",
+ "tracing-test",
  "tracing-tree",
  "url",
 ]
@@ -3561,6 +3562,29 @@ dependencies = [
 ]
 
 [[package]]
+name = "tracing-test"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f6992d8a98f570be1c729fe8b6f464fb18c4117054c10f1f952c22d533b48a74"
+dependencies = [
+ "lazy_static",
+ "tracing-core",
+ "tracing-subscriber",
+ "tracing-test-macro",
+]
+
+[[package]]
+name = "tracing-test-macro"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "719fa6c65bada6a7a3b8466702ec6fb4c4189b69339f78c9e597f796e493712e"
+dependencies = [
+ "lazy_static",
+ "quote 1.0.18",
+ "syn 1.0.93",
+]
+
+[[package]]
 name = "tracing-tree"
 version = "0.2.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"