Skip to content

Commit

Permalink
Remove dependency on swc_css generation (next.js does that now).
Browse files Browse the repository at this point in the history
  • Loading branch information
Zemnmez committed May 31, 2023
1 parent 66c7f4e commit 5efc28a
Show file tree
Hide file tree
Showing 18 changed files with 200 additions and 2,292 deletions.
245 changes: 0 additions & 245 deletions Cargo.Bazel.lock
Original file line number Diff line number Diff line change
Expand Up @@ -95,18 +95,6 @@ dependencies = [
"syn 1.0.107",
]

[[package]]
name = "auto_impl"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7862e21c893d65a1650125d157eaeec691439379a1cee17ee49031b79236ada4"
dependencies = [
"proc-macro-error",
"proc-macro2",
"quote",
"syn 1.0.107",
]

[[package]]
name = "autocfg"
version = "1.1.0"
Expand Down Expand Up @@ -380,19 +368,6 @@ dependencies = [
"windows-sys 0.42.0",
]

[[package]]
name = "is-macro"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1c068d4c6b922cd6284c609cfa6dec0e41615c9c5a1a4ba729a970d8daba05fb"
dependencies = [
"Inflector",
"pmutil",
"proc-macro2",
"quote",
"syn 1.0.107",
]

[[package]]
name = "is-terminal"
version = "0.4.7"
Expand All @@ -417,79 +392,6 @@ version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"

[[package]]
name = "lexical"
version = "6.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c7aefb36fd43fef7003334742cbf77b243fcd36418a1d1bdd480d613a67968f6"
dependencies = [
"lexical-core",
]

[[package]]
name = "lexical-core"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2cde5de06e8d4c2faabc400238f9ae1c74d5412d03a7bd067645ccbc47070e46"
dependencies = [
"lexical-parse-float",
"lexical-parse-integer",
"lexical-util",
"lexical-write-float",
"lexical-write-integer",
]

[[package]]
name = "lexical-parse-float"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "683b3a5ebd0130b8fb52ba0bdc718cc56815b6a097e28ae5a6997d0ad17dc05f"
dependencies = [
"lexical-parse-integer",
"lexical-util",
"static_assertions",
]

[[package]]
name = "lexical-parse-integer"
version = "0.8.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6d0994485ed0c312f6d965766754ea177d07f9c00c9b82a5ee62ed5b47945ee9"
dependencies = [
"lexical-util",
"static_assertions",
]

[[package]]
name = "lexical-util"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5255b9ff16ff898710eb9eb63cb39248ea8a5bb036bea8085b1a767ff6c4e3fc"
dependencies = [
"static_assertions",
]

[[package]]
name = "lexical-write-float"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "accabaa1c4581f05a3923d1b4cfd124c329352288b7b9da09e766b0668116862"
dependencies = [
"lexical-util",
"lexical-write-integer",
"static_assertions",
]

[[package]]
name = "lexical-write-integer"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e1b6f3d1f4422866b68192d62f77bc5c700bee84f3069f2469d7bc8c77852446"
dependencies = [
"lexical-util",
"static_assertions",
]

[[package]]
name = "libc"
version = "0.2.144"
Expand Down Expand Up @@ -528,9 +430,6 @@ dependencies = [
"sha2",
"swc_atoms",
"swc_common",
"swc_css_codegen",
"swc_css_modules",
"swc_css_parser",
]

[[package]]
Expand Down Expand Up @@ -652,30 +551,6 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"

[[package]]
name = "proc-macro-error"
version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
dependencies = [
"proc-macro-error-attr",
"proc-macro2",
"quote",
"syn 1.0.107",
"version_check",
]

[[package]]
name = "proc-macro-error-attr"
version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
dependencies = [
"proc-macro2",
"quote",
"version_check",
]

[[package]]
name = "proc-macro2"
version = "1.0.57"
Expand Down Expand Up @@ -848,12 +723,6 @@ version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"

[[package]]
name = "static_assertions"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"

[[package]]
name = "string_cache"
version = "0.8.4"
Expand All @@ -880,19 +749,6 @@ dependencies = [
"quote",
]

[[package]]
name = "string_enum"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "994453cd270ad0265796eb24abf5540091ed03e681c5f3c12bc33e4db33253e1"
dependencies = [
"pmutil",
"proc-macro2",
"quote",
"swc_macros_common",
"syn 1.0.107",
]

[[package]]
name = "strsim"
version = "0.10.0"
Expand Down Expand Up @@ -940,107 +796,6 @@ dependencies = [
"url",
]

[[package]]
name = "swc_css_ast"
version = "0.127.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d20ed33612bb2db15428244f9bb984234fb0b414e23a215f40194e5b190fb54f"
dependencies = [
"is-macro",
"serde",
"string_enum",
"swc_atoms",
"swc_common",
]

[[package]]
name = "swc_css_codegen"
version = "0.137.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d02b5c91f8778f7bb8797bc241675a492e5f95c47908c02ef0bb23494238aa96"
dependencies = [
"auto_impl",
"bitflags",
"rustc-hash",
"serde",
"swc_atoms",
"swc_common",
"swc_css_ast",
"swc_css_codegen_macros",
"swc_css_utils",
]

[[package]]
name = "swc_css_codegen_macros"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fe27425548d11afee43ddbe1d0cd882cb5e042f61b1503651dae2219c92333f5"
dependencies = [
"pmutil",
"proc-macro2",
"quote",
"swc_macros_common",
"syn 1.0.107",
]

[[package]]
name = "swc_css_modules"
version = "0.13.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e037b7223cfa59efd434e3a13919f27a9f45b7ae200bb47be4743d6f9b7b6f2f"
dependencies = [
"rustc-hash",
"serde",
"swc_atoms",
"swc_common",
"swc_css_ast",
"swc_css_codegen",
"swc_css_parser",
"swc_css_visit",
]

[[package]]
name = "swc_css_parser"
version = "0.136.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d1a3c8775ffd5db347f4edbcfd23fada847d9259a1557177c85314fe0f9750bd"
dependencies = [
"bitflags",
"lexical",
"serde",
"swc_atoms",
"swc_common",
"swc_css_ast",
]

[[package]]
name = "swc_css_utils"
version = "0.124.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "780ed8c6e5a3cf9085c4f969284299564cdd07ac7b881d3588bf4c8409611e73"
dependencies = [
"once_cell",
"serde",
"serde_json",
"swc_atoms",
"swc_common",
"swc_css_ast",
"swc_css_visit",
]

[[package]]
name = "swc_css_visit"
version = "0.126.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3e98ed4e2539d9cd22239110a9834062183d7b0d7a56ff39d28db9b35d0327f9"
dependencies = [
"serde",
"swc_atoms",
"swc_common",
"swc_css_ast",
"swc_visit",
]

[[package]]
name = "swc_eq_ignore_macros"
version = "0.1.1"
Expand Down
3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,5 @@ clap = { version = "4.3.0", features = ["derive"] }
swc_common = "0.29.27"
sha2 = "0.10.6"
hex = "0.4.3"
swc_css_codegen = "0.137.3"
swc_css_modules = "0.13.3"
swc_css_parser = "0.136.3"
serde_json = "1.0.96"
swc_atoms = "0.4.33"
Loading

0 comments on commit 5efc28a

Please sign in to comment.