Skip to content

Commit 661b521

Browse files
committed
chore: [torrust#639] add cargo dependency: hex_literal
It allows simplifying the wasy we build InfoHashes from hex strings: ```rust let info_hash = InfoHash(hex!("9c38422213e30bff212b30c360d26f9a02136422")); // # DevSkim: ignore DS173237 ```
1 parent 1b92b77 commit 661b521

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Cargo.lock

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ url = "2.5.0"
7474
tempfile = "3.9.0"
7575
clap = { version = "4.4.18", features = ["derive", "env"]}
7676
anyhow = "1.0.79"
77+
hex-literal = "0.4.1"
7778

7879
[dev-dependencies]
7980
criterion = { version = "0.5.1", features = ["async_tokio"] }

0 commit comments

Comments
 (0)