mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Auto merge of #28778 - servo:update-gif, r=jdm
Update various dependencies. Closes #28773. Closes #28476. Closes #28479. Closes #28518. Closes #28516.
This commit is contained in:
commit
ce73d8f2b0
39 changed files with 561 additions and 396 deletions
18
.github/workflows/main.yml
vendored
18
.github/workflows/main.yml
vendored
|
@ -17,6 +17,9 @@ jobs:
|
||||||
name: Build (Windows)
|
name: Build (Windows)
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
steps:
|
steps:
|
||||||
|
- name: Branch check
|
||||||
|
if: ${{ !contains('refs/heads/auto refs/heads/try refs/heads/try-windows', github.ref) }}
|
||||||
|
run: exit 0
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
@ -41,6 +44,9 @@ jobs:
|
||||||
name: Build (Windows UWP x64)
|
name: Build (Windows UWP x64)
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
steps:
|
steps:
|
||||||
|
- name: Branch check
|
||||||
|
if: ${{ !contains('refs/heads/auto refs/heads/try refs/heads/try-windows', github.ref) }}
|
||||||
|
run: exit 0
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
@ -66,6 +72,9 @@ jobs:
|
||||||
name: Build (Windows UWP arm64)
|
name: Build (Windows UWP arm64)
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
steps:
|
steps:
|
||||||
|
- name: Branch check
|
||||||
|
if: ${{ !contains('refs/heads/auto refs/heads/try refs/heads/try-windows', github.ref) }}
|
||||||
|
run: exit 0
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
@ -89,6 +98,9 @@ jobs:
|
||||||
name: Build (macOS)
|
name: Build (macOS)
|
||||||
runs-on: macos-10.15
|
runs-on: macos-10.15
|
||||||
steps:
|
steps:
|
||||||
|
- name: Branch check
|
||||||
|
if: ${{ !contains('refs/heads/auto refs/heads/try refs/heads/try-mac', github.ref) }}
|
||||||
|
run: exit 0
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
@ -181,6 +193,9 @@ jobs:
|
||||||
name: Build (Linux)
|
name: Build (Linux)
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
|
- name: Branch check
|
||||||
|
if: ${{ !contains('refs/heads/auto refs/heads/try refs/heads/try-linux refs/heads/try-wpt', github.ref) }}
|
||||||
|
run: exit 0
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
@ -214,6 +229,9 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
chunk_id: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
|
chunk_id: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
|
||||||
steps:
|
steps:
|
||||||
|
- name: Branch check
|
||||||
|
if: ${{ !contains('refs/heads/auto refs/heads/try refs/heads/try-wpt', github.ref) }}
|
||||||
|
run: exit 0
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
|
747
Cargo.lock
generated
747
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -22,7 +22,7 @@ canvas_traits = { path = "../canvas_traits" }
|
||||||
crossbeam-channel = "0.4"
|
crossbeam-channel = "0.4"
|
||||||
cssparser = "0.29"
|
cssparser = "0.29"
|
||||||
euclid = "0.20"
|
euclid = "0.20"
|
||||||
font-kit = "0.10"
|
font-kit = "0.11"
|
||||||
fnv = "1.0"
|
fnv = "1.0"
|
||||||
gfx = { path = "../gfx" }
|
gfx = { path = "../gfx" }
|
||||||
gleam = "0.12"
|
gleam = "0.12"
|
||||||
|
@ -33,7 +33,7 @@ lyon_geom = "0.14"
|
||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
pathfinder_geometry = "0.5"
|
pathfinder_geometry = "0.5"
|
||||||
pixels = { path = "../pixels" }
|
pixels = { path = "../pixels" }
|
||||||
raqote = { git = "https://github.com/jrmuizel/raqote", features = ["text"] }
|
raqote = { git = "https://github.com/jrmuizel/raqote" }
|
||||||
servo_arc = { path = "../servo_arc" }
|
servo_arc = { path = "../servo_arc" }
|
||||||
servo_config = { path = "../config" }
|
servo_config = { path = "../config" }
|
||||||
sparkle = "0.1.25"
|
sparkle = "0.1.25"
|
||||||
|
|
|
@ -22,9 +22,9 @@ embedder_traits = { path = "../embedder_traits" }
|
||||||
euclid = "0.20"
|
euclid = "0.20"
|
||||||
gfx_traits = { path = "../gfx_traits" }
|
gfx_traits = { path = "../gfx_traits" }
|
||||||
gleam = { version = "0.12", optional = true }
|
gleam = { version = "0.12", optional = true }
|
||||||
image = "0.23"
|
image = "0.24"
|
||||||
ipc-channel = "0.14"
|
ipc-channel = "0.14"
|
||||||
keyboard-types = "0.5"
|
keyboard-types = "0.6"
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
msg = { path = "../msg" }
|
msg = { path = "../msg" }
|
||||||
|
|
|
@ -31,4 +31,4 @@ url = "2.0"
|
||||||
std_test_override = { path = "../std_test_override" }
|
std_test_override = { path = "../std_test_override" }
|
||||||
|
|
||||||
[target.'cfg(not(target_os = "android"))'.dependencies]
|
[target.'cfg(not(target_os = "android"))'.dependencies]
|
||||||
dirs = "2.0.2"
|
dirs-next = "2.0"
|
||||||
|
|
|
@ -15,7 +15,7 @@ use std::path::PathBuf;
|
||||||
not(target_os = "android")
|
not(target_os = "android")
|
||||||
))]
|
))]
|
||||||
pub fn default_config_dir() -> Option<PathBuf> {
|
pub fn default_config_dir() -> Option<PathBuf> {
|
||||||
let mut config_dir = ::dirs::config_dir().unwrap();
|
let mut config_dir = ::dirs_next::config_dir().unwrap();
|
||||||
config_dir.push("servo");
|
config_dir.push("servo");
|
||||||
config_dir.push("default");
|
config_dir.push("default");
|
||||||
Some(config_dir)
|
Some(config_dir)
|
||||||
|
@ -30,14 +30,14 @@ pub fn default_config_dir() -> Option<PathBuf> {
|
||||||
pub fn default_config_dir() -> Option<PathBuf> {
|
pub fn default_config_dir() -> Option<PathBuf> {
|
||||||
// FIXME: use `config_dir()` ($HOME/Library/Preferences)
|
// FIXME: use `config_dir()` ($HOME/Library/Preferences)
|
||||||
// instead of `data_dir()` ($HOME/Library/Application Support) ?
|
// instead of `data_dir()` ($HOME/Library/Application Support) ?
|
||||||
let mut config_dir = ::dirs::data_dir().unwrap();
|
let mut config_dir = ::dirs_next::data_dir().unwrap();
|
||||||
config_dir.push("Servo");
|
config_dir.push("Servo");
|
||||||
Some(config_dir)
|
Some(config_dir)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(all(target_os = "windows", not(feature = "uwp")))]
|
#[cfg(all(target_os = "windows", not(feature = "uwp")))]
|
||||||
pub fn default_config_dir() -> Option<PathBuf> {
|
pub fn default_config_dir() -> Option<PathBuf> {
|
||||||
let mut config_dir = ::dirs::config_dir().unwrap();
|
let mut config_dir = ::dirs_next::config_dir().unwrap();
|
||||||
config_dir.push("Servo");
|
config_dir.push("Servo");
|
||||||
Some(config_dir)
|
Some(config_dir)
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,7 @@ gfx_traits = { path = "../gfx_traits" }
|
||||||
http = "0.2"
|
http = "0.2"
|
||||||
headers = "0.3"
|
headers = "0.3"
|
||||||
ipc-channel = "0.14"
|
ipc-channel = "0.14"
|
||||||
keyboard-types = "0.5"
|
keyboard-types = "0.6"
|
||||||
layout_traits = { path = "../layout_traits" }
|
layout_traits = { path = "../layout_traits" }
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
media = { path = "../media" }
|
media = { path = "../media" }
|
||||||
|
|
|
@ -13,7 +13,7 @@ path = "lib.rs"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
crossbeam-channel = "0.4"
|
crossbeam-channel = "0.4"
|
||||||
ipc-channel = "0.14"
|
ipc-channel = "0.14"
|
||||||
keyboard-types = "0.5"
|
keyboard-types = "0.6"
|
||||||
lazy_static = "1"
|
lazy_static = "1"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
msg = { path = "../msg" }
|
msg = { path = "../msg" }
|
||||||
|
|
|
@ -52,7 +52,7 @@ freetype = "0.7"
|
||||||
servo_allocator = { path = "../allocator" }
|
servo_allocator = { path = "../allocator" }
|
||||||
|
|
||||||
[target.'cfg(target_os = "linux")'.dependencies]
|
[target.'cfg(target_os = "linux")'.dependencies]
|
||||||
servo-fontconfig = "0.5"
|
fontconfig_sys = { package = "yeslogic-fontconfig-sys", version = "3" }
|
||||||
|
|
||||||
[target.'cfg(target_os = "android")'.dependencies]
|
[target.'cfg(target_os = "android")'.dependencies]
|
||||||
xml-rs = "0.8"
|
xml-rs = "0.8"
|
||||||
|
|
|
@ -4,14 +4,12 @@
|
||||||
|
|
||||||
use super::c_str_to_string;
|
use super::c_str_to_string;
|
||||||
use crate::text::util::is_cjk;
|
use crate::text::util::is_cjk;
|
||||||
use fontconfig::fontconfig::{FcChar8, FcResultMatch, FcSetSystem};
|
use fontconfig_sys::{FcChar8, FcResultMatch, FcSetSystem};
|
||||||
use fontconfig::fontconfig::{FcConfigGetCurrent, FcConfigGetFonts, FcConfigSubstitute};
|
use fontconfig_sys::{FcConfigGetCurrent, FcConfigGetFonts, FcConfigSubstitute};
|
||||||
use fontconfig::fontconfig::{FcDefaultSubstitute, FcFontMatch, FcNameParse, FcPatternGetString};
|
use fontconfig_sys::{FcDefaultSubstitute, FcFontMatch, FcNameParse, FcPatternGetString};
|
||||||
use fontconfig::fontconfig::{FcFontSetDestroy, FcMatchPattern, FcPatternCreate, FcPatternDestroy};
|
use fontconfig_sys::{FcFontSetDestroy, FcMatchPattern, FcPatternCreate, FcPatternDestroy};
|
||||||
use fontconfig::fontconfig::{
|
use fontconfig_sys::{FcFontSetList, FcObjectSetCreate, FcObjectSetDestroy, FcPatternAddString};
|
||||||
FcFontSetList, FcObjectSetCreate, FcObjectSetDestroy, FcPatternAddString,
|
use fontconfig_sys::{FcObjectSetAdd, FcPatternGetInteger};
|
||||||
};
|
|
||||||
use fontconfig::fontconfig::{FcObjectSetAdd, FcPatternGetInteger};
|
|
||||||
use libc::{c_char, c_int};
|
use libc::{c_char, c_int};
|
||||||
use std::ffi::CString;
|
use std::ffi::CString;
|
||||||
use std::ptr;
|
use std::ptr;
|
||||||
|
|
|
@ -22,7 +22,7 @@ euclid = "0.20"
|
||||||
fnv = "1.0"
|
fnv = "1.0"
|
||||||
gfx = { path = "../gfx" }
|
gfx = { path = "../gfx" }
|
||||||
gfx_traits = { path = "../gfx_traits" }
|
gfx_traits = { path = "../gfx_traits" }
|
||||||
html5ever = "0.25"
|
html5ever = "0.26"
|
||||||
ipc-channel = "0.14"
|
ipc-channel = "0.14"
|
||||||
lazy_static = "1"
|
lazy_static = "1"
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
|
@ -31,7 +31,7 @@ malloc_size_of = { path = "../malloc_size_of" }
|
||||||
msg = { path = "../msg" }
|
msg = { path = "../msg" }
|
||||||
net_traits = { path = "../net_traits" }
|
net_traits = { path = "../net_traits" }
|
||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
parking_lot = "0.10"
|
parking_lot = "0.11"
|
||||||
profile_traits = { path = "../profile_traits" }
|
profile_traits = { path = "../profile_traits" }
|
||||||
range = { path = "../range" }
|
range = { path = "../range" }
|
||||||
rayon = "1"
|
rayon = "1"
|
||||||
|
|
|
@ -23,14 +23,14 @@ fnv = "1.0"
|
||||||
fxhash = "0.2"
|
fxhash = "0.2"
|
||||||
gfx = { path = "../gfx" }
|
gfx = { path = "../gfx" }
|
||||||
gfx_traits = { path = "../gfx_traits" }
|
gfx_traits = { path = "../gfx_traits" }
|
||||||
html5ever = "0.25"
|
html5ever = "0.26"
|
||||||
ipc-channel = "0.14"
|
ipc-channel = "0.14"
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
mitochondria = "1.1.2"
|
mitochondria = "1.1.2"
|
||||||
msg = { path = "../msg" }
|
msg = { path = "../msg" }
|
||||||
net_traits = { path = "../net_traits" }
|
net_traits = { path = "../net_traits" }
|
||||||
parking_lot = "0.10"
|
parking_lot = "0.11"
|
||||||
range = { path = "../range" }
|
range = { path = "../range" }
|
||||||
rayon = "1"
|
rayon = "1"
|
||||||
rayon_croissant = "0.2.0"
|
rayon_croissant = "0.2.0"
|
||||||
|
@ -47,4 +47,4 @@ webrender_api = { git = "https://github.com/servo/webrender" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
lazy_static = "1"
|
lazy_static = "1"
|
||||||
quickcheck = "0.9"
|
quickcheck = "1"
|
||||||
|
|
|
@ -21,7 +21,7 @@ fxhash = "0.2"
|
||||||
gfx = { path = "../gfx" }
|
gfx = { path = "../gfx" }
|
||||||
gfx_traits = { path = "../gfx_traits" }
|
gfx_traits = { path = "../gfx_traits" }
|
||||||
histogram = "0.6.8"
|
histogram = "0.6.8"
|
||||||
html5ever = "0.25"
|
html5ever = "0.26"
|
||||||
ipc-channel = "0.14"
|
ipc-channel = "0.14"
|
||||||
layout = { path = "../layout", package = "layout_2013" }
|
layout = { path = "../layout", package = "layout_2013" }
|
||||||
layout_traits = { path = "../layout_traits" }
|
layout_traits = { path = "../layout_traits" }
|
||||||
|
@ -32,7 +32,7 @@ malloc_size_of = { path = "../malloc_size_of" }
|
||||||
metrics = { path = "../metrics" }
|
metrics = { path = "../metrics" }
|
||||||
msg = { path = "../msg" }
|
msg = { path = "../msg" }
|
||||||
net_traits = { path = "../net_traits" }
|
net_traits = { path = "../net_traits" }
|
||||||
parking_lot = { version = "0.10" }
|
parking_lot = { version = "0.11" }
|
||||||
profile_traits = { path = "../profile_traits" }
|
profile_traits = { path = "../profile_traits" }
|
||||||
range = { path = "../range" }
|
range = { path = "../range" }
|
||||||
rayon = "1"
|
rayon = "1"
|
||||||
|
|
|
@ -20,7 +20,7 @@ fnv = "1.0"
|
||||||
fxhash = "0.2"
|
fxhash = "0.2"
|
||||||
gfx = { path = "../gfx" }
|
gfx = { path = "../gfx" }
|
||||||
gfx_traits = { path = "../gfx_traits" }
|
gfx_traits = { path = "../gfx_traits" }
|
||||||
html5ever = "0.25"
|
html5ever = "0.26"
|
||||||
ipc-channel = "0.14"
|
ipc-channel = "0.14"
|
||||||
layout = { path = "../layout_2020", package = "layout_2020" }
|
layout = { path = "../layout_2020", package = "layout_2020" }
|
||||||
layout_traits = { path = "../layout_traits" }
|
layout_traits = { path = "../layout_traits" }
|
||||||
|
@ -31,7 +31,7 @@ malloc_size_of = { path = "../malloc_size_of" }
|
||||||
metrics = { path = "../metrics" }
|
metrics = { path = "../metrics" }
|
||||||
msg = { path = "../msg" }
|
msg = { path = "../msg" }
|
||||||
net_traits = { path = "../net_traits" }
|
net_traits = { path = "../net_traits" }
|
||||||
parking_lot = { version = "0.10" }
|
parking_lot = { version = "0.11" }
|
||||||
profile_traits = { path = "../profile_traits" }
|
profile_traits = { path = "../profile_traits" }
|
||||||
range = { path = "../range" }
|
range = { path = "../range" }
|
||||||
script = { path = "../script" }
|
script = { path = "../script" }
|
||||||
|
|
|
@ -35,8 +35,8 @@ cssparser = "0.29"
|
||||||
euclid = "0.20"
|
euclid = "0.20"
|
||||||
hashglobe = { path = "../hashglobe" }
|
hashglobe = { path = "../hashglobe" }
|
||||||
http = { version = "0.2", optional = true }
|
http = { version = "0.2", optional = true }
|
||||||
hyper_serde = { version = "0.12", optional = true }
|
hyper_serde = { version = "0.13", optional = true }
|
||||||
keyboard-types = { version = "0.5", optional = true }
|
keyboard-types = { version = "0.6", optional = true }
|
||||||
selectors = { path = "../selectors" }
|
selectors = { path = "../selectors" }
|
||||||
serde = { version = "1.0.27", optional = true }
|
serde = { version = "1.0.27", optional = true }
|
||||||
serde_bytes = { version = "0.11", optional = true }
|
serde_bytes = { version = "0.11", optional = true }
|
||||||
|
@ -51,4 +51,4 @@ url = { version = "2.0", optional = true }
|
||||||
uuid = { version = "0.8", features = ["v4"], optional = true }
|
uuid = { version = "0.8", features = ["v4"], optional = true }
|
||||||
void = "1.0.2"
|
void = "1.0.2"
|
||||||
webrender_api = { git = "https://github.com/servo/webrender", optional = true }
|
webrender_api = { git = "https://github.com/servo/webrender", optional = true }
|
||||||
xml5ever = { version = "0.16", optional = true }
|
xml5ever = { version = "0.17", optional = true }
|
||||||
|
|
|
@ -17,7 +17,7 @@ ipc-channel = "0.14"
|
||||||
lazy_static = "1"
|
lazy_static = "1"
|
||||||
malloc_size_of = { path = "../malloc_size_of" }
|
malloc_size_of = { path = "../malloc_size_of" }
|
||||||
malloc_size_of_derive = "0.1"
|
malloc_size_of_derive = "0.1"
|
||||||
parking_lot = "0.10"
|
parking_lot = "0.11"
|
||||||
serde = "1.0.60"
|
serde = "1.0.60"
|
||||||
webrender_api = { git = "https://github.com/servo/webrender" }
|
webrender_api = { git = "https://github.com/servo/webrender" }
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ base64 = "0.10.1"
|
||||||
brotli = "3"
|
brotli = "3"
|
||||||
bytes = "1"
|
bytes = "1"
|
||||||
content-security-policy = { version = "0.4.0", features = ["serde"] }
|
content-security-policy = { version = "0.4.0", features = ["serde"] }
|
||||||
cookie_rs = { package = "cookie", version = "0.11" }
|
cookie_rs = { package = "cookie", version = "0.12" }
|
||||||
crossbeam-channel = "0.4"
|
crossbeam-channel = "0.4"
|
||||||
data-url = "0.1.0"
|
data-url = "0.1.0"
|
||||||
devtools_traits = { path = "../devtools_traits" }
|
devtools_traits = { path = "../devtools_traits" }
|
||||||
|
@ -33,7 +33,7 @@ headers = "0.3"
|
||||||
http = "0.2"
|
http = "0.2"
|
||||||
hyper = { version = "0.14", features = ["client", "http1", "http2", "tcp", "stream"] }
|
hyper = { version = "0.14", features = ["client", "http1", "http2", "tcp", "stream"] }
|
||||||
hyper-openssl = "0.9.1"
|
hyper-openssl = "0.9.1"
|
||||||
hyper_serde = "0.12"
|
hyper_serde = "0.13"
|
||||||
immeta = "0.4"
|
immeta = "0.4"
|
||||||
ipc-channel = "0.14"
|
ipc-channel = "0.14"
|
||||||
lazy_static = "1"
|
lazy_static = "1"
|
||||||
|
|
|
@ -14,12 +14,12 @@ doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
content-security-policy = { version = "0.4.0", features = ["serde"] }
|
content-security-policy = { version = "0.4.0", features = ["serde"] }
|
||||||
cookie = "0.11"
|
cookie = "0.12"
|
||||||
embedder_traits = { path = "../embedder_traits" }
|
embedder_traits = { path = "../embedder_traits" }
|
||||||
headers = "0.3"
|
headers = "0.3"
|
||||||
http = "0.2"
|
http = "0.2"
|
||||||
hyper = "0.14"
|
hyper = "0.14"
|
||||||
hyper_serde = "0.12"
|
hyper_serde = "0.13"
|
||||||
ipc-channel = "0.14"
|
ipc-channel = "0.14"
|
||||||
lazy_static = "1"
|
lazy_static = "1"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
|
@ -29,7 +29,7 @@ mime = "0.3"
|
||||||
msg = { path = "../msg" }
|
msg = { path = "../msg" }
|
||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
percent-encoding = "2.0"
|
percent-encoding = "2.0"
|
||||||
piston_image = { package = "image", version = "0.23" }
|
piston_image = { package = "image", version = "0.24" }
|
||||||
pixels = { path = "../pixels" }
|
pixels = { path = "../pixels" }
|
||||||
serde = "1.0"
|
serde = "1.0"
|
||||||
servo_arc = { path = "../servo_arc" }
|
servo_arc = { path = "../servo_arc" }
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
use crate::image_cache::CorsStatus;
|
use crate::image_cache::CorsStatus;
|
||||||
use ipc_channel::ipc::IpcSharedMemory;
|
use ipc_channel::ipc::IpcSharedMemory;
|
||||||
use piston_image::{DynamicImage, ImageFormat};
|
use piston_image::ImageFormat;
|
||||||
use pixels::PixelFormat;
|
use pixels::PixelFormat;
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
|
||||||
|
@ -52,10 +52,7 @@ pub fn load_from_memory(buffer: &[u8], cors_status: CorsStatus) -> Option<Image>
|
||||||
},
|
},
|
||||||
Ok(_) => match piston_image::load_from_memory(buffer) {
|
Ok(_) => match piston_image::load_from_memory(buffer) {
|
||||||
Ok(image) => {
|
Ok(image) => {
|
||||||
let mut rgba = match image {
|
let mut rgba = image.into_rgba8();
|
||||||
DynamicImage::ImageRgba8(rgba) => rgba,
|
|
||||||
image => image.to_rgba(),
|
|
||||||
};
|
|
||||||
pixels::rgba8_byte_swap_colors_inplace(&mut *rgba);
|
pixels::rgba8_byte_swap_colors_inplace(&mut *rgba);
|
||||||
Some(Image {
|
Some(Image {
|
||||||
width: rgba.width(),
|
width: rgba.width(),
|
||||||
|
|
|
@ -32,7 +32,7 @@ serde_json = "1.0"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
accountable-refcell = { version = "0.2.0", optional = true }
|
accountable-refcell = { version = "0.2.0", optional = true }
|
||||||
app_units = "0.7"
|
app_units = "0.7"
|
||||||
arrayvec = "0.5.1"
|
arrayvec = "0.7"
|
||||||
backtrace = "0.3"
|
backtrace = "0.3"
|
||||||
base64 = "0.10.1"
|
base64 = "0.10.1"
|
||||||
bitflags = "1.0"
|
bitflags = "1.0"
|
||||||
|
@ -40,7 +40,7 @@ bluetooth_traits = { path = "../bluetooth_traits" }
|
||||||
canvas_traits = { path = "../canvas_traits" }
|
canvas_traits = { path = "../canvas_traits" }
|
||||||
chrono = "0.4"
|
chrono = "0.4"
|
||||||
content-security-policy = { version = "0.4.0", features = ["serde"] }
|
content-security-policy = { version = "0.4.0", features = ["serde"] }
|
||||||
cookie = "0.11"
|
cookie = "0.12"
|
||||||
crossbeam-channel = "0.4"
|
crossbeam-channel = "0.4"
|
||||||
cssparser = "0.29"
|
cssparser = "0.29"
|
||||||
data-url = "0.1.0"
|
data-url = "0.1.0"
|
||||||
|
@ -55,16 +55,16 @@ euclid = "0.20"
|
||||||
fnv = "1.0"
|
fnv = "1.0"
|
||||||
fxhash = "0.2"
|
fxhash = "0.2"
|
||||||
headers = "0.3"
|
headers = "0.3"
|
||||||
html5ever = "0.25"
|
html5ever = "0.26"
|
||||||
http = "0.2"
|
http = "0.2"
|
||||||
hyper_serde = "0.12"
|
hyper_serde = "0.13"
|
||||||
image = "0.23"
|
image = "0.24"
|
||||||
indexmap = { version = "1.0.2", features = ["std"] }
|
indexmap = { version = "1.0.2", features = ["std"] }
|
||||||
ipc-channel = "0.14"
|
ipc-channel = "0.14"
|
||||||
itertools = "0.8"
|
itertools = "0.8"
|
||||||
js = { package = "mozjs", git = "https://github.com/servo/rust-mozjs" }
|
js = { package = "mozjs", git = "https://github.com/servo/rust-mozjs" }
|
||||||
jstraceable_derive = { path = "../jstraceable_derive" }
|
jstraceable_derive = { path = "../jstraceable_derive" }
|
||||||
keyboard-types = "0.5"
|
keyboard-types = "0.6"
|
||||||
lazy_static = "1"
|
lazy_static = "1"
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
|
@ -78,7 +78,7 @@ mitochondria = "1.1.2"
|
||||||
msg = { path = "../msg" }
|
msg = { path = "../msg" }
|
||||||
net_traits = { path = "../net_traits" }
|
net_traits = { path = "../net_traits" }
|
||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
parking_lot = "0.10"
|
parking_lot = "0.11"
|
||||||
percent-encoding = "2.0"
|
percent-encoding = "2.0"
|
||||||
phf = "0.8"
|
phf = "0.8"
|
||||||
pixels = { path = "../pixels" }
|
pixels = { path = "../pixels" }
|
||||||
|
@ -116,7 +116,7 @@ webdriver = "0.44"
|
||||||
webgpu = { path = "../webgpu" }
|
webgpu = { path = "../webgpu" }
|
||||||
webrender_api = { git = "https://github.com/servo/webrender" }
|
webrender_api = { git = "https://github.com/servo/webrender" }
|
||||||
webxr-api = { git = "https://github.com/servo/webxr", features = ["ipc"] }
|
webxr-api = { git = "https://github.com/servo/webxr", features = ["ipc"] }
|
||||||
xml5ever = "0.16"
|
xml5ever = "0.17"
|
||||||
|
|
||||||
[target.'cfg(not(target_os = "ios"))'.dependencies]
|
[target.'cfg(not(target_os = "ios"))'.dependencies]
|
||||||
mozangle = "0.2"
|
mozangle = "0.2"
|
||||||
|
|
|
@ -135,7 +135,7 @@ impl GPUCanvasContextMethods for GPUCanvasContext {
|
||||||
}
|
}
|
||||||
*self.swap_chain.borrow_mut() = None;
|
*self.swap_chain.borrow_mut() = None;
|
||||||
|
|
||||||
let mut buffer_ids = ArrayVec::<[id::BufferId; PRESENTATION_BUFFER_COUNT]>::new();
|
let mut buffer_ids = ArrayVec::<id::BufferId, PRESENTATION_BUFFER_COUNT>::new();
|
||||||
for _ in 0..PRESENTATION_BUFFER_COUNT {
|
for _ in 0..PRESENTATION_BUFFER_COUNT {
|
||||||
buffer_ids.push(
|
buffer_ids.push(
|
||||||
self.global()
|
self.global()
|
||||||
|
|
|
@ -37,7 +37,7 @@ use canvas_traits::webgl::{GLContextAttributes, WebGLVersion};
|
||||||
use dom_struct::dom_struct;
|
use dom_struct::dom_struct;
|
||||||
use euclid::default::{Rect, Size2D};
|
use euclid::default::{Rect, Size2D};
|
||||||
use html5ever::{LocalName, Prefix};
|
use html5ever::{LocalName, Prefix};
|
||||||
use image::png::PngEncoder;
|
use image::codecs::png::PngEncoder;
|
||||||
use image::ColorType;
|
use image::ColorType;
|
||||||
use ipc_channel::ipc::{self as ipcchan, IpcSharedMemory};
|
use ipc_channel::ipc::{self as ipcchan, IpcSharedMemory};
|
||||||
use js::error::throw_type_error;
|
use js::error::throw_type_error;
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
#![feature(const_fn_fn_ptr_basics)]
|
|
||||||
#![feature(const_fn_trait_bound)]
|
|
||||||
#![feature(core_intrinsics)]
|
#![feature(core_intrinsics)]
|
||||||
#![feature(drain_filter)]
|
#![feature(drain_filter)]
|
||||||
#![feature(plugin)]
|
#![feature(plugin)]
|
||||||
|
|
|
@ -18,7 +18,7 @@ crossbeam-channel = "0.4"
|
||||||
euclid = "0.20"
|
euclid = "0.20"
|
||||||
fxhash = "0.2"
|
fxhash = "0.2"
|
||||||
gfx_traits = { path = "../gfx_traits" }
|
gfx_traits = { path = "../gfx_traits" }
|
||||||
html5ever = "0.25"
|
html5ever = "0.26"
|
||||||
ipc-channel = "0.14"
|
ipc-channel = "0.14"
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
malloc_size_of = { path = "../malloc_size_of" }
|
malloc_size_of = { path = "../malloc_size_of" }
|
||||||
|
@ -26,7 +26,7 @@ malloc_size_of_derive = "0.1"
|
||||||
metrics = { path = "../metrics" }
|
metrics = { path = "../metrics" }
|
||||||
msg = { path = "../msg" }
|
msg = { path = "../msg" }
|
||||||
net_traits = { path = "../net_traits" }
|
net_traits = { path = "../net_traits" }
|
||||||
parking_lot = "0.10"
|
parking_lot = "0.11"
|
||||||
profile_traits = { path = "../profile_traits" }
|
profile_traits = { path = "../profile_traits" }
|
||||||
range = { path = "../range" }
|
range = { path = "../range" }
|
||||||
script_traits = { path = "../script_traits" }
|
script_traits = { path = "../script_traits" }
|
||||||
|
|
|
@ -14,7 +14,7 @@ path = "lib.rs"
|
||||||
bitflags = "1.0"
|
bitflags = "1.0"
|
||||||
bluetooth_traits = { path = "../bluetooth_traits" }
|
bluetooth_traits = { path = "../bluetooth_traits" }
|
||||||
canvas_traits = { path = "../canvas_traits" }
|
canvas_traits = { path = "../canvas_traits" }
|
||||||
cookie = "0.11"
|
cookie = "0.12"
|
||||||
crossbeam-channel = "0.4"
|
crossbeam-channel = "0.4"
|
||||||
devtools_traits = { path = "../devtools_traits" }
|
devtools_traits = { path = "../devtools_traits" }
|
||||||
embedder_traits = { path = "../embedder_traits" }
|
embedder_traits = { path = "../embedder_traits" }
|
||||||
|
@ -22,9 +22,9 @@ euclid = "0.20"
|
||||||
gfx_traits = { path = "../gfx_traits" }
|
gfx_traits = { path = "../gfx_traits" }
|
||||||
headers = "0.3"
|
headers = "0.3"
|
||||||
http = "0.2"
|
http = "0.2"
|
||||||
hyper_serde = "0.12"
|
hyper_serde = "0.13"
|
||||||
ipc-channel = "0.14"
|
ipc-channel = "0.14"
|
||||||
keyboard-types = "0.5"
|
keyboard-types = "0.6"
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
malloc_size_of = { path = "../malloc_size_of" }
|
malloc_size_of = { path = "../malloc_size_of" }
|
||||||
|
|
|
@ -56,7 +56,7 @@ gfx_traits = { path = "../gfx_traits" }
|
||||||
gleam = "0.12"
|
gleam = "0.12"
|
||||||
gstreamer = { version = "0.15", features = ["v1_16"], optional = true }
|
gstreamer = { version = "0.15", features = ["v1_16"], optional = true }
|
||||||
ipc-channel = "0.14"
|
ipc-channel = "0.14"
|
||||||
keyboard-types = "0.5"
|
keyboard-types = "0.6"
|
||||||
layout_thread_2013 = { path = "../layout_thread", optional = true }
|
layout_thread_2013 = { path = "../layout_thread", optional = true }
|
||||||
layout_thread_2020 = { path = "../layout_thread_2020", optional = true }
|
layout_thread_2020 = { path = "../layout_thread_2020", optional = true }
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
|
|
|
@ -31,7 +31,7 @@ gecko_profiler = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
app_units = "0.7"
|
app_units = "0.7"
|
||||||
arrayvec = "0.5"
|
arrayvec = "0.7"
|
||||||
atomic_refcell = "0.1"
|
atomic_refcell = "0.1"
|
||||||
bitflags = "1.0"
|
bitflags = "1.0"
|
||||||
byteorder = "1.0"
|
byteorder = "1.0"
|
||||||
|
@ -42,7 +42,7 @@ euclid = "0.20"
|
||||||
fallible = { path = "../fallible" }
|
fallible = { path = "../fallible" }
|
||||||
fxhash = "0.2"
|
fxhash = "0.2"
|
||||||
hashglobe = { path = "../hashglobe" }
|
hashglobe = { path = "../hashglobe" }
|
||||||
html5ever = { version = "0.25", optional = true }
|
html5ever = { version = "0.26", optional = true }
|
||||||
indexmap = "1.0"
|
indexmap = "1.0"
|
||||||
itertools = "0.8"
|
itertools = "0.8"
|
||||||
itoa = "0.4"
|
itoa = "0.4"
|
||||||
|
@ -56,7 +56,7 @@ num-integer = "0.1"
|
||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
num_cpus = { version = "1.1.0", optional = true }
|
num_cpus = { version = "1.1.0", optional = true }
|
||||||
owning_ref = "0.4"
|
owning_ref = "0.4"
|
||||||
parking_lot = "0.10"
|
parking_lot = "0.11"
|
||||||
precomputed-hash = "0.1.1"
|
precomputed-hash = "0.1.1"
|
||||||
rayon = "1"
|
rayon = "1"
|
||||||
selectors = { path = "../selectors" }
|
selectors = { path = "../selectors" }
|
||||||
|
|
|
@ -69,7 +69,7 @@ pub const WORK_UNIT_MAX: usize = 16;
|
||||||
|
|
||||||
/// A set of nodes, sized to the work unit. This gets copied when sent to other
|
/// A set of nodes, sized to the work unit. This gets copied when sent to other
|
||||||
/// threads, so we keep it compact.
|
/// threads, so we keep it compact.
|
||||||
type WorkUnit<N> = ArrayVec<[SendNode<N>; WORK_UNIT_MAX]>;
|
type WorkUnit<N> = ArrayVec<SendNode<N>, WORK_UNIT_MAX>;
|
||||||
|
|
||||||
/// A callback to create our thread local context. This needs to be
|
/// A callback to create our thread local context. This needs to be
|
||||||
/// out of line so we don't allocate stack space for the entire struct
|
/// out of line so we don't allocate stack space for the entire struct
|
||||||
|
|
|
@ -2534,11 +2534,9 @@ impl PropertyDeclaration {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
type SubpropertiesArray<T> =
|
type SubpropertiesVec<T> = ArrayVec<T, ${max(len(s.sub_properties) \
|
||||||
[T; ${max(len(s.sub_properties) for s in data.shorthands_except_all()) \
|
for s in data.shorthands_except_all()) \
|
||||||
if data.shorthands_except_all() else 0}];
|
if data.shorthands_except_all() else 0}>;
|
||||||
|
|
||||||
type SubpropertiesVec<T> = ArrayVec<SubpropertiesArray<T>>;
|
|
||||||
|
|
||||||
/// A stack-allocated vector of `PropertyDeclaration`
|
/// A stack-allocated vector of `PropertyDeclaration`
|
||||||
/// large enough to parse one CSS `key: value` declaration.
|
/// large enough to parse one CSS `key: value` declaration.
|
||||||
|
@ -2594,7 +2592,11 @@ impl SourcePropertyDeclaration {
|
||||||
|
|
||||||
/// Return type of SourcePropertyDeclaration::drain
|
/// Return type of SourcePropertyDeclaration::drain
|
||||||
pub struct SourcePropertyDeclarationDrain<'a> {
|
pub struct SourcePropertyDeclarationDrain<'a> {
|
||||||
declarations: ArrayVecDrain<'a, SubpropertiesArray<PropertyDeclaration>>,
|
declarations: ArrayVecDrain<
|
||||||
|
'a, PropertyDeclaration,
|
||||||
|
${max(len(s.sub_properties) for s in data.shorthands_except_all()) \
|
||||||
|
if data.shorthands_except_all() else 0}
|
||||||
|
>,
|
||||||
all_shorthand: AllShorthand,
|
all_shorthand: AllShorthand,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,14 +13,14 @@ path = "lib.rs"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
base64 = "0.10"
|
base64 = "0.10"
|
||||||
compositing = { path = "../compositing" }
|
compositing = { path = "../compositing" }
|
||||||
cookie = "0.11"
|
cookie = "0.12"
|
||||||
crossbeam-channel = "0.4"
|
crossbeam-channel = "0.4"
|
||||||
euclid = "0.20"
|
euclid = "0.20"
|
||||||
headers = "0.3"
|
headers = "0.3"
|
||||||
http = "0.2"
|
http = "0.2"
|
||||||
image = "0.23"
|
image = "0.24"
|
||||||
ipc-channel = "0.14"
|
ipc-channel = "0.14"
|
||||||
keyboard-types = "0.5"
|
keyboard-types = "0.6"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
msg = { path = "../msg" }
|
msg = { path = "../msg" }
|
||||||
net_traits = { path = "../net_traits" }
|
net_traits = { path = "../net_traits" }
|
||||||
|
|
|
@ -43,6 +43,7 @@ use servo_url::ServoUrl;
|
||||||
use std::borrow::ToOwned;
|
use std::borrow::ToOwned;
|
||||||
use std::collections::{BTreeMap, HashMap};
|
use std::collections::{BTreeMap, HashMap};
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
use std::io::Cursor;
|
||||||
use std::mem;
|
use std::mem;
|
||||||
use std::net::{SocketAddr, SocketAddrV4};
|
use std::net::{SocketAddr, SocketAddrV4};
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
@ -1589,12 +1590,12 @@ impl Handler {
|
||||||
);
|
);
|
||||||
|
|
||||||
let rgb = RgbImage::from_raw(img.width, img.height, img.bytes.to_vec()).unwrap();
|
let rgb = RgbImage::from_raw(img.width, img.height, img.bytes.to_vec()).unwrap();
|
||||||
let mut png_data = Vec::new();
|
let mut png_data = Cursor::new(Vec::new());
|
||||||
DynamicImage::ImageRgb8(rgb)
|
DynamicImage::ImageRgb8(rgb)
|
||||||
.write_to(&mut png_data, ImageFormat::Png)
|
.write_to(&mut png_data, ImageFormat::Png)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
Ok(base64::encode(&png_data))
|
Ok(base64::encode(png_data.get_ref()))
|
||||||
}
|
}
|
||||||
|
|
||||||
fn handle_take_screenshot(&self) -> WebDriverResult<WebDriverResponse> {
|
fn handle_take_screenshot(&self) -> WebDriverResult<WebDriverResponse> {
|
||||||
|
|
|
@ -11,7 +11,7 @@ name = "webgpu"
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
arrayvec = { version = "0.5.1", features = ["serde"] }
|
arrayvec = { version = "0.7", features = ["serde"] }
|
||||||
euclid = "0.20"
|
euclid = "0.20"
|
||||||
ipc-channel = "0.14"
|
ipc-channel = "0.14"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
|
|
|
@ -164,7 +164,7 @@ pub enum WebGPURequest {
|
||||||
},
|
},
|
||||||
CreateSwapChain {
|
CreateSwapChain {
|
||||||
device_id: id::DeviceId,
|
device_id: id::DeviceId,
|
||||||
buffer_ids: ArrayVec<[id::BufferId; PRESENTATION_BUFFER_COUNT]>,
|
buffer_ids: ArrayVec<id::BufferId, PRESENTATION_BUFFER_COUNT>,
|
||||||
external_id: u64,
|
external_id: u64,
|
||||||
sender: IpcSender<webrender_api::ImageKey>,
|
sender: IpcSender<webrender_api::ImageKey>,
|
||||||
image_desc: webrender_api::ImageDescriptor,
|
image_desc: webrender_api::ImageDescriptor,
|
||||||
|
@ -755,10 +755,12 @@ impl<'a> WGPU<'a> {
|
||||||
size: Size2D::new(width, height),
|
size: Size2D::new(width, height),
|
||||||
unassigned_buffer_ids: buffer_ids,
|
unassigned_buffer_ids: buffer_ids,
|
||||||
available_buffer_ids: ArrayVec::<
|
available_buffer_ids: ArrayVec::<
|
||||||
[id::BufferId; PRESENTATION_BUFFER_COUNT],
|
id::BufferId,
|
||||||
|
PRESENTATION_BUFFER_COUNT,
|
||||||
>::new(),
|
>::new(),
|
||||||
queued_buffer_ids: ArrayVec::<
|
queued_buffer_ids: ArrayVec::<
|
||||||
[id::BufferId; PRESENTATION_BUFFER_COUNT],
|
id::BufferId,
|
||||||
|
PRESENTATION_BUFFER_COUNT,
|
||||||
>::new(),
|
>::new(),
|
||||||
buffer_stride,
|
buffer_stride,
|
||||||
image_key,
|
image_key,
|
||||||
|
@ -1366,9 +1368,9 @@ pub struct PresentationData {
|
||||||
queue_id: id::QueueId,
|
queue_id: id::QueueId,
|
||||||
pub data: Vec<u8>,
|
pub data: Vec<u8>,
|
||||||
pub size: Size2D<i32>,
|
pub size: Size2D<i32>,
|
||||||
unassigned_buffer_ids: ArrayVec<[id::BufferId; PRESENTATION_BUFFER_COUNT]>,
|
unassigned_buffer_ids: ArrayVec<id::BufferId, PRESENTATION_BUFFER_COUNT>,
|
||||||
available_buffer_ids: ArrayVec<[id::BufferId; PRESENTATION_BUFFER_COUNT]>,
|
available_buffer_ids: ArrayVec<id::BufferId, PRESENTATION_BUFFER_COUNT>,
|
||||||
queued_buffer_ids: ArrayVec<[id::BufferId; PRESENTATION_BUFFER_COUNT]>,
|
queued_buffer_ids: ArrayVec<id::BufferId, PRESENTATION_BUFFER_COUNT>,
|
||||||
buffer_stride: u32,
|
buffer_stride: u32,
|
||||||
image_key: webrender_api::ImageKey,
|
image_key: webrender_api::ImageKey,
|
||||||
image_desc: webrender_api::ImageDescriptor,
|
image_desc: webrender_api::ImageDescriptor,
|
||||||
|
|
|
@ -19,7 +19,7 @@ lazy_static = "1"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
simpleservo = { path = "../api" }
|
simpleservo = { path = "../api" }
|
||||||
surfman = "0.4"
|
surfman = "0.4"
|
||||||
keyboard-types = "0.5"
|
keyboard-types = "0.6"
|
||||||
|
|
||||||
[target.'cfg(target_os = "windows")'.dependencies]
|
[target.'cfg(target_os = "windows")'.dependencies]
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
|
|
|
@ -15,7 +15,7 @@ bench = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
android_injected_glue = "0.2"
|
android_injected_glue = "0.2"
|
||||||
android_logger = "0.8"
|
android_logger = "0.10"
|
||||||
gstreamer = "0.15"
|
gstreamer = "0.15"
|
||||||
jni = "0.18.0"
|
jni = "0.18.0"
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
|
|
|
@ -50,7 +50,7 @@ backtrace = "0.3"
|
||||||
clipboard = "0.5"
|
clipboard = "0.5"
|
||||||
euclid = "0.20"
|
euclid = "0.20"
|
||||||
getopts = "0.2.11"
|
getopts = "0.2.11"
|
||||||
keyboard-types = "0.5"
|
keyboard-types = "0.6"
|
||||||
lazy_static = "1"
|
lazy_static = "1"
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
libservo = { path = "../../components/servo" }
|
libservo = { path = "../../components/servo" }
|
||||||
|
@ -63,7 +63,7 @@ webxr = { git = "https://github.com/servo/webxr", features = ["ipc", "glwindow",
|
||||||
winit = "0.24"
|
winit = "0.24"
|
||||||
|
|
||||||
[target.'cfg(any(target_os = "linux", target_os = "windows"))'.dependencies]
|
[target.'cfg(any(target_os = "linux", target_os = "windows"))'.dependencies]
|
||||||
image = "0.23"
|
image = "0.24"
|
||||||
|
|
||||||
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies]
|
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies]
|
||||||
sig = "1.0"
|
sig = "1.0"
|
||||||
|
|
|
@ -21,7 +21,6 @@ rand = [
|
||||||
"quickcheck", # Only used in tests
|
"quickcheck", # Only used in tests
|
||||||
"servo_rand",
|
"servo_rand",
|
||||||
"tempfile",
|
"tempfile",
|
||||||
"uuid",
|
|
||||||
"tungstenite",
|
"tungstenite",
|
||||||
"ws",
|
"ws",
|
||||||
]
|
]
|
||||||
|
@ -29,18 +28,21 @@ rand = [
|
||||||
[ignore]
|
[ignore]
|
||||||
# Ignored packages with duplicated versions
|
# Ignored packages with duplicated versions
|
||||||
packages = [
|
packages = [
|
||||||
|
"adler",
|
||||||
"arrayvec",
|
"arrayvec",
|
||||||
"base64",
|
"base64",
|
||||||
"cfg-if",
|
"cfg-if",
|
||||||
"cloudabi",
|
"cloudabi",
|
||||||
"cocoa",
|
"cocoa",
|
||||||
"cookie",
|
|
||||||
"crossbeam-channel",
|
"crossbeam-channel",
|
||||||
"crossbeam-utils",
|
"crossbeam-utils",
|
||||||
"env_logger",
|
"deflate",
|
||||||
"fixedbitset",
|
"fixedbitset",
|
||||||
|
"getrandom",
|
||||||
"gleam",
|
"gleam",
|
||||||
"h2",
|
"h2",
|
||||||
|
"image",
|
||||||
|
"jpeg-decoder",
|
||||||
"libloading",
|
"libloading",
|
||||||
"lock_api",
|
"lock_api",
|
||||||
"metal",
|
"metal",
|
||||||
|
@ -49,7 +51,17 @@ packages = [
|
||||||
"parking_lot",
|
"parking_lot",
|
||||||
"parking_lot_core",
|
"parking_lot_core",
|
||||||
"petgraph",
|
"petgraph",
|
||||||
|
"phf",
|
||||||
|
"phf_codegen",
|
||||||
|
"phf_generator",
|
||||||
|
"phf_shared",
|
||||||
|
"png",
|
||||||
|
"rand",
|
||||||
|
"rand_chacha",
|
||||||
|
"rand_core",
|
||||||
|
"redox_syscall",
|
||||||
"ron",
|
"ron",
|
||||||
|
"wasi",
|
||||||
"wayland-sys",
|
"wayland-sys",
|
||||||
|
|
||||||
# https://github.com/servo/servo/issues/26933
|
# https://github.com/servo/servo/issues/26933
|
||||||
|
|
|
@ -11,6 +11,6 @@ path = "lib.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
euclid = "0.20"
|
euclid = "0.20"
|
||||||
keyboard-types = "0.5"
|
keyboard-types = "0.6"
|
||||||
script = {path = "../../../components/script"}
|
script = {path = "../../../components/script"}
|
||||||
servo_url = {path = "../../../components/url"}
|
servo_url = {path = "../../../components/url"}
|
||||||
|
|
|
@ -13,7 +13,7 @@ doctest = false
|
||||||
app_units = "0.7"
|
app_units = "0.7"
|
||||||
cssparser = "0.29"
|
cssparser = "0.29"
|
||||||
euclid = "0.20"
|
euclid = "0.20"
|
||||||
html5ever = "0.25"
|
html5ever = "0.26"
|
||||||
rayon = "1"
|
rayon = "1"
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
selectors = {path = "../../../components/selectors"}
|
selectors = {path = "../../../components/selectors"}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue