From ba0d67afcb1eb14ef4adfb97c8f58d092f9078ac Mon Sep 17 00:00:00 2001 From: Ximon Eighteen <3304436+ximon18@users.noreply.github.com> Date: Mon, 9 Dec 2024 11:55:04 +0100 Subject: [PATCH] Re-order dev dependencies alphabetically and use the pretty_assertions crate to get more readable `assert_eq()` diff output. --- Cargo.lock | 25 ++++++++++++++++++++++++- Cargo.toml | 8 ++++---- 2 files changed, 28 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ccf1f46..00a12d1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -312,6 +312,12 @@ dependencies = [ "powerfmt", ] +[[package]] +name = "diff" +version = "0.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" + [[package]] name = "dnst" version = "0.1.0" @@ -324,6 +330,7 @@ dependencies = [ "lazy_static", "lexopt", "octseq", + "pretty_assertions", "regex", "ring", "tempfile", @@ -334,7 +341,7 @@ dependencies = [ [[package]] name = "domain" version = "0.10.3" -source = "git+https://github.com/NLnetLabs/domain?branch=sortedrecords-zonemd-remove-replace-plus-pr444#64da5619798b3a0570c9e6dad2ae4c63359791d3" +source = "git+https://github.com/NLnetLabs/domain?branch=sortedrecords-zonemd-remove-replace-plus-pr444#31fabac5e8e3086dfcb3545b03aef019a3c6e9be" dependencies = [ "arc-swap", "bytes", @@ -776,6 +783,16 @@ dependencies = [ "zerocopy", ] +[[package]] +name = "pretty_assertions" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ae130e2f271fbc2ac3a40fb1d07180839cdbbe443c7a27e1e3c13c5cac0116d" +dependencies = [ + "diff", + "yansi", +] + [[package]] name = "proc-macro2" version = "1.0.92" @@ -1468,6 +1485,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" +[[package]] +name = "yansi" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049" + [[package]] name = "zerocopy" version = "0.7.35" diff --git a/Cargo.toml b/Cargo.toml index 3e59e06..9f28312 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,7 +39,6 @@ lexopt = "0.3.0" octseq = "0.5.2" ring = "0.17.8" tokio = "1.40.0" -#tracing-subscriber = { version = "0.3.19", features = ["env-filter"] } # This is a workaround. lazy_static 1.0.0 fails to compile, but sharded-slab # still uses it. And sharded-slab is used by tracing-subscriber, which is @@ -48,9 +47,10 @@ _unused_lazy_static = { package = "lazy_static", version = "1.0.2" } [dev-dependencies] const_format = " 0.2.33" -test_bin = "0.4.0" -tempfile = "3.14.0" -regex = "1.11.1" domain = { version = "*", git = "https://github.com/NLnetLabs/domain.git", branch = "sortedrecords-zonemd-remove-replace-plus-pr444", features = [ "unstable-stelline", ] } +pretty_assertions = "1.4.1" +regex = "1.11.1" +tempfile = "3.14.0" +test_bin = "0.4.0"