# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "stylo" version = "0.1.0" authors = ["The Servo Project Developers"] build = "build.rs" links = "servo_style_crate" autobins = false autoexamples = false autotests = false autobenches = false description = "The Stylo CSS engine (used in Servo and Gecko)" documentation = "https://docs.rs/stylo/" readme = "README.md" keywords = [ "css", "style", ] license = "MPL-2.0" repository = "https://github.com/servo/stylo" resolver = "2" [lib] name = "stylo" path = "lib.rs" doctest = false [dependencies.app_units] version = "0.7" [dependencies.arrayvec] version = "0.7" [dependencies.atomic_refcell] version = "0.1" [dependencies.bitflags] version = "2" [dependencies.byteorder] version = "1.0" [dependencies.cssparser] version = "0.34" [dependencies.derive_more] version = "0.99" features = [ "add", "add_assign", "deref", "deref_mut", "from", ] default-features = false [dependencies.dom] version = "0.1" package = "stylo_dom" [dependencies.encoding_rs] version = "0.8" optional = true [dependencies.euclid] version = "0.22" [dependencies.fxhash] version = "0.2" [dependencies.icu_segmenter] version = "1.5" features = [ "auto", "compiled_data", ] default-features = false [dependencies.indexmap] version = "2" features = ["std"] [dependencies.itertools] version = "0.10" [dependencies.itoa] version = "1.0" [dependencies.lazy_static] version = "1" [dependencies.log] version = "0.4" [dependencies.malloc_size_of] version = "0.1" package = "stylo_malloc_size_of" [dependencies.malloc_size_of_derive] version = "0.1" [dependencies.markup5ever] version = "0.14" optional = true [dependencies.matches] version = "0.1" [dependencies.mime] version = "0.3.13" optional = true [dependencies.new_debug_unreachable] version = "1.0" [dependencies.num-derive] version = "0.4" [dependencies.num-integer] version = "0.1" [dependencies.num-traits] version = "0.2" [dependencies.num_cpus] version = "1.1.0" [dependencies.parking_lot] version = "0.12" [dependencies.precomputed-hash] version = "0.1.1" [dependencies.rayon] version = "1" [dependencies.rayon-core] version = "1" [dependencies.selectors] version = "0.26" package = "stylo_selectors" [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.servo_arc] version = "0.4" package = "stylo_arc" [dependencies.servo_atoms] version = "0.1" optional = true package = "stylo_atoms" [dependencies.smallbitvec] version = "2.3.0" [dependencies.smallvec] version = "1.0" [dependencies.static_assertions] version = "1.1" [dependencies.static_prefs] version = "0.1" package = "stylo_static_prefs" [dependencies.string_cache] version = "0.8" optional = true [dependencies.style_config] version = "0.1" optional = true package = "stylo_config" [dependencies.style_derive] version = "0.1" package = "stylo_derive" [dependencies.style_traits] version = "0.1" package = "stylo_traits" [dependencies.thin-vec] version = "0.2.1" [dependencies.to_shmem] version = "0.1" package = "stylo_to_shmem" [dependencies.to_shmem_derive] version = "0.1" package = "stylo_to_shmem_derive" [dependencies.uluru] version = "3.0" [dependencies.unicode-bidi] version = "0.3" default-features = false [dependencies.url] version = "2.5" optional = true [dependencies.void] version = "1.0.2" [build-dependencies.bindgen] version = "0.69" optional = true default-features = false [build-dependencies.lazy_static] version = "1" [build-dependencies.log] version = "0.4" features = ["std"] [build-dependencies.mozbuild] version = "0.1" optional = true [build-dependencies.regex] version = "1.0" features = [ "perf", "std", ] optional = true default-features = false [build-dependencies.toml] version = "0.5" optional = true default-features = false [build-dependencies.walkdir] version = "2.1.4" [features] default = ["servo"] gecko = [ "bindgen", "malloc_size_of/gecko", "mozbuild", "nsstring", "regex", "serde", "style_traits/gecko", "toml", "selectors/to_shmem", "to_shmem/gecko", ] gecko_debug = [] gecko_refcount_logging = [] nsstring = [] servo = [ "cssparser/serde", "encoding_rs", "malloc_size_of/servo", "markup5ever", "mime", "serde", "servo_arc/servo", "servo_atoms", "style_config", "string_cache", "style_traits/servo", "url", "selectors/to_shmem", "to_shmem/servo", ]