Add rust-version to all Cargo.toml files (#33483)

This is another step preparing for building Servo without `mach`.

Fixes #33430.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Martin Robinson 2024-09-17 18:39:07 +02:00 committed by GitHub
parent 25bce9f6b9
commit aa0029c11c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
53 changed files with 58 additions and 3 deletions

View file

@ -14,6 +14,7 @@ authors = ["The Servo Project Developers"]
license = "MPL-2.0" license = "MPL-2.0"
edition = "2021" edition = "2021"
publish = false publish = false
rust-version = "1.80.1"
[workspace.dependencies] [workspace.dependencies]
accountable-refcell = "0.2.0" accountable-refcell = "0.2.0"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
path = "lib.rs" path = "lib.rs"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "background_hang_monitor" name = "background_hang_monitor"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "bluetooth" name = "bluetooth"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "canvas" name = "canvas"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "compositing" name = "compositing"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "servo_config" name = "servo_config"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "servo_config_plugins" name = "servo_config_plugins"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "constellation" name = "constellation"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
path = "lib.rs" path = "lib.rs"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "devtools" name = "devtools"

View file

@ -5,6 +5,7 @@ version.workspace = true
authors.workspace = true authors.workspace = true
license.workspace = true license.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[dependencies] [dependencies]
quote = { workspace = true } quote = { workspace = true }

View file

@ -5,6 +5,7 @@ version.workspace = true
authors.workspace = true authors.workspace = true
license.workspace = true license.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
path = "lib.rs" path = "lib.rs"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "fonts" name = "fonts"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "servo_geometry" name = "servo_geometry"

View file

@ -5,6 +5,7 @@ version.workspace = true
authors.workspace = true authors.workspace = true
license.workspace = true license.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
path = "lib.rs" path = "lib.rs"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "layout_2013" name = "layout_2013"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "layout_2020" name = "layout_2020"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "layout_thread_2013" name = "layout_thread_2013"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "layout_thread_2020" name = "layout_thread_2020"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "media" name = "media"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "metrics" name = "metrics"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
autotests = false # Inhibit lookup for tests/*.rs without [[test]] sections autotests = false # Inhibit lookup for tests/*.rs without [[test]] sections
[lib] [lib]

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "pixels" name = "pixels"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "profile" name = "profile"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "servo_rand" name = "servo_rand"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "range" name = "range"

View file

@ -6,6 +6,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "script" name = "script"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "servo" name = "servo"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "background_hang_monitor_api" name = "background_hang_monitor_api"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "base" name = "base"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "bluetooth_traits" name = "bluetooth_traits"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "canvas_traits" name = "canvas_traits"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "compositing_traits" name = "compositing_traits"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "devtools_traits" name = "devtools_traits"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "embedder_traits" name = "embedder_traits"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "fonts_traits" name = "fonts_traits"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "net_traits" name = "net_traits"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "profile_traits" name = "profile_traits"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "script_traits" name = "script_traits"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "script_layout_interface" name = "script_layout_interface"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "webrender_traits" name = "webrender_traits"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "servo_url" name = "servo_url"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "webdriver_server" name = "webdriver_server"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "webgpu" name = "webgpu"

View file

@ -6,6 +6,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "servoshell" name = "servoshell"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
build = "build.rs" build = "build.rs"
[build-dependencies] [build-dependencies]

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
path = "lib.rs" path = "lib.rs"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
path = "lib.rs" path = "lib.rs"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "metrics_tests" name = "metrics_tests"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "profile_tests" name = "profile_tests"

View file

@ -5,6 +5,7 @@ authors.workspace = true
license.workspace = true license.workspace = true
edition.workspace = true edition.workspace = true
publish.workspace = true publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "script_tests" name = "script_tests"

View file

@ -1,8 +1,11 @@
[package] [package]
name = "style_tests" name = "style_tests"
version = "0.0.1" version.workspace = true
authors = ["The Servo Project Developers"] authors.workspace = true
license = "MPL-2.0" license.workspace = true
edition.workspace = true
publish.workspace = true
rust-version.workspace = true
[lib] [lib]
name = "style_tests" name = "style_tests"