[package] name = "libservo" version = "0.0.1" authors = ["The Servo Project Developers"] license = "MPL-2.0" edition = "2018" publish = false [lib] name = "servo" path = "lib.rs" crate-type = ["rlib"] [features] debugmozjs = ["script/debugmozjs"] googlevr = ["webxr/googlevr"] jitspew = ["script/jitspew"] js_backtrace = ["script/js_backtrace"] max_log_level = ["log/release_max_level_info"] media-gstreamer = ["servo-media-gstreamer", "gstreamer"] native-bluetooth = ["bluetooth/native-bluetooth"] no-wgl = ["canvas/no-wgl"] no_static_freetype = ["webrender/no_static_freetype"] profilemozjs = ["script/profilemozjs"] refcell_backtrace = ["script/refcell_backtrace"] webdriver = ["webdriver_server"] webgl_backtrace = [ "script/webgl_backtrace", "canvas/webgl_backtrace", "canvas_traits/webgl_backtrace", ] xr-profile = ["canvas/xr-profile", "canvas_traits/xr-profile", "script/xr-profile", "webxr/profile"] [dependencies] background_hang_monitor = { path = "../background_hang_monitor" } bluetooth = { path = "../bluetooth" } bluetooth_traits = { path = "../bluetooth_traits" } canvas = { path = "../canvas", default-features = false } canvas_traits = { path = "../canvas_traits" } compositing = { path = "../compositing", features = ["gl"] } compositing_traits = { path = "../compositing_traits" } constellation = { path = "../constellation" } crossbeam-channel = { workspace = true } devtools = { path = "../devtools" } devtools_traits = { path = "../devtools_traits" } embedder_traits = { path = "../embedder_traits" } env_logger = { workspace = true } euclid = { workspace = true } gfx = { path = "../gfx" } gfx_traits = { path = "../gfx_traits" } gleam = { workspace = true } gstreamer = { version = "0.15", features = ["v1_16"], optional = true } ipc-channel = { workspace = true } keyboard-types = { workspace = true } layout_thread_2013 = { path = "../layout_thread" } layout_thread_2020 = { path = "../layout_thread_2020" } log = { workspace = true } media = { path = "../media" } mozangle = { workspace = true } msg = { path = "../msg" } net = { path = "../net" } net_traits = { path = "../net_traits" } profile = { path = "../profile" } profile_traits = { path = "../profile_traits" } script = { path = "../script" } script_layout_interface = { path = "../script_layout_interface" } script_traits = { path = "../script_traits" } servo-media = { git = "https://github.com/servo/media" } servo-media-dummy = { git = "https://github.com/servo/media" } servo-media-gstreamer = { git = "https://github.com/servo/media", optional = true } servo_config = { path = "../config" } servo_geometry = { path = "../geometry" } servo_url = { path = "../url" } sparkle = { workspace = true } style = { path = "../style", features = ["servo"] } style_traits = { path = "../style_traits", features = ["servo"] } surfman = { workspace = true } webdriver_server = { path = "../webdriver_server", optional = true } webgpu = { path = "../webgpu" } webrender = { workspace = true } webrender_api = { workspace = true } webrender_surfman = { path = "../webrender_surfman" } webrender_traits = { path = "../webrender_traits" } webxr = { git = "https://github.com/servo/webxr" } webxr-api = { git = "https://github.com/servo/webxr" } [target.'cfg(all(not(target_os = "windows"), not(target_os = "ios"), not(target_os = "android"), not(target_arch = "arm"), not(target_arch = "aarch64")))'.dependencies] gaol = "0.2.1" [target.'cfg(target_os = "windows")'.dependencies] mozangle = { workspace = true, features = ["egl", "build_dlls"] }