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"
edition = "2021"
publish = false
rust-version = "1.80.1"
[workspace.dependencies]
accountable-refcell = "0.2.0"

View file

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

View file

@ -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"

View file

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

View file

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

View file

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

View file

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

View file

@ -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"

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -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"

View file

@ -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"

View file

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

View file

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

View file

@ -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]

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -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"

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -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"

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -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]

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -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"