summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/Cargo.toml
blob: 0b3bafc0e776b5f1a8baa374602cb4c88411d084 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[package]
name = "wrench"
version = "0.3.0"
authors = ["Vladimir Vukicevic <vladimir@pobox.com>"]
build = "build.rs"
license = "MPL-2.0"
edition = "2018"

[dependencies]
base64 = "0.12"
env_logger = { version = "0.5", optional = true }
gleam = "0.13"
glutin = "0.21"
clap = { version = "2", features = ["yaml"] }
log = "0.4"
yaml-rust = "0.4"
serde_json = "1.0"
time = "0.1"
chrono = "0.2"
crossbeam = "0.2"
osmesa-sys = { version = "0.1.2", optional = true }
osmesa-src = { version = "0.2", git = "https://github.com/servo/osmesa-src", optional = true }
webrender = { path = "../webrender", features = ["capture", "replay", "debugger", "png", "profiler", "no_static_freetype", "leak_checks"] }
winit = "0.19"
serde = { version = "1.0", features = ["derive"] }
semver = "0.9.0"
swgl = { path = "../swgl", optional = true }
tracy-rs = "0.1.2"

[dependencies.image]
version = "0.23"
default-features = false
features = ["png"]

[target.'cfg(target_os = "macos")'.dependencies]
core-graphics = "0.22"
core-foundation = "0.9"

[features]
default = [ "env_logger" ]
headless = [ "osmesa-sys", "osmesa-src" ]
software = [ "swgl" ]

[target.'cfg(target_os = "windows")'.dependencies]
dwrote = "0.11"
mozangle = { version = "0.3.2", features = ["egl"] }

[target.'cfg(all(unix, not(target_os = "android")))'.dependencies]
font-loader = "0.11"

# Configuration information used when building wrench as an APK.
[package.metadata.android]
package_name = "org.mozilla.wrench"
label = "Wrench"
android_version = 29
target_sdk_version = 18
min_sdk_version = 18
fullscreen = true
build_targets = [ "armv7-linux-androideabi", "i686-linux-android" ]
opengles_version_major = 3
opengles_version_minor = 0
[package.metadata.android.application_attributes]
"android:hardwareAccelerated" = "true"
[package.metadata.android.activity_attributes]
"android:screenOrientation" = "unspecified"
"android:uiOptions" = "none"
[[package.metadata.android.permission]]
name = "android.permission.READ_EXTERNAL_STORAGE"