style fixes

This commit is contained in:
Robin Appelman 2024-12-01 15:05:31 +01:00
commit f6f4ac1e81
5 changed files with 179 additions and 144 deletions

169
Cargo.lock generated
View file

@ -1,6 +1,6 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
version = 4
[[package]]
name = "Inflector"
@ -461,7 +461,7 @@ dependencies = [
"anyhow",
"chrono",
"either",
"indexmap 2.2.6",
"indexmap 2.7.0",
"itertools 0.12.1",
"nom",
"once_cell",
@ -473,6 +473,23 @@ dependencies = [
"thiserror",
]
[[package]]
name = "browserslist-rs"
version = "0.16.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8e46a40f09cb859277e349307c75d4fb8112aaa1e5bf968ba7075a463a9fd3bc"
dependencies = [
"ahash 0.8.11",
"chrono",
"either",
"indexmap 2.7.0",
"itertools 0.13.0",
"nom",
"serde",
"serde_json",
"thiserror",
]
[[package]]
name = "bumpalo"
version = "3.16.0"
@ -843,7 +860,7 @@ dependencies = [
"cssparser-macros",
"dtoa-short",
"itoa",
"phf 0.11.2",
"phf",
"smallvec",
]
@ -1078,9 +1095,9 @@ dependencies = [
[[package]]
name = "either"
version = "1.12.0"
version = "1.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3dca9240753cf90908d7e4aac30f630662b02aebaa1b58a3cadabdb23385b58b"
checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
dependencies = [
"serde",
]
@ -1290,15 +1307,6 @@ dependencies = [
"slab",
]
[[package]]
name = "fxhash"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c"
dependencies = [
"byteorder",
]
[[package]]
name = "generic-array"
version = "0.14.7"
@ -1346,7 +1354,7 @@ dependencies = [
"futures-sink",
"futures-util",
"http 0.2.12",
"indexmap 2.2.6",
"indexmap 2.7.0",
"slab",
"tokio",
"tokio-util",
@ -1365,7 +1373,7 @@ dependencies = [
"futures-core",
"futures-sink",
"http 1.1.0",
"indexmap 2.2.6",
"indexmap 2.7.0",
"slab",
"tokio",
"tokio-util",
@ -1400,6 +1408,12 @@ dependencies = [
"allocator-api2",
]
[[package]]
name = "hashbrown"
version = "0.15.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289"
[[package]]
name = "hashlink"
version = "0.8.4"
@ -1509,8 +1523,8 @@ dependencies = [
"hashbrown 0.14.5",
"new_debug_unreachable",
"once_cell",
"phf 0.11.2",
"rustc-hash",
"phf",
"rustc-hash 1.1.0",
"triomphe",
]
@ -1774,12 +1788,12 @@ dependencies = [
[[package]]
name = "indexmap"
version = "2.2.6"
version = "2.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26"
checksum = "62f822373a4fe84d4bb149bf54e584a7f4abec90e072ed49cda0edea5b95471f"
dependencies = [
"equivalent",
"hashbrown 0.14.5",
"hashbrown 0.15.2",
"serde",
]
@ -1931,19 +1945,20 @@ dependencies = [
[[package]]
name = "lightningcss"
version = "1.0.0-alpha.57"
version = "1.0.0-alpha.61"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "10bc10261f46b8df263b80e7779d1748b1880488cd951fbb9e096430cead10e6"
checksum = "20c9e1f991b3861d25bf872ecca2eb6a73f7a9fe671da047cd1f9b49c65cbc40"
dependencies = [
"ahash 0.8.11",
"bitflags 2.5.0",
"browserslist-rs",
"browserslist-rs 0.16.1",
"const-str 0.3.2",
"cssparser",
"cssparser-color",
"dashmap",
"data-encoding",
"getrandom",
"indexmap 2.7.0",
"itertools 0.10.5",
"lazy_static",
"lightningcss-derive",
@ -1958,10 +1973,11 @@ dependencies = [
[[package]]
name = "lightningcss-derive"
version = "1.0.0-alpha.42"
version = "1.0.0-alpha.43"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f02a09f0b79d31f1ee13ea55e2f7021037c6b72e0a3ab6c1cb0e9bd7ac8a295"
checksum = "84c12744d1279367caed41739ef094c325d53fb0ffcd4f9b84a368796f870252"
dependencies = [
"convert_case",
"proc-macro2",
"quote",
"syn 1.0.109",
@ -2501,17 +2517,17 @@ checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f"
[[package]]
name = "parcel_selectors"
version = "0.26.5"
version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ce9c47a67c66fee4a5a42756f9784d92941bd0ab2b653539a9e90521a44b66f0"
checksum = "7645c578d3a5c4cdf667af1ad39765f5f751c4883d251e050d5e1204b5cad0a9"
dependencies = [
"bitflags 2.5.0",
"cssparser",
"fxhash",
"log",
"phf 0.10.1",
"phf",
"phf_codegen",
"precomputed-hash",
"rustc-hash 2.1.0",
"smallvec",
]
@ -2637,16 +2653,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db"
dependencies = [
"fixedbitset",
"indexmap 2.2.6",
]
[[package]]
name = "phf"
version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fabbf1ead8a5bcbc20f5f8b939ee3f5b0f6f281b6ad3468b84656b658b455259"
dependencies = [
"phf_shared 0.10.0",
"indexmap 2.7.0",
]
[[package]]
@ -2661,12 +2668,12 @@ dependencies = [
[[package]]
name = "phf_codegen"
version = "0.10.0"
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4fb1c3a8bc4dd4e5cfce29b44ffc14bedd2ee294559a294e2a4d4c9e9a6a13cd"
checksum = "e8d39688d359e6b34654d328e262234662d16cc0f60ec8dcbe5e718709342a5a"
dependencies = [
"phf_generator 0.10.0",
"phf_shared 0.10.0",
"phf_generator 0.11.2",
"phf_shared 0.11.2",
]
[[package]]
@ -2805,7 +2812,7 @@ checksum = "08ccd15679953ae0d5fa716af78b58c0bfdc69a0534bfe9ea423abd1eaaf527b"
dependencies = [
"ahash 0.8.11",
"anyhow",
"browserslist-rs",
"browserslist-rs 0.15.0",
"dashmap",
"from_variant",
"once_cell",
@ -3248,6 +3255,12 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
[[package]]
name = "rustc-hash"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497"
[[package]]
name = "rustc_version"
version = "0.2.3"
@ -3709,7 +3722,7 @@ dependencies = [
"data-encoding",
"debugid",
"if_chain",
"rustc-hash",
"rustc-hash 1.1.0",
"rustc_version",
"serde",
"serde_json",
@ -3787,7 +3800,7 @@ dependencies = [
"futures-util",
"hashlink",
"hex",
"indexmap 2.2.6",
"indexmap 2.7.0",
"log",
"memchr",
"once_cell",
@ -4145,14 +4158,14 @@ dependencies = [
"base64 0.21.7",
"dashmap",
"either",
"indexmap 2.2.6",
"indexmap 2.7.0",
"jsonc-parser",
"lru",
"once_cell",
"parking_lot",
"pathdiff",
"regex",
"rustc-hash",
"rustc-hash 1.1.0",
"serde",
"serde_json",
"sourcemap",
@ -4193,7 +4206,7 @@ dependencies = [
"hstr",
"once_cell",
"rkyv",
"rustc-hash",
"rustc-hash 1.1.0",
"serde",
]
@ -4205,7 +4218,7 @@ checksum = "8dda466636577e45b76ff019d040ba5f7973228cb821734460c636350ff4f3ae"
dependencies = [
"anyhow",
"crc 2.1.0",
"indexmap 2.2.6",
"indexmap 2.7.0",
"is-macro",
"once_cell",
"parking_lot",
@ -4261,7 +4274,7 @@ dependencies = [
"once_cell",
"parking_lot",
"rkyv",
"rustc-hash",
"rustc-hash 1.1.0",
"serde",
"siphasher",
"sourcemap",
@ -4304,7 +4317,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "84b67e115ab136fe0eb03558bb0508ca7782eeb446a96d165508c48617e3fd94"
dependencies = [
"anyhow",
"indexmap 2.2.6",
"indexmap 2.7.0",
"serde",
"serde_json",
"sourcemap",
@ -4355,7 +4368,7 @@ dependencies = [
"bytecheck",
"is-macro",
"num-bigint 0.4.5",
"phf 0.11.2",
"phf",
"rkyv",
"scoped-tls",
"serde",
@ -4374,7 +4387,7 @@ dependencies = [
"memchr",
"num-bigint 0.4.5",
"once_cell",
"rustc-hash",
"rustc-hash 1.1.0",
"serde",
"sourcemap",
"swc_atoms",
@ -4433,7 +4446,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c4f406983b4800c4326370bbb52e66e4981cefc348f2d9233cf76aac352b4831"
dependencies = [
"arrayvec 0.7.4",
"indexmap 2.2.6",
"indexmap 2.7.0",
"is-macro",
"serde",
"serde_derive",
@ -4596,7 +4609,7 @@ version = "0.113.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7cf562d97536f225e630a6096b0a100e79d3e1fd8ece0ef2e924608d7e53fc15"
dependencies = [
"phf 0.11.2",
"phf",
"swc_atoms",
"swc_common",
"swc_ecma_ast",
@ -4653,14 +4666,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1feab97d24c9931c5e88dca7730e6a6d4c7689ced9ba05814d9092651b3534db"
dependencies = [
"arrayvec 0.7.4",
"indexmap 2.2.6",
"indexmap 2.7.0",
"num-bigint 0.4.5",
"num_cpus",
"once_cell",
"parking_lot",
"radix_fmt",
"regex",
"rustc-hash",
"rustc-hash 1.1.0",
"ryu-js",
"serde",
"serde_json",
@ -4689,7 +4702,7 @@ dependencies = [
"new_debug_unreachable",
"num-bigint 0.4.5",
"num-traits 0.2.19",
"phf 0.11.2",
"phf",
"serde",
"smallvec",
"smartstring",
@ -4709,10 +4722,10 @@ checksum = "c2aa9bc1a840a90aea05cf3668f2ee523b049767955783785800cb46ae0d835d"
dependencies = [
"anyhow",
"dashmap",
"indexmap 2.2.6",
"indexmap 2.7.0",
"once_cell",
"preset_env_base",
"rustc-hash",
"rustc-hash 1.1.0",
"semver 1.0.23",
"serde",
"serde_json",
@ -4767,10 +4780,10 @@ checksum = "660badfe2eed8b6213ec9dcd71aa0786f8fb46ffa012e0313bcba1fe4a9a5c73"
dependencies = [
"better_scoped_tls",
"bitflags 2.5.0",
"indexmap 2.2.6",
"indexmap 2.7.0",
"once_cell",
"phf 0.11.2",
"rustc-hash",
"phf",
"rustc-hash 1.1.0",
"serde",
"smallvec",
"swc_atoms",
@ -4803,7 +4816,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ed183e0eb761a1eddd9ef2232612bcd6790a9fb8b6dd1885b2a9ea0a2f93752c"
dependencies = [
"arrayvec 0.7.4",
"indexmap 2.2.6",
"indexmap 2.7.0",
"is-macro",
"num-bigint 0.4.5",
"serde",
@ -4853,7 +4866,7 @@ dependencies = [
"Inflector",
"anyhow",
"bitflags 2.5.0",
"indexmap 2.2.6",
"indexmap 2.7.0",
"is-macro",
"path-clean",
"pathdiff",
@ -4878,10 +4891,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "73e8de92a02fbd61965c723669f9d425dc1544831507abd78d9fca24c3974324"
dependencies = [
"dashmap",
"indexmap 2.2.6",
"indexmap 2.7.0",
"once_cell",
"petgraph",
"rustc-hash",
"rustc-hash 1.1.0",
"serde_json",
"swc_atoms",
"swc_common",
@ -4902,7 +4915,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a00e0cc7d9cfb3935354a43455116636b001d34d103304883b90837cd87f048c"
dependencies = [
"either",
"rustc-hash",
"rustc-hash 1.1.0",
"serde",
"smallvec",
"swc_atoms",
@ -4923,7 +4936,7 @@ checksum = "2570aa788b03d38404558d4822c7b88a35a930a47cf2417cc7732a032015e43d"
dependencies = [
"base64 0.21.7",
"dashmap",
"indexmap 2.2.6",
"indexmap 2.7.0",
"once_cell",
"serde",
"sha-1",
@ -4988,8 +5001,8 @@ version = "0.23.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b82af8ae5c6e5c1c1bdef70d5fb3ef16917985031f8688a7342c10a2123cfa6b"
dependencies = [
"indexmap 2.2.6",
"rustc-hash",
"indexmap 2.7.0",
"rustc-hash 1.1.0",
"swc_atoms",
"swc_common",
"swc_ecma_ast",
@ -5005,10 +5018,10 @@ version = "0.127.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "15d40abfc4f3a7bfdf54d11ac705cc9dd0836c48bf085b359143b4d40b50cb31"
dependencies = [
"indexmap 2.2.6",
"indexmap 2.7.0",
"num_cpus",
"once_cell",
"rustc-hash",
"rustc-hash 1.1.0",
"swc_atoms",
"swc_common",
"swc_ecma_ast",
@ -5061,9 +5074,9 @@ version = "0.21.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f3fdd64bc3d161d6c1ea9a8ae5779e4ba132afc67e7b8ece5420bfc9c6e1275d"
dependencies = [
"indexmap 2.2.6",
"indexmap 2.7.0",
"petgraph",
"rustc-hash",
"rustc-hash 1.1.0",
"swc_common",
]
@ -5506,7 +5519,7 @@ version = "0.22.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f21c7aaf97f1bd9ca9d4f9e73b0a6c74bd5afef56f2bc931943a6e1c37e04e38"
dependencies = [
"indexmap 2.2.6",
"indexmap 2.7.0",
"serde",
"serde_spanned",
"toml_datetime",