mirror of
https://github.com/servo/servo.git
synced 2025-07-22 06:43:40 +01:00
Use workspace definitions for all crates and update to the 2021 edition (#32544)
This commit is contained in:
parent
42b09d483f
commit
4a7f3bac7c
60 changed files with 283 additions and 268 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -1113,7 +1113,7 @@ checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "crown"
|
name = "crown"
|
||||||
version = "0.1.0"
|
version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"compiletest_rs",
|
"compiletest_rs",
|
||||||
"once_cell",
|
"once_cell",
|
||||||
|
|
|
@ -9,6 +9,13 @@ members = [
|
||||||
default-members = ["ports/servoshell"]
|
default-members = ["ports/servoshell"]
|
||||||
exclude = [".cargo"]
|
exclude = [".cargo"]
|
||||||
|
|
||||||
|
[workspace.package]
|
||||||
|
version = "0.0.1"
|
||||||
|
authors = ["The Servo Project Developers"]
|
||||||
|
license = "MPL-2.0"
|
||||||
|
edition = "2021"
|
||||||
|
publish = false
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
accountable-refcell = "0.2.0"
|
accountable-refcell = "0.2.0"
|
||||||
app_units = "0.7"
|
app_units = "0.7"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "servo_allocator"
|
name = "servo_allocator"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "background_hang_monitor"
|
name = "background_hang_monitor"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
publish = false
|
edition.workspace = true
|
||||||
edition = "2018"
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "background_hang_monitor"
|
name = "background_hang_monitor"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "bluetooth"
|
name = "bluetooth"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "bluetooth"
|
name = "bluetooth"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "canvas"
|
name = "canvas"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "canvas"
|
name = "canvas"
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
[package]
|
[package]
|
||||||
name = "compositing"
|
name = "compositing"
|
||||||
version = "0.0.1"
|
|
||||||
authors = ["The Servo Project Developers"]
|
|
||||||
license = "MPL-2.0"
|
|
||||||
edition = "2018"
|
|
||||||
publish = false
|
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
|
version.workspace = true
|
||||||
|
authors.workspace = true
|
||||||
|
license.workspace = true
|
||||||
|
edition.workspace = true
|
||||||
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "compositing"
|
name = "compositing"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "servo_config"
|
name = "servo_config"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "servo_config"
|
name = "servo_config"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "servo_config_plugins"
|
name = "servo_config_plugins"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "servo_config_plugins"
|
name = "servo_config_plugins"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "constellation"
|
name = "constellation"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "constellation"
|
name = "constellation"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "deny_public_fields"
|
name = "deny_public_fields"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "devtools"
|
name = "devtools"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "devtools"
|
name = "devtools"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
authors = ["The Servo Project Developers"]
|
|
||||||
license = "MPL-2.0"
|
|
||||||
name = "dom_struct"
|
name = "dom_struct"
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
version.workspace = true
|
||||||
version = "0.0.1"
|
authors.workspace = true
|
||||||
|
license.workspace = true
|
||||||
|
publish.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
quote = { workspace = true }
|
quote = { workspace = true }
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "domobject_derive"
|
name = "domobject_derive"
|
||||||
version = "0.0.1"
|
edition.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
version.workspace = true
|
||||||
license = "MPL-2.0"
|
authors.workspace = true
|
||||||
edition = "2018"
|
license.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "servo_geometry"
|
name = "servo_geometry"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "servo_geometry"
|
name = "servo_geometry"
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
|
|
||||||
name = "gfx"
|
name = "gfx"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "gfx"
|
name = "gfx"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
name = "hyper_serde"
|
name = "hyper_serde"
|
||||||
version = "0.13.2"
|
version = "0.13.2"
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors = ["The Servo Project Developers"]
|
||||||
description = "Serde support for hyper types."
|
description = "Serde support for hyper types."
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "jstraceable_derive"
|
name = "jstraceable_derive"
|
||||||
version = "0.0.1"
|
edition.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
version.workspace = true
|
||||||
license = "MPL-2.0"
|
authors.workspace = true
|
||||||
edition = "2018"
|
license.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
|
|
|
@ -157,7 +157,7 @@ fn js_traceable_derive(s: synstructure::Structure) -> proc_macro2::TokenStream {
|
||||||
}
|
}
|
||||||
return None;
|
return None;
|
||||||
} else if attr.path().is_ident("custom_trace") {
|
} else if attr.path().is_ident("custom_trace") {
|
||||||
return Some(quote!(<crate::dom::bindings::trace::CustomTraceable>::trace(#binding, tracer);));
|
return Some(quote!(<dyn crate::dom::bindings::trace::CustomTraceable>::trace(#binding, tracer);));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Some(quote!(#binding.trace(tracer);))
|
Some(quote!(#binding.trace(tracer);))
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "layout_2013"
|
name = "layout_2013"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "layout_2013"
|
name = "layout_2013"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "layout_2020"
|
name = "layout_2020"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "layout_2020"
|
name = "layout_2020"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "layout_thread_2013"
|
name = "layout_thread_2013"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "layout_thread_2013"
|
name = "layout_thread_2013"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "layout_thread_2020"
|
name = "layout_thread_2020"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "layout_thread_2020"
|
name = "layout_thread_2020"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "media"
|
name = "media"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "media"
|
name = "media"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "metrics"
|
name = "metrics"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "metrics"
|
name = "metrics"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "net"
|
name = "net"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
autotests = false # Inhibit lookup for tests/*.rs without [[test]] sections
|
autotests = false # Inhibit lookup for tests/*.rs without [[test]] sections
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "pixels"
|
name = "pixels"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "pixels"
|
name = "pixels"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "profile"
|
name = "profile"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "profile"
|
name = "profile"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "servo_rand"
|
name = "servo_rand"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "servo_rand"
|
name = "servo_rand"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "range"
|
name = "range"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "range"
|
name = "range"
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
[package]
|
[package]
|
||||||
name = "script"
|
name = "script"
|
||||||
version = "0.0.1"
|
|
||||||
authors = ["The Servo Project Developers"]
|
|
||||||
license = "MPL-2.0"
|
|
||||||
edition = "2018"
|
|
||||||
publish = false
|
|
||||||
|
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
|
version.workspace = true
|
||||||
|
authors.workspace = true
|
||||||
|
license.workspace = true
|
||||||
|
edition.workspace = true
|
||||||
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "script"
|
name = "script"
|
||||||
|
|
|
@ -116,8 +116,12 @@ unsafe extern "C" fn off_thread_compilation_callback(
|
||||||
let cx = GlobalScope::get_cx();
|
let cx = GlobalScope::get_cx();
|
||||||
let _ar = enter_realm(&*global);
|
let _ar = enter_realm(&*global);
|
||||||
|
|
||||||
let compiled_script = FinishOffThreadStencil(*cx, token.0, ptr::null_mut());
|
// TODO: This is necessary because the rust compiler will otherwise try to move the *mut
|
||||||
|
// OffThreadToken directly, which isn't marked as Send. The correct fix is that this
|
||||||
|
// type is marked as Send in mozjs.
|
||||||
|
let used_token = token;
|
||||||
|
|
||||||
|
let compiled_script = FinishOffThreadStencil(*cx, used_token.0, ptr::null_mut());
|
||||||
let load = if compiled_script.is_null() {
|
let load = if compiled_script.is_null() {
|
||||||
Err(NoTrace(NetworkError::Internal(
|
Err(NoTrace(NetworkError::Internal(
|
||||||
"Off-thread compilation failed.".into(),
|
"Off-thread compilation failed.".into(),
|
||||||
|
|
|
@ -157,7 +157,7 @@ macro_rules! make_labels_getter(
|
||||||
|
|
||||||
#[macro_export]
|
#[macro_export]
|
||||||
macro_rules! make_enumerated_getter(
|
macro_rules! make_enumerated_getter(
|
||||||
( $attr:ident, $htmlname:tt, $default:expr, $($choices: pat)|+) => (
|
( $attr:ident, $htmlname:tt, $default:expr, $($choices:pat_param)|+) => (
|
||||||
fn $attr(&self) -> DOMString {
|
fn $attr(&self) -> DOMString {
|
||||||
use $crate::dom::bindings::inheritance::Castable;
|
use $crate::dom::bindings::inheritance::Castable;
|
||||||
use $crate::dom::element::Element;
|
use $crate::dom::element::Element;
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "libservo"
|
name = "libservo"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "servo"
|
name = "servo"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "background_hang_monitor_api"
|
name = "background_hang_monitor_api"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "background_hang_monitor_api"
|
name = "background_hang_monitor_api"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "base"
|
name = "base"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "base"
|
name = "base"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "bluetooth_traits"
|
name = "bluetooth_traits"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "bluetooth_traits"
|
name = "bluetooth_traits"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "canvas_traits"
|
name = "canvas_traits"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "canvas_traits"
|
name = "canvas_traits"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "compositing_traits"
|
name = "compositing_traits"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "compositing_traits"
|
name = "compositing_traits"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "devtools_traits"
|
name = "devtools_traits"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "devtools_traits"
|
name = "devtools_traits"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "embedder_traits"
|
name = "embedder_traits"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "embedder_traits"
|
name = "embedder_traits"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "gfx_traits"
|
name = "gfx_traits"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "gfx_traits"
|
name = "gfx_traits"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "net_traits"
|
name = "net_traits"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "net_traits"
|
name = "net_traits"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "profile_traits"
|
name = "profile_traits"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "profile_traits"
|
name = "profile_traits"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "script_traits"
|
name = "script_traits"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "script_traits"
|
name = "script_traits"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "script_layout_interface"
|
name = "script_layout_interface"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "script_layout_interface"
|
name = "script_layout_interface"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "webrender_traits"
|
name = "webrender_traits"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "webrender_traits"
|
name = "webrender_traits"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "servo_url"
|
name = "servo_url"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "servo_url"
|
name = "servo_url"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "webdriver_server"
|
name = "webdriver_server"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "webdriver_server"
|
name = "webdriver_server"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "webgpu"
|
name = "webgpu"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "webgpu"
|
name = "webgpu"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "simpleservo_jniapi"
|
name = "simpleservo_jniapi"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
publish = false
|
publish.workspace = true
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
[package]
|
[package]
|
||||||
|
|
||||||
name = "servoshell"
|
name = "servoshell"
|
||||||
version = "0.0.1"
|
|
||||||
authors = ["The Servo Project Developers"]
|
|
||||||
license = "MPL-2.0"
|
|
||||||
edition = "2021"
|
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
publish = false
|
version.workspace = true
|
||||||
|
authors.workspace = true
|
||||||
|
license.workspace = true
|
||||||
|
edition.workspace = true
|
||||||
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "servoshell"
|
name = "servoshell"
|
||||||
|
|
|
@ -465,6 +465,8 @@ def check_toml(file_name, lines):
|
||||||
yield (idx + 1, "found asterisk instead of minimum version number")
|
yield (idx + 1, "found asterisk instead of minimum version number")
|
||||||
for license_line in licenses_toml:
|
for license_line in licenses_toml:
|
||||||
ok_licensed |= (license_line in line)
|
ok_licensed |= (license_line in line)
|
||||||
|
if "license.workspace" in line:
|
||||||
|
ok_licensed = True
|
||||||
if not ok_licensed:
|
if not ok_licensed:
|
||||||
yield (0, ".toml file should contain a valid license.")
|
yield (0, ".toml file should contain a valid license.")
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "crown"
|
name = "crown"
|
||||||
authors = ["The Servo Project Developers"]
|
version.workspace = true
|
||||||
version = "0.1.0"
|
authors.workspace = true
|
||||||
edition = "2021"
|
license.workspace = true
|
||||||
license = "MPL-2.0"
|
edition.workspace = true
|
||||||
|
publish.workspace = true
|
||||||
|
|
||||||
# Do not use workspace dependencies in this package!
|
# Do not use workspace dependencies in this package!
|
||||||
# In etc/shell.nix, we filter Cargo.lock and build this package in isolation,
|
# In etc/shell.nix, we filter Cargo.lock and build this package in isolation,
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
|
|
||||||
name = "task_info"
|
name = "task_info"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
|
publish.workspace = true
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "deny_public_fields_tests"
|
name = "deny_public_fields_tests"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "malloc_size_of_tests"
|
name = "malloc_size_of_tests"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "metrics_tests"
|
name = "metrics_tests"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "metrics_tests"
|
name = "metrics_tests"
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "profile_tests"
|
name = "profile_tests"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "profile_tests"
|
name = "profile_tests"
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "script_tests"
|
name = "script_tests"
|
||||||
version = "0.0.1"
|
version.workspace = true
|
||||||
authors = ["The Servo Project Developers"]
|
authors.workspace = true
|
||||||
license = "MPL-2.0"
|
license.workspace = true
|
||||||
edition = "2018"
|
edition.workspace = true
|
||||||
|
publish.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "script_tests"
|
name = "script_tests"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue