Add tidy exceptions for crossbeam-*

This commit is contained in:
Fernando Jiménez Moreno 2018-09-11 11:49:35 +02:00
parent f423ede07f
commit 7a09477d64
2 changed files with 6 additions and 1 deletions

2
Cargo.lock generated
View file

@ -1677,7 +1677,7 @@ dependencies = [
"fnv 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.42 (registry+https://github.com/rust-lang/crates.io-index)",
"mio 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)",
"mio 0.6.15 (registry+https://github.com/rust-lang/crates.io-index)",
"rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.66 (registry+https://github.com/rust-lang/crates.io-index)",
"tempfile 3.0.2 (registry+https://github.com/rust-lang/crates.io-index)",

View file

@ -14,6 +14,7 @@ lint-scripts = [
# which are packages allowed to use the blocked package.
[blocked-packages]
rand = [
"crossbeam-channel",
"deque",
"gaol",
"hashglobe", # only uses in tests
@ -39,6 +40,10 @@ num = [
# Ignored packages with duplicated versions
packages = [
"bitflags",
"crossbeam-epoch",
"crossbeam-utils",
#TODO: remove ipc-channel when #21325 lands
"ipc-channel",
"log",
"rand",
"winapi",