Rewild Your Web
web browser dweb
at main 62 lines 2.4 kB view raw
1[package] 2name = "browserhtml" 3license = "AGPL-3.0-or-later" 4version.workspace = true 5rust-version.workspace = true 6edition.workspace = true 7 8[features] 9default = ["libservo/clipboard", "js_jit", "max_log_level", "media-gstreamer", "native-bluetooth", "webgpu"] 10gamepad = ["libservo/gamepad"] 11global-hotkeys = ["dep:global-hotkey"] 12crown = ["libservo/crown"] 13debugmozjs = ["libservo/debugmozjs"] 14jitspew = ["libservo/jitspew"] 15js_backtrace = ["libservo/js_backtrace"] 16js_jit = ["libservo/js_jit"] 17max_log_level = ["log/release_max_level_info"] 18media-gstreamer = ["libservo/media-gstreamer"] 19native-bluetooth = ["libservo/native-bluetooth"] 20profilemozjs = ["libservo/profilemozjs"] 21refcell_backtrace = ["libservo/refcell_backtrace"] 22status-tray = ["dep:tray-icon", "dep:gtk"] 23tracing = ["dep:tracing", "dep:tracing-subscriber", "libservo/tracing"] 24tracing-perfetto = ["tracing", "dep:tracing-perfetto"] 25vello = ["libservo/vello"] 26webgl_backtrace = ["libservo/webgl_backtrace"] 27webgpu = ["libservo/webgpu"] 28webxr = ["libservo/webxr"] 29 30[dependencies] 31axum = { version = "0.8", features = ["http2"] } 32chrono = { workspace = true } 33dirs = "6.0" 34euclid = { workspace = true } 35embedder_traits = { workspace = true } 36headers = { workspace = true } 37image = { workspace = true } 38keyboard-types = { workspace = true } 39libservo = { path = "../source/components/servo", features = ["background_hang_monitor", "bluetooth"], default-features = false } 40log = { workspace = true } 41mime_guess = { workspace = true } 42parking_lot = { workspace = true } 43rustls = { workspace = true, features = ["aws-lc-rs"] } 44serde = { workspace = true } 45serde_json = { workspace = true } 46servo_config = { path = "../source/components/config" } 47servo_config_macro = { path = "../source/components/config/macro" } 48tokio = { workspace = true } 49tower = "0.5" 50tower-http = { version = "0.6", features = ["async-compression", "compression-zstd", "cors", "fs"] } 51tracing = { workspace = true, optional = true } 52tracing-perfetto = { workspace = true, optional = true } 53tracing-subscriber = { workspace = true, optional = true, features = ["env-filter"] } 54tray-icon = { version = "0.21", optional = true } 55url = { workspace = true } 56winit = { workspace = true } 57 58[target.'cfg(target_os = "macos")'.dependencies] 59global-hotkey = { version = "0.7", optional = true } 60 61[target.'cfg(target_os = "linux")'.dependencies] 62gtk = { version = "0.18", optional = true }