summaryrefslogtreecommitdiffstats
path: root/gfx/webrender_bindings/Cargo.toml
blob: 69a7eef1c0581c4b652404b0884f19afc92381fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[package]
name = "webrender_bindings"
version = "0.1.0"
authors = ["The Mozilla Project Developers"]
license = "MPL-2.0"

[dependencies]
dirs = "4"
rayon = "1"
num_cpus = "1.7.0"
tracy-rs = "0.1"
euclid = { version = "0.22.5", features = ["serde"] }
app_units = "0.7"
gleam = "0.15"
log = "0.4"
nsstring = { path = "../../xpcom/rust/nsstring" }
bincode = "1.0"
uuid = { version = "1.0", features = ["v4"] }
fxhash = "0.2.1"
thin-vec = { version = "0.2.1", features = ["gecko-ffi"] }
swgl = { path = "../wr/swgl" }
wr_malloc_size_of = { path = "../wr/wr_malloc_size_of" }
gecko-profiler = { path = "../../tools/profiler/rust-api" }
remove_dir_all = "0.5.3"

[dependencies.webrender]
path = "../wr/webrender"
version = "0.62.0"
default-features = false
features = ["capture", "serialize_program", "gecko", "sw_compositor"]

[target.'cfg(target_os = "windows")'.dependencies]
dwrote = "0.11"
winapi = "0.3"

[target.'cfg(target_os = "macos")'.dependencies]
core-foundation = "0.9"
core-graphics = "0.22"
foreign-types = "0.3.0"
objc = "0.2"