Cargo: dev-dependencies.cfg-if = 1

This commit is contained in:
Paul Stemmet 2021-09-09 18:55:54 +00:00 committed by Paul Stemmet
parent 550bff999b
commit 70fea619cb
2 changed files with 15 additions and 0 deletions

7
Cargo.lock generated
View File

@ -36,6 +36,12 @@ version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]]
name = "cfg-if"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "ctor"
version = "0.1.20"
@ -146,5 +152,6 @@ dependencies = [
"anyhow",
"atoi",
"bitflags",
"cfg-if",
"pretty_assertions",
]

View File

@ -6,6 +6,13 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
# PRIVATE! FOR USE IN TEST ONLY!
test_buffer = []
test_buffer_large = ["test_buffer"]
test_buffer_medium = ["test_buffer"]
test_buffer_small = ["test_buffer"]
[dependencies]
atoi = "0.4"
bitflags = "1"
@ -13,3 +20,4 @@ bitflags = "1"
[dev-dependencies]
anyhow = "1"
pretty_assertions = "0.7"
cfg-if = "1"