forked from versotile-org/verso
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
113 lines (103 loc) · 4.24 KB
/
Cargo.toml
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
workspace = {}
[package]
name = "verso"
version = "0.0.1"
authors = ["Wu Yu Wei"]
edition = "2021"
license = "Apache-2.0 OR MIT"
description = "An innovative web browser"
readme = "README.md"
homepage = "https://versotile.org/verso"
repository = "https://github.com/versotile-org/verso"
documentation = "https://docs.versotile.org/verso"
categories = ["web-programming"]
[package.metadata.packager]
name = "verso"
product-name = "verso"
identifier = "org.versotile.verso"
version = "0.0.1"
before-each-package-command = "python etc/package_libs.py"
resources = [
"resources",
"icons",
"target/release/build/**/libEGL.dll",
"target/release/build/**/libGLESv2.dll",
"target/release/lib",
]
icons = ["icons/icon256x256.png", "icons/icon.ico"]
[package.metadata.packager.nsis]
appdata-paths = ["$LOCALAPPDATA/$IDENTIFIER"]
[package.metadata.docs.rs]
targets = [
"x86_64-unknown-linux-gnu",
"x86_64-pc-windows-msvc",
"x86_64-apple-darwin",
]
[features]
default = []
packager = ["dep:cargo-packager-resource-resolver"]
flatpak = []
[build-dependencies]
cfg_aliases = "0.2"
[dependencies]
arboard = "3.4.0"
crossbeam-channel = "0.5"
env_logger = "0.10"
euclid = "0.22"
getopts = "0.2.17"
gleam = "0.15"
ipc-channel = "0.18"
keyboard-types = "0.7"
log = "0.4"
raw-window-handle = { version = "0.5", features = ["std"] }
sparkle = "0.1.26"
surfman = { version = "0.9", features = ["chains", "sm-raw-window-handle-05"] }
thiserror = "1.0"
winit = { version = "0.29", features = ["rwh_05"] }
# Servo repo crates
base = { git = "https://github.com/servo/servo.git", rev = "28430ba" }
bluetooth = { git = "https://github.com/servo/servo.git", rev = "28430ba" }
bluetooth_traits = { git = "https://github.com/servo/servo.git", rev = "28430ba" }
canvas = { git = "https://github.com/servo/servo.git", rev = "28430ba" }
compositing_traits = { git = "https://github.com/servo/servo.git", rev = "28430ba" }
constellation = { git = "https://github.com/servo/servo.git", rev = "28430ba" }
devtools = { git = "https://github.com/servo/servo.git", rev = "28430ba" }
embedder_traits = { git = "https://github.com/servo/servo.git", rev = "28430ba" }
fonts = { git = "https://github.com/servo/servo.git", rev = "28430ba" }
layout_thread_2020 = { git = "https://github.com/servo/servo.git", rev = "28430ba" }
media = { git = "https://github.com/servo/servo.git", rev = "28430ba" }
net = { git = "https://github.com/servo/servo.git", rev = "28430ba" }
profile = { git = "https://github.com/servo/servo.git", rev = "28430ba" }
profile_traits = { git = "https://github.com/servo/servo.git", rev = "28430ba" }
script = { git = "https://github.com/servo/servo.git", rev = "28430ba" }
script_traits = { git = "https://github.com/servo/servo.git", rev = "28430ba" }
servo_config = { git = "https://github.com/servo/servo.git", rev = "28430ba" }
servo_geometry = { git = "https://github.com/servo/servo.git", rev = "28430ba" }
servo_url = { git = "https://github.com/servo/servo.git", rev = "28430ba" }
webdriver_server = { git = "https://github.com/servo/servo.git", rev = "28430ba" }
webrender_traits = { git = "https://github.com/servo/servo.git", rev = "28430ba" }
webgpu = { git = "https://github.com/servo/servo.git", rev = "28430ba" }
# Servo org crates
servo-media = { git = "https://github.com/servo/media" }
servo-media-dummy = { git = "https://github.com/servo/media" }
style = { git = "https://github.com/servo/stylo", branch = "2024-07-16", features = ["servo"] }
style_traits = { git = "https://github.com/servo/stylo", branch = "2024-07-16", features = ["servo"] }
webrender = { git = "https://github.com/servo/webrender", branch = "0.65", features = ["capture"] }
webrender_api = { git = "https://github.com/servo/webrender", branch = "0.65" }
webxr = { git = "https://github.com/servo/webxr", features = ["headless"] }
# Packager feature
cargo-packager-resource-resolver = { version = "0.1.1", features = [
"auto-detect-format",
], optional = true }
[target.'cfg(target_os = "windows")'.dependencies]
surfman = { version = "0.9", features = ["sm-angle-default"] }
mozangle = { version = "0.5.1", features = ["egl", "build_dlls"] }
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies]
block = "0.1"
cocoa = "0.25"
core-graphics = "0.23"
objc = "0.2"
objc_id = "0.1"
[[test]]
name = "general"
harness = false