More servo-tidy.toml cleanup

This commit is contained in:
Alex Touchet 2018-09-15 16:02:10 -07:00 committed by GitHub
parent 6c2f41bd0e
commit 986b3024c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,23 +13,20 @@ lint-scripts = [
# For each blocked package, we can list the exceptions, # For each blocked package, we can list the exceptions,
# which are packages allowed to use the blocked package. # which are packages allowed to use the blocked package.
[blocked-packages] [blocked-packages]
num = []
rand = [ rand = [
"crossbeam-channel", # Used to initialize a thread-local "crossbeam-channel", # Used to initialize a thread-local
"gaol", "gaol",
"hashglobe", # only uses in tests "hashglobe", # Only used in tests
"ipc-channel", "ipc-channel",
"parking_lot_core", "parking_lot_core",
"phf_generator", "phf_generator",
"rayon", "rand",
"rayon-core", "rayon-core",
"servo_rand", "servo_rand",
"tempfile", "tempfile",
"uuid", "uuid",
"ws", "ws",
"rand",
]
num = [
"chrono",
] ]
[ignore] [ignore]
@ -39,15 +36,15 @@ packages = [
"crossbeam-epoch", "crossbeam-epoch",
"crossbeam-utils", "crossbeam-utils",
"log", "log",
#TODO: remove num-rational when https://github.com/PistonDevelopers/image/pull/809 is merged. # TODO: remove num-rational when https://github.com/PistonDevelopers/image/pull/809 is merged.
"num-rational", "num-rational",
"proc-macro2",
"quote",
"rand", "rand",
"winapi",
# TODO: remove slab when #21426 lands # TODO: remove slab when #21426 lands
"slab", "slab",
"syn", "syn",
"quote", "winapi",
"proc-macro2",
] ]
# Files that are ignored for all tidy and lint checks. # Files that are ignored for all tidy and lint checks.
files = [ files = [