Skip to content

Commit b18be99

Browse files
committed
Make anyhow an optional build-dependency
The `anyhow` dependency is only used if `download` is enabled, same as all the other optional `build-dependencies`.
1 parent 4016843 commit b18be99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ serde_json = { version = "1.0.117" }
2424
env_logger = "0.9.0"
2525

2626
[build-dependencies]
27+
anyhow = { version = "1.0.66", optional = true }
2728
bitcoin_hashes = { version = ">= 0.13, <= 0.14", optional = true }
2829
flate2 = { version = "1.0", optional = true }
2930
tar = { version = "0.4", optional = true }
3031
minreq = { version = "2.9.1", default-features = false, features = ["https"], optional = true }
3132
zip = { version = "0.6", optional = true }
32-
anyhow = "1.0.66"
3333

3434
# Please note, in this crate the version features are mutally exclusive.
3535
#

0 commit comments

Comments
 (0)