diff --git a/Cargo.toml b/Cargo.toml index b9948b99911..0d3d999ad36 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,6 +14,7 @@ authors = ["The Servo Project Developers"] license = "MPL-2.0" edition = "2021" publish = false +rust-version = "1.80.1" [workspace.dependencies] accountable-refcell = "0.2.0" diff --git a/components/allocator/Cargo.toml b/components/allocator/Cargo.toml index 2095377bfa8..ce66c31833b 100644 --- a/components/allocator/Cargo.toml +++ b/components/allocator/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] path = "lib.rs" diff --git a/components/background_hang_monitor/Cargo.toml b/components/background_hang_monitor/Cargo.toml index 0aac8b38247..9e7726e3928 100644 --- a/components/background_hang_monitor/Cargo.toml +++ b/components/background_hang_monitor/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "background_hang_monitor" diff --git a/components/bluetooth/Cargo.toml b/components/bluetooth/Cargo.toml index 863a46f8f1e..f27e9a35529 100644 --- a/components/bluetooth/Cargo.toml +++ b/components/bluetooth/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "bluetooth" diff --git a/components/canvas/Cargo.toml b/components/canvas/Cargo.toml index d403ec063c8..793308c0c77 100644 --- a/components/canvas/Cargo.toml +++ b/components/canvas/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "canvas" diff --git a/components/compositing/Cargo.toml b/components/compositing/Cargo.toml index 6912332247b..0458f246232 100644 --- a/components/compositing/Cargo.toml +++ b/components/compositing/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "compositing" diff --git a/components/config/Cargo.toml b/components/config/Cargo.toml index 4555ed10751..8a0600f35e4 100644 --- a/components/config/Cargo.toml +++ b/components/config/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "servo_config" diff --git a/components/config_plugins/Cargo.toml b/components/config_plugins/Cargo.toml index cc0bc97a9be..8c94090a61d 100644 --- a/components/config_plugins/Cargo.toml +++ b/components/config_plugins/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "servo_config_plugins" diff --git a/components/constellation/Cargo.toml b/components/constellation/Cargo.toml index 783ea93fee1..6d57918c16c 100644 --- a/components/constellation/Cargo.toml +++ b/components/constellation/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "constellation" diff --git a/components/deny_public_fields/Cargo.toml b/components/deny_public_fields/Cargo.toml index 22e7ae8e513..b4d589cccb1 100644 --- a/components/deny_public_fields/Cargo.toml +++ b/components/deny_public_fields/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] path = "lib.rs" diff --git a/components/devtools/Cargo.toml b/components/devtools/Cargo.toml index 5c4773fae74..484eff965f3 100644 --- a/components/devtools/Cargo.toml +++ b/components/devtools/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "devtools" diff --git a/components/dom_struct/Cargo.toml b/components/dom_struct/Cargo.toml index 1babcae0f45..9700e2dc079 100644 --- a/components/dom_struct/Cargo.toml +++ b/components/dom_struct/Cargo.toml @@ -5,6 +5,7 @@ version.workspace = true authors.workspace = true license.workspace = true publish.workspace = true +rust-version.workspace = true [dependencies] quote = { workspace = true } diff --git a/components/domobject_derive/Cargo.toml b/components/domobject_derive/Cargo.toml index ebac6fb8730..e278648af48 100644 --- a/components/domobject_derive/Cargo.toml +++ b/components/domobject_derive/Cargo.toml @@ -5,6 +5,7 @@ version.workspace = true authors.workspace = true license.workspace = true publish.workspace = true +rust-version.workspace = true [lib] path = "lib.rs" diff --git a/components/fonts/Cargo.toml b/components/fonts/Cargo.toml index 7dd9e8ecc45..2ee67383df7 100644 --- a/components/fonts/Cargo.toml +++ b/components/fonts/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "fonts" diff --git a/components/geometry/Cargo.toml b/components/geometry/Cargo.toml index be846b39d04..4d0eff19868 100644 --- a/components/geometry/Cargo.toml +++ b/components/geometry/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "servo_geometry" diff --git a/components/jstraceable_derive/Cargo.toml b/components/jstraceable_derive/Cargo.toml index a430aa0dc88..d524d6ceaff 100644 --- a/components/jstraceable_derive/Cargo.toml +++ b/components/jstraceable_derive/Cargo.toml @@ -5,6 +5,7 @@ version.workspace = true authors.workspace = true license.workspace = true publish.workspace = true +rust-version.workspace = true [lib] path = "lib.rs" diff --git a/components/layout/Cargo.toml b/components/layout/Cargo.toml index 164cf68026a..8e86bbfd6a6 100644 --- a/components/layout/Cargo.toml +++ b/components/layout/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "layout_2013" diff --git a/components/layout_2020/Cargo.toml b/components/layout_2020/Cargo.toml index df22d365b18..99025b7f610 100644 --- a/components/layout_2020/Cargo.toml +++ b/components/layout_2020/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "layout_2020" diff --git a/components/layout_thread/Cargo.toml b/components/layout_thread/Cargo.toml index 66f7b0d2a95..e002ebbba0d 100644 --- a/components/layout_thread/Cargo.toml +++ b/components/layout_thread/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "layout_thread_2013" diff --git a/components/layout_thread_2020/Cargo.toml b/components/layout_thread_2020/Cargo.toml index f996f18a86a..7bf799b3e48 100644 --- a/components/layout_thread_2020/Cargo.toml +++ b/components/layout_thread_2020/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "layout_thread_2020" diff --git a/components/media/Cargo.toml b/components/media/Cargo.toml index c272f02949c..4e21db50bc8 100644 --- a/components/media/Cargo.toml +++ b/components/media/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "media" diff --git a/components/metrics/Cargo.toml b/components/metrics/Cargo.toml index f2464ccf24b..94b13355ef3 100644 --- a/components/metrics/Cargo.toml +++ b/components/metrics/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "metrics" diff --git a/components/net/Cargo.toml b/components/net/Cargo.toml index e8e0fe11e8c..ea26c4c108e 100644 --- a/components/net/Cargo.toml +++ b/components/net/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true autotests = false # Inhibit lookup for tests/*.rs without [[test]] sections [lib] diff --git a/components/pixels/Cargo.toml b/components/pixels/Cargo.toml index 0cd8e198c1d..595c4861008 100644 --- a/components/pixels/Cargo.toml +++ b/components/pixels/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "pixels" diff --git a/components/profile/Cargo.toml b/components/profile/Cargo.toml index ce8c801d108..c4098fba7e4 100644 --- a/components/profile/Cargo.toml +++ b/components/profile/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "profile" diff --git a/components/rand/Cargo.toml b/components/rand/Cargo.toml index f1054b7a2db..44606ff218d 100644 --- a/components/rand/Cargo.toml +++ b/components/rand/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "servo_rand" diff --git a/components/range/Cargo.toml b/components/range/Cargo.toml index 211d9945107..97d2cea1ac5 100644 --- a/components/range/Cargo.toml +++ b/components/range/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "range" diff --git a/components/script/Cargo.toml b/components/script/Cargo.toml index 39d0f573e8d..cc731066180 100644 --- a/components/script/Cargo.toml +++ b/components/script/Cargo.toml @@ -6,6 +6,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "script" diff --git a/components/servo/Cargo.toml b/components/servo/Cargo.toml index 7169e138790..c8e2046411e 100644 --- a/components/servo/Cargo.toml +++ b/components/servo/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "servo" diff --git a/components/shared/background_hang_monitor/Cargo.toml b/components/shared/background_hang_monitor/Cargo.toml index 61fc03e0438..90a0c90d003 100644 --- a/components/shared/background_hang_monitor/Cargo.toml +++ b/components/shared/background_hang_monitor/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "background_hang_monitor_api" diff --git a/components/shared/base/Cargo.toml b/components/shared/base/Cargo.toml index ea7426e83ef..09dd2cd928d 100644 --- a/components/shared/base/Cargo.toml +++ b/components/shared/base/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "base" diff --git a/components/shared/bluetooth/Cargo.toml b/components/shared/bluetooth/Cargo.toml index a2eb015b7e0..f02f74a71d0 100644 --- a/components/shared/bluetooth/Cargo.toml +++ b/components/shared/bluetooth/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "bluetooth_traits" diff --git a/components/shared/canvas/Cargo.toml b/components/shared/canvas/Cargo.toml index 4a8fb4393dd..1e3c22d5750 100644 --- a/components/shared/canvas/Cargo.toml +++ b/components/shared/canvas/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "canvas_traits" diff --git a/components/shared/compositing/Cargo.toml b/components/shared/compositing/Cargo.toml index f46a35f6e03..cec60977a3c 100644 --- a/components/shared/compositing/Cargo.toml +++ b/components/shared/compositing/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "compositing_traits" diff --git a/components/shared/devtools/Cargo.toml b/components/shared/devtools/Cargo.toml index 08448dd1e9f..2e60c0fef94 100644 --- a/components/shared/devtools/Cargo.toml +++ b/components/shared/devtools/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "devtools_traits" diff --git a/components/shared/embedder/Cargo.toml b/components/shared/embedder/Cargo.toml index fed42bde17a..319ccb69309 100644 --- a/components/shared/embedder/Cargo.toml +++ b/components/shared/embedder/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "embedder_traits" diff --git a/components/shared/fonts/Cargo.toml b/components/shared/fonts/Cargo.toml index 32e10a7e389..3a717a23d0e 100644 --- a/components/shared/fonts/Cargo.toml +++ b/components/shared/fonts/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "fonts_traits" diff --git a/components/shared/net/Cargo.toml b/components/shared/net/Cargo.toml index 89b1a69e0d6..bdfe7a326f2 100644 --- a/components/shared/net/Cargo.toml +++ b/components/shared/net/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "net_traits" diff --git a/components/shared/profile/Cargo.toml b/components/shared/profile/Cargo.toml index 045504652d1..ef18b8c20fa 100644 --- a/components/shared/profile/Cargo.toml +++ b/components/shared/profile/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "profile_traits" diff --git a/components/shared/script/Cargo.toml b/components/shared/script/Cargo.toml index 3d1972fe973..3536b59c68e 100644 --- a/components/shared/script/Cargo.toml +++ b/components/shared/script/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "script_traits" diff --git a/components/shared/script_layout/Cargo.toml b/components/shared/script_layout/Cargo.toml index 922df1ba324..4da04eadf01 100644 --- a/components/shared/script_layout/Cargo.toml +++ b/components/shared/script_layout/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "script_layout_interface" diff --git a/components/shared/webrender/Cargo.toml b/components/shared/webrender/Cargo.toml index e2e2fec74e7..fb40beeeaf6 100644 --- a/components/shared/webrender/Cargo.toml +++ b/components/shared/webrender/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "webrender_traits" diff --git a/components/url/Cargo.toml b/components/url/Cargo.toml index 15274865620..84bc65a862b 100644 --- a/components/url/Cargo.toml +++ b/components/url/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "servo_url" diff --git a/components/webdriver_server/Cargo.toml b/components/webdriver_server/Cargo.toml index e21cca357d3..543f1978ad2 100644 --- a/components/webdriver_server/Cargo.toml +++ b/components/webdriver_server/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "webdriver_server" diff --git a/components/webgpu/Cargo.toml b/components/webgpu/Cargo.toml index 0d46cf23505..2e72d7b5105 100644 --- a/components/webgpu/Cargo.toml +++ b/components/webgpu/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "webgpu" diff --git a/ports/servoshell/Cargo.toml b/ports/servoshell/Cargo.toml index 747e6f751c9..75c734d4280 100644 --- a/ports/servoshell/Cargo.toml +++ b/ports/servoshell/Cargo.toml @@ -6,6 +6,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "servoshell" diff --git a/support/rust-task_info/Cargo.toml b/support/rust-task_info/Cargo.toml index 91e75887020..aec91b1f966 100644 --- a/support/rust-task_info/Cargo.toml +++ b/support/rust-task_info/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true build = "build.rs" [build-dependencies] diff --git a/tests/unit/deny_public_fields/Cargo.toml b/tests/unit/deny_public_fields/Cargo.toml index 5401a64d996..29195f40455 100644 --- a/tests/unit/deny_public_fields/Cargo.toml +++ b/tests/unit/deny_public_fields/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] path = "lib.rs" diff --git a/tests/unit/malloc_size_of/Cargo.toml b/tests/unit/malloc_size_of/Cargo.toml index dd9591ed889..4244407a3d0 100644 --- a/tests/unit/malloc_size_of/Cargo.toml +++ b/tests/unit/malloc_size_of/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] path = "lib.rs" diff --git a/tests/unit/metrics/Cargo.toml b/tests/unit/metrics/Cargo.toml index 1fc33856218..bd98e4d0935 100644 --- a/tests/unit/metrics/Cargo.toml +++ b/tests/unit/metrics/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "metrics_tests" diff --git a/tests/unit/profile/Cargo.toml b/tests/unit/profile/Cargo.toml index 7b9e8e36bd5..87fc2c752f6 100644 --- a/tests/unit/profile/Cargo.toml +++ b/tests/unit/profile/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "profile_tests" diff --git a/tests/unit/script/Cargo.toml b/tests/unit/script/Cargo.toml index 01b9cacae5f..e6ce8e26dcc 100644 --- a/tests/unit/script/Cargo.toml +++ b/tests/unit/script/Cargo.toml @@ -5,6 +5,7 @@ authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true +rust-version.workspace = true [lib] name = "script_tests" diff --git a/tests/unit/style/Cargo.toml b/tests/unit/style/Cargo.toml index d3d1bbd1c9d..5880aec6501 100644 --- a/tests/unit/style/Cargo.toml +++ b/tests/unit/style/Cargo.toml @@ -1,8 +1,11 @@ [package] name = "style_tests" -version = "0.0.1" -authors = ["The Servo Project Developers"] -license = "MPL-2.0" +version.workspace = true +authors.workspace = true +license.workspace = true +edition.workspace = true +publish.workspace = true +rust-version.workspace = true [lib] name = "style_tests"