forked from
me.webbeef.org/browser.html
Rewild Your Web
1[workspace]
2resolver = "2"
3members = ["beavershell"]
4
5# Copied from the main Cargo.toml to allow
6# workspace inheritance from component/ crates.
7[workspace.package]
8version = "0.1.0"
9edition = "2024"
10authors = ["The Servo Project Developers"]
11license = "MPL-2.0"
12publish = false
13rust-version = "1.86.0"
14
15[workspace.dependencies]
16accesskit = { version = "0.24.0", features = ["serde"] }
17accountable-refcell = "0.2.2"
18aes = "0.8.4"
19aes-gcm = "0.10.3"
20aes-kw = { version = "0.2.1", features = ["alloc"] }
21app_units = "0.7"
22arboard = "3"
23argon2 = { version = "0.5", features = ["alloc"] }
24arrayvec = "0.7"
25async-tungstenite = { version = "0.33", features = ["tokio-rustls-webpki-roots"] }
26atomic_refcell = "0.1.13"
27aws-lc-rs = { version = "1.15", default-features = false, features = ["aws-lc-sys"] }
28background_hang_monitor_api = { path = "source/components/shared/background_hang_monitor" }
29backtrace = "0.3"
30base = { path = "source/components/shared/base" }
31base64 = "0.22.1"
32base64ct = { version = "1.8", features = ["alloc"] }
33# bincode 1.3.3 is the last known good version of bincode 1.
34# The crate was declared finished and won't receive further updates by the author.
35# Since the git history was rewritten by the author, any bump of this crate should
36# be reviewed carefully by doing a manual diff based on the crates.io version,
37# before doing **any** bump to this dependency to rule out a supply chain attack.
38bincode = "=1.3.3"
39bitflags = "2.10"
40bluetooth_traits = { path = "source/components/shared/bluetooth" }
41brotli = "8.0.2"
42bytemuck = "1"
43byteorder = "1.5"
44canvas_traits = { path = "source/components/shared/canvas" }
45cbc = "0.1.2"
46cfg-if = "1.0.4"
47chacha20poly1305 = "0.10"
48chardetng = "0.1"
49chrono = { version = "0.4", features = ["serde"] }
50cipher = { version = "0.4.4", features = ["alloc"] }
51constellation_traits = { path = "source/components/shared/constellation" }
52content-security-policy = { version = "0.6.0", features = ["serde"] }
53cookie = { package = "cookie", version = "0.18" }
54crossbeam-channel = "0.5"
55cssparser = { version = "0.36", features = ["serde"] }
56ctr = "0.9.2"
57data-url = "0.3"
58der = { version = "0.7", features = ["alloc", "derive"] }
59devtools_traits = { path = "source/components/shared/devtools" }
60digest = "0.10"
61dpi = "0.1"
62dwrote = "0.11.5"
63ecdsa = "0.16"
64elliptic-curve = "0.13"
65embedder_traits = { path = "source/components/shared/embedder" }
66encoding_rs = { version = "0.8", features = ["serde"] }
67env_logger = "0.11"
68euclid = "0.22"
69flate2 = "1.1"
70fonts_traits = { path = "source/components/shared/fonts" }
71freetype-sys = "0.20"
72futures = { version = "0.3", default-features = false }
73futures-core = { version = "0.3", default-features = false }
74futures-util = { version = "0.3", default-features = false }
75gleam = "0.15"
76glib = "0.21"
77glib-sys = "0.21"
78glow = "0.16.0"
79gstreamer = { version = "0.25", features = ["v1_18"] }
80gstreamer-app = "0.25"
81gstreamer-audio = "0.25"
82gstreamer-base = "0.25"
83gstreamer-gl = "0.25"
84gstreamer-gl-egl = "0.25"
85gstreamer-gl-sys = "0.25"
86gstreamer-gl-wayland = "0.25"
87gstreamer-gl-x11 = "0.25"
88gstreamer-play = "0.25"
89gstreamer-sdp = "0.25"
90gstreamer-sys = "0.25"
91gstreamer-video = "0.25"
92gstreamer-webrtc = { version = "0.25", features = ["v1_18"] }
93harfbuzz-sys = "0.6.1"
94headers = "0.4"
95hitrace = "0.1.6"
96hkdf = "0.12"
97html5ever = "0.38"
98http = "1.4"
99http-body-util = "0.1"
100hyper = "1.8"
101hyper-rustls = { version = "0.27", default-features = false, features = ["http1", "http2", "logging", "tls12", "webpki-tokio"] }
102hyper-util = { version = "0.1", features = ["client-legacy", "http2", "tokio", "client-proxy"] }
103hyper_serde = { path = "source/components/hyper_serde" }
104icu_locid = "1.5.0"
105icu_segmenter = "1.5.0"
106image = { version = "0.25", default-features = false, features = ["avif", "rayon", "bmp", "gif", "ico", "jpeg", "png", "webp"] }
107imsz = "0.4"
108indexmap = { version = "2.11.4", features = ["std"] }
109ipc-channel = "0.21"
110itertools = "0.14"
111js = { package = "mozjs", version = "=0.15.1", default-features = false, features = ["libz-sys", "intl"] }
112keyboard-types = { version = "0.8.3", features = ["serde", "webdriver"] }
113kurbo = { version = "0.12", features = ["euclid"] }
114layout_api = { path = "source/components/shared/layout" }
115libc = "0.2"
116log = "0.4.29"
117mach2 = "0.6"
118malloc_size_of = { package = "servo_malloc_size_of", path = "source/components/malloc_size_of" }
119malloc_size_of_derive = "0.1"
120markup5ever = "0.38"
121memmap2 = "0.9.9"
122mime = "0.3.13"
123mime-multipart-hyper1 = "0.10.0"
124mime_guess = "2.0.5"
125ml-dsa = "0.0.4"
126ml-kem = { version = "0.2", features = ["deterministic"] }
127mozangle = "0.5.3"
128net_traits = { path = "source/components/shared/net" }
129nix = "0.30"
130nom = "8.0.0"
131nom-rfc8288 = "0.4.0"
132num-bigint-dig = "0.8"
133num-derive = "0.4.2"
134num-traits = "0.2"
135num_cpus = "1.17.0"
136ocb3 = "0.1.0"
137objc2 = "0.6.3"
138objc2-core-foundation = "0.3.2"
139objc2-core-graphics = "0.3.2"
140objc2-core-text = "0.3.2"
141openxr = "0.20"
142paint_api = { path = "source/components/shared/paint" }
143p256 = { version = "0.13", features = ["ecdh"] }
144p384 = { version = "0.13", features = ["ecdh"] }
145p521 = { version = "0.13", features = ["ecdh"] }
146parking_lot = { version = "0.12", features = ["serde"] }
147peniko = "0.5"
148percent-encoding = "2.3"
149pkcs8 = { version = "0.10", features = ["rand_core"] }
150postcard = { version = "1.1.3", default-features = false, features = ["use-std"] }
151proc-macro2 = "1"
152profile_traits = { path = "source/components/shared/profile" }
153quote = "1"
154rand = "0.9"
155raw-window-handle = "0.6"
156rayon = "1"
157read-fonts = "0.35.0"
158regex = "1.12"
159resvg = "0.45.0"
160rsa = { version = "0.9.10", features = ["sha1", "sha2"] }
161rustc-hash = "2.1.1"
162rustls = { version = "0.23", default-features = false, features = ["logging", "std", "tls12"] }
163rustls-pki-types = "1.14"
164rustls-platform-verifier = "0.6.2"
165script_traits = { path = "source/components/shared/script" }
166sea-query = { version = "1.0.0-rc.30", default-features = false, features = ["backend-sqlite", "derive"] }
167sea-query-rusqlite = { version = "0.8.0-rc.15" }
168sec1 = "0.7"
169selectors = { git = "https://github.com/servo/stylo", rev = "2f131eb1909c6193a7cfae22e49f288fe9df4fbb" }
170serde = "1.0.228"
171serde_bytes = "0.11"
172serde_core = "1.0.226"
173serde_json = "1.0"
174servo-media = { path = "source/components/media/servo-media" }
175servo-media-dummy = { path = "source/components/media/backends/dummy" }
176servo-media-gstreamer = { path = "source/components/media/backends/gstreamer" }
177servo-tracing = { path = "source/components/servo_tracing" }
178servo_arc = { git = "https://github.com/servo/stylo", rev = "2f131eb1909c6193a7cfae22e49f288fe9df4fbb" }
179sha1 = "0.10"
180sha2 = "0.10"
181sha3 = "0.10"
182skrifa = "0.37.0"
183smallvec = { version = "1.15", features = ["serde", "union"] }
184storage_traits = { path = "source/components/shared/storage" }
185string_cache = "0.9"
186strum = { version = "0.27", features = ["derive"] }
187stylo = { git = "https://github.com/servo/stylo", rev = "2f131eb1909c6193a7cfae22e49f288fe9df4fbb" }
188stylo_atoms = { git = "https://github.com/servo/stylo", rev = "2f131eb1909c6193a7cfae22e49f288fe9df4fbb" }
189stylo_config = { git = "https://github.com/servo/stylo", rev = "2f131eb1909c6193a7cfae22e49f288fe9df4fbb" }
190stylo_dom = { git = "https://github.com/servo/stylo", rev = "2f131eb1909c6193a7cfae22e49f288fe9df4fbb" }
191stylo_malloc_size_of = { git = "https://github.com/servo/stylo", rev = "2f131eb1909c6193a7cfae22e49f288fe9df4fbb" }
192stylo_static_prefs = { git = "https://github.com/servo/stylo", rev = "2f131eb1909c6193a7cfae22e49f288fe9df4fbb" }
193stylo_traits = { git = "https://github.com/servo/stylo", rev = "2f131eb1909c6193a7cfae22e49f288fe9df4fbb" }
194surfman = { version = "0.11.0", features = ["chains"] }
195syn = { version = "2", default-features = false, features = ["clone-impls", "derive", "parsing"] }
196synstructure = "0.13"
197taffy = { version = "0.9.2", default-features = false, features = ["calc", "detailed_layout_info", "grid", "std"] }
198tendril = { version = "0.5", features = ["encoding_rs"] }
199tikv-jemalloc-sys = "0.6.1"
200tikv-jemallocator = "0.6.1"
201time = { package = "time", version = "0.3", features = ["large-dates", "local-offset", "serde"] }
202tokio = "1"
203tokio-rustls = { version = "0.26", default-features = false, features = ["logging"] }
204tokio-stream = "0.1"
205tokio-util = { version = "0.7.18", default-features = false }
206tower = { version = "0.5", default-features = false, features = ["util"] }
207tracing = "0.1.44"
208tracing-perfetto = "0.1.5"
209tracing-subscriber = "0.3.22"
210tungstenite = "0.28"
211unicode-bidi = "0.3.18"
212unicode-properties = { version = "0.1.4", features = ["emoji"] }
213unicode-script = "0.5"
214unicode-segmentation = "1.12.0"
215url = "2.5"
216urlpattern = "0.3"
217utf-8 = "0.7"
218uuid = { version = "1.20.0", features = ["v4", "v5"] }
219vello = "0.6"
220vello_cpu = "0.0.4"
221webdriver = "0.53.0"
222webgpu_traits = { path = "source/components/shared/webgpu" }
223webpki-roots = "1.0"
224webrender = { version = "0.68", features = ["capture"] }
225webrender_api = "0.68"
226webxr-api = { path = "source/components/shared/webxr" }
227wgpu-core = "26"
228wgpu-types = "26"
229winapi = "0.3"
230windows-sys = "0.61"
231winit = "0.30.12"
232wio = "0.2"
233wr_malloc_size_of = "0.2.2"
234x25519-dalek = { version = "2.0.1", features = ["static_secrets"] }
235xi-unicode = "0.3.0"
236xml5ever = "0.38"
237xpath = { path = "source/components/xpath" }
238
239# RSA key generation could be very slow without compilation
240# optimizations, in development mode. Without optimizations, WPT might
241# consider RSA key generation tests fail due to timeout.
242# Building with higher optimization levels can speed up the key
243# generation process to avoid false negative result in those tests.
244# More details: <https://docs.rs/rsa/0.9.8/rsa/index.html#example>
245[profile.dev.package.num-bigint-dig]
246opt-level = 3
247
248# Force tikv-jemalloc-sys to build with at least -O1.
249# This can help with build environments that force _FORTIFY_SOURCE, such as Nix.
250# More details: <https://github.com/tikv/jemallocator/issues/108>
251[profile.dev.package.tikv-jemalloc-sys]
252opt-level = 1
253
254[profile.release]
255opt-level = 3
256
257[profile.production]
258inherits = "release"
259lto = true
260codegen-units = 1
261opt-level = 3
262
263[profile.production-stripped]
264inherits = "production"
265strip = true
266
267[profile.profiling]
268inherits = "release"
269debug = true
270lto = "thin"
271codegen-units = 1