From 512455da9609408de88173bdca5e23d9c92aadb3 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 22 May 2023 07:49:58 -0400 Subject: [PATCH] Upgrade serde_with dependency to 3.0.0 --- Cargo.lock | 18 ++++++++++++------ crates/tor-linkspec/Cargo.toml | 2 +- crates/tor-netdoc/Cargo.toml | 2 +- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1608f84ad..1609dde33 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -554,6 +554,12 @@ version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" +[[package]] +name = "base64" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f1e31e207a6b8fb791a38ea3105e6cb541f55e4d029902d3039a4ad07cc4105" + [[package]] name = "base64ct" version = "1.6.0" @@ -2448,7 +2454,7 @@ version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fd56cbd21fea48d0c440b41cd69c589faacade08c992d9a54e471b79d0fd13eb" dependencies = [ - "base64", + "base64 0.13.1", "once_cell", "regex", ] @@ -3136,11 +3142,11 @@ dependencies = [ [[package]] name = "serde_with" -version = "2.3.3" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07ff71d2c147a7b57362cead5e22f772cd52f6ab31cfcd9edcd7f6aeb2a0afbe" +checksum = "9f02d8aa6e3c385bf084924f660ce2a3a6bd333ba55b35e8590b321f35d88513" dependencies = [ - "base64", + "base64 0.21.1", "chrono", "hex", "indexmap", @@ -3152,9 +3158,9 @@ dependencies = [ [[package]] name = "serde_with_macros" -version = "2.3.3" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "881b6f881b17d13214e5d494c939ebab463d01264ce1811e9d4ac3a882e7695f" +checksum = "edc7d5d3932fb12ce722ee5e64dd38c504efba37567f0c402f6ca728c3b8b070" dependencies = [ "darling 0.20.1", "proc-macro2", diff --git a/crates/tor-linkspec/Cargo.toml b/crates/tor-linkspec/Cargo.toml index fc1b125ba..de1e336cb 100644 --- a/crates/tor-linkspec/Cargo.toml +++ b/crates/tor-linkspec/Cargo.toml @@ -41,7 +41,7 @@ hex = "0.4" itertools = "0.10.1" safelog = { path = "../safelog", version = "0.3.0" } serde = { version = "1.0.103", features = ["derive"] } -serde_with = "2.0.1" +serde_with = "3.0.0" strum = { version = "0.24", features = ["derive"] } thiserror = "1" tor-basic-utils = { path = "../tor-basic-utils", version = "0.7.0" } diff --git a/crates/tor-netdoc/Cargo.toml b/crates/tor-netdoc/Cargo.toml index 73044ec6f..c3f2fa87c 100644 --- a/crates/tor-netdoc/Cargo.toml +++ b/crates/tor-netdoc/Cargo.toml @@ -94,7 +94,7 @@ once_cell = "1" phf = { version = "0.11.1", features = ["macros"] } rand = { version = "0.8", optional = true } serde = "1.0.103" -serde_with = "2.0.1" +serde_with = "3.0.0" signature = "1" smallvec = "1.10" thiserror = "1"