Move Stylo to its own repo (#31350)

* Remove packages that were moved to external repo

* Add workspace dependencies pointing to 2023-06-14 branch

* Fix servo-tidy.toml errors

* Update commit to include #31346

* Update commit to include servo/stylo#2

* Move css-properties.json lookup to target/doc/stylo

* Remove dependency on vendored mako in favour of pypi dependency

This also removes etc/ci/generate_workflow.py, which has been unused
since at least 9e71bd6a70.

* Add temporary code to debug Windows test failures

* Fix failures on Windows due to custom target dir

* Update commit to include servo/stylo#3

* Fix license in tests/unit/style/build.rs

* Document how to build with local Stylo in Cargo.toml
This commit is contained in:
Delan Azabani 2024-02-27 23:39:06 +08:00 committed by GitHub
parent b07505417e
commit faf754dfa6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
400 changed files with 112 additions and 123600 deletions

23
Cargo.lock generated
View file

@ -1208,6 +1208,7 @@ dependencies = [
[[package]]
name = "derive_common"
version = "0.0.1"
source = "git+https://github.com/servo/stylo.git?branch=2023-06-14#9d04df286684bbe1b05858ed1b337b006784bf36"
dependencies = [
"darling",
"proc-macro2",
@ -3459,6 +3460,7 @@ dependencies = [
[[package]]
name = "malloc_size_of"
version = "0.0.1"
source = "git+https://github.com/servo/stylo.git?branch=2023-06-14#9d04df286684bbe1b05858ed1b337b006784bf36"
dependencies = [
"accountable-refcell",
"app_units",
@ -3700,12 +3702,6 @@ dependencies = [
"walkdir",
]
[[package]]
name = "mozbuild"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "903970ae2f248d7275214cf8f387f8ba0c4ea7e3d87a320e85493db60ce28616"
[[package]]
name = "mozjs"
version = "0.14.1"
@ -5076,6 +5072,7 @@ dependencies = [
[[package]]
name = "selectors"
version = "0.24.0"
source = "git+https://github.com/servo/stylo.git?branch=2023-06-14#9d04df286684bbe1b05858ed1b337b006784bf36"
dependencies = [
"bitflags 1.3.2",
"cssparser",
@ -5363,6 +5360,7 @@ dependencies = [
[[package]]
name = "servo_arc"
version = "0.2.0"
source = "git+https://github.com/servo/stylo.git?branch=2023-06-14#9d04df286684bbe1b05858ed1b337b006784bf36"
dependencies = [
"nodrop",
"serde",
@ -5372,6 +5370,7 @@ dependencies = [
[[package]]
name = "servo_atoms"
version = "0.0.1"
source = "git+https://github.com/servo/stylo.git?branch=2023-06-14#9d04df286684bbe1b05858ed1b337b006784bf36"
dependencies = [
"string_cache",
"string_cache_codegen",
@ -5576,6 +5575,7 @@ checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d"
[[package]]
name = "size_of_test"
version = "0.0.1"
source = "git+https://github.com/servo/stylo.git?branch=2023-06-14#9d04df286684bbe1b05858ed1b337b006784bf36"
dependencies = [
"static_assertions",
]
@ -5701,6 +5701,7 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
[[package]]
name = "static_prefs"
version = "0.1.0"
source = "git+https://github.com/servo/stylo.git?branch=2023-06-14#9d04df286684bbe1b05858ed1b337b006784bf36"
[[package]]
name = "str-buf"
@ -5743,11 +5744,11 @@ dependencies = [
[[package]]
name = "style"
version = "0.0.1"
source = "git+https://github.com/servo/stylo.git?branch=2023-06-14#9d04df286684bbe1b05858ed1b337b006784bf36"
dependencies = [
"app_units",
"arrayvec",
"atomic_refcell",
"bindgen",
"bitflags 1.3.2",
"byteorder",
"cssparser",
@ -5764,7 +5765,6 @@ dependencies = [
"malloc_size_of",
"malloc_size_of_derive",
"mime",
"mozbuild",
"new_debug_unreachable",
"num-derive",
"num-integer",
@ -5774,7 +5774,6 @@ dependencies = [
"parking_lot",
"precomputed-hash",
"rayon",
"regex",
"selectors",
"serde",
"servo_arc",
@ -5791,7 +5790,6 @@ dependencies = [
"time 0.1.45",
"to_shmem",
"to_shmem_derive",
"toml 0.5.11",
"uluru",
"unicode-bidi",
"unicode-segmentation",
@ -5803,6 +5801,7 @@ dependencies = [
[[package]]
name = "style_config"
version = "0.0.1"
source = "git+https://github.com/servo/stylo.git?branch=2023-06-14#9d04df286684bbe1b05858ed1b337b006784bf36"
dependencies = [
"lazy_static",
]
@ -5810,6 +5809,7 @@ dependencies = [
[[package]]
name = "style_derive"
version = "0.0.1"
source = "git+https://github.com/servo/stylo.git?branch=2023-06-14#9d04df286684bbe1b05858ed1b337b006784bf36"
dependencies = [
"darling",
"derive_common",
@ -5840,6 +5840,7 @@ dependencies = [
[[package]]
name = "style_traits"
version = "0.0.1"
source = "git+https://github.com/servo/stylo.git?branch=2023-06-14#9d04df286684bbe1b05858ed1b337b006784bf36"
dependencies = [
"app_units",
"bitflags 1.3.2",
@ -6182,6 +6183,7 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
[[package]]
name = "to_shmem"
version = "0.0.1"
source = "git+https://github.com/servo/stylo.git?branch=2023-06-14#9d04df286684bbe1b05858ed1b337b006784bf36"
dependencies = [
"cssparser",
"servo_arc",
@ -6194,6 +6196,7 @@ dependencies = [
[[package]]
name = "to_shmem_derive"
version = "0.0.1"
source = "git+https://github.com/servo/stylo.git?branch=2023-06-14#9d04df286684bbe1b05858ed1b337b006784bf36"
dependencies = [
"darling",
"derive_common",