[package] name = "script" version = "0.0.1" authors = ["The Servo Project Developers"] license = "MPL-2.0" edition = "2018" publish = false build = "build.rs" [lib] name = "script" path = "lib.rs" [features] debugmozjs = ['js/debugmozjs'] jitspew = ['js/jitspew'] profilemozjs = ['js/profilemozjs'] unrooted_must_root_lint = ["script_plugins/unrooted_must_root_lint"] trace_in_no_trace_lint = ["script_plugins/trace_in_no_trace_lint"] default = ["unrooted_must_root_lint", "trace_in_no_trace_lint"] webgl_backtrace = ["canvas_traits/webgl_backtrace"] js_backtrace = [] refcell_backtrace = ["accountable-refcell"] xr-profile = ["webxr-api/profile"] [build-dependencies] phf_codegen = "0.10" phf_shared = "0.10" serde_json = { workspace = true } [dependencies] accountable-refcell = { workspace = true, optional = true } app_units = { workspace = true } arrayvec = { workspace = true } atomic_refcell = { workspace = true } backtrace = { workspace = true } base64 = { workspace = true } bitflags = { workspace = true } bluetooth_traits = { path = "../bluetooth_traits" } canvas_traits = { path = "../canvas_traits" } chrono = "0.4" content-security-policy = { workspace = true } cookie = { workspace = true } crossbeam-channel = { workspace = true } cssparser = { workspace = true } data-url = { workspace = true } deny_public_fields = { path = "../deny_public_fields" } devtools_traits = { path = "../devtools_traits" } dom_struct = { path = "../dom_struct" } domobject_derive = { path = "../domobject_derive" } embedder_traits = { path = "../embedder_traits" } encoding_rs = { workspace = true } enum-iterator = "0.3" euclid = { workspace = true } fnv = { workspace = true } fxhash = { workspace = true } gfx_traits = { path = "../gfx_traits" } headers = { workspace = true } html5ever = { workspace = true } http = { workspace = true } hyper_serde = { workspace = true } image = { workspace = true } indexmap = { workspace = true } ipc-channel = { workspace = true } itertools = { workspace = true } js = { package = "mozjs", git = "https://github.com/servo/mozjs", features = ["streams"] } jstraceable_derive = { path = "../jstraceable_derive" } keyboard-types = { workspace = true } lazy_static = { workspace = true } libc = { workspace = true } log = { workspace = true } malloc_size_of = { path = "../malloc_size_of" } malloc_size_of_derive = { workspace = true } media = { path = "../media" } metrics = { path = "../metrics" } mime = { workspace = true } mime_guess = { workspace = true } msg = { path = "../msg" } net_traits = { path = "../net_traits" } num-traits = { workspace = true } parking_lot = { workspace = true } percent-encoding = { workspace = true } phf = "0.10" pixels = { path = "../pixels" } profile_traits = { path = "../profile_traits" } range = { path = "../range" } ref_filter_map = "1.0.1" regex = { workspace = true } script_layout_interface = { path = "../script_layout_interface" } script_plugins = { path = "../script_plugins" } script_traits = { path = "../script_traits" } selectors = { path = "../selectors", features = ["shmem"] } serde = { workspace = true, features = ["derive"] } serde_bytes = { workspace = true } servo-media = { git = "https://github.com/servo/media" } servo_allocator = { path = "../allocator" } servo_arc = { path = "../servo_arc" } servo_atoms = { path = "../atoms" } servo_config = { path = "../config" } servo_geometry = { path = "../geometry" } servo_rand = { path = "../rand" } servo_url = { path = "../url" } smallvec = { workspace = true, features = ["union"] } sparkle = { workspace = true } style = { path = "../style", features = ["servo"] } style_traits = { path = "../style_traits" } swapper = "0.1" tempfile = "3" tendril = { version = "0.4.1", features = ["encoding_rs"] } time = { workspace = true } unicode-bidi = { workspace = true } unicode-segmentation = "1.1.0" url = { workspace = true } utf-8 = "0.7" uuid = { workspace = true, features = ["serde"] } webdriver = { workspace = true } webgpu = { path = "../webgpu" } webrender_api = { workspace = true } webxr-api = { git = "https://github.com/servo/webxr", features = ["ipc"] } xml5ever = { workspace = true } [target.'cfg(not(target_os = "ios"))'.dependencies] mozangle = { workspace = true }