tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

Cargo.toml (3125B)


      1 [package]
      2 name = "style"
      3 version = "0.0.1"
      4 authors = ["The Servo Project Developers"]
      5 license = "MPL-2.0"
      6 repository = "https://github.com/servo/stylo"
      7 edition = "2021"
      8 description = "The Stylo CSS engine"
      9 
     10 build = "build.rs"
     11 
     12 # https://github.com/rust-lang/cargo/issues/3544
     13 links = "servo_style_crate"
     14 
     15 [lib]
     16 name = "style"
     17 path = "lib.rs"
     18 doctest = false
     19 
     20 [features]
     21 gecko = [
     22    "bindgen",
     23    "malloc_size_of/gecko",
     24    "mozbuild",
     25    "nsstring",
     26    "regex",
     27    "serde",
     28    "style_traits/gecko",
     29    "toml",
     30    "selectors/to_shmem",
     31    "to_shmem/gecko",
     32 ]
     33 servo = [
     34    "arrayvec/use_union",
     35    "cssparser/serde",
     36    "encoding_rs",
     37    "malloc_size_of/servo",
     38    "web_atoms",
     39    "serde",
     40    "servo_arc/servo",
     41    "stylo_atoms",
     42    "servo_config",
     43    "string_cache",
     44    "style_traits/servo",
     45    "url",
     46    "selectors/to_shmem",
     47    "to_shmem/servo",
     48 ]
     49 gecko_debug = []
     50 gecko_refcount_logging = []
     51 
     52 [dependencies]
     53 app_units = "0.7.8"
     54 arrayvec = "0.7"
     55 atomic_refcell = "0.1"
     56 bitflags = "2"
     57 byteorder = "1.0"
     58 cssparser = "0.36"
     59 derive_more = { version = "2", features = ["add", "add_assign", "deref", "deref_mut", "from"] }
     60 dom = { path = "../../../dom/base/rust" }
     61 new_debug_unreachable = "1.0"
     62 encoding_rs = {version = "0.8", optional = true}
     63 euclid = "0.22"
     64 rustc-hash = "2.1.1"
     65 icu_segmenter = { version = "2.0", default-features = false, features = ["auto", "compiled_data"] }
     66 indexmap = {version = "2", features = ["std"]}
     67 itertools = "0.14"
     68 itoa = "1.0"
     69 log = "0.4"
     70 malloc_size_of = { path = "../malloc_size_of" }
     71 malloc_size_of_derive = { path = "../../../xpcom/rust/malloc_size_of_derive" }
     72 web_atoms = { version = "0.1", optional = true }
     73 nsstring = {path = "../../../xpcom/rust/nsstring/", optional = true}
     74 num_cpus = {version = "1.1.0"}
     75 num-integer = "0.1"
     76 num-traits = "0.2"
     77 num-derive = "0.4"
     78 parking_lot = "0.12"
     79 precomputed-hash = "0.1.1"
     80 rayon = "1"
     81 rayon-core = "1"
     82 selectors = { path = "../selectors" }
     83 serde = {version = "1.0", optional = true, features = ["derive"]}
     84 servo_arc = { path = "../servo_arc" }
     85 stylo_atoms = {path = "../atoms", optional = true}
     86 servo_config = {path = "../config", optional = true}
     87 smallbitvec = "2.3.0"
     88 smallvec = "1.0"
     89 static_assertions = "1.1"
     90 static_prefs = { path = "../../../modules/libpref/init/static_prefs" }
     91 string_cache = { version = "0.8", optional = true }
     92 strum = "0.27"
     93 strum_macros = "0.27"
     94 style_derive = {path = "../style_derive"}
     95 style_traits = {path = "../style_traits"}
     96 to_shmem = {path = "../to_shmem"}
     97 to_shmem_derive = {path = "../to_shmem_derive"}
     98 thin-vec = { version = "0.2.1", features = ["gecko-ffi"] }
     99 uluru = "3.0"
    100 void = "1.0.2"
    101 gecko-profiler = { path = "../../../tools/profiler/rust-api" }
    102 url = { version = "2.5", optional = true, features = ["serde"] }
    103 
    104 [build-dependencies]
    105 log = { version = "0.4", features = ["std"] }
    106 bindgen = {version = "0.69", optional = true, default-features = false}
    107 regex = {version = "1.0", optional = true, default-features = false, features = ["perf", "std"]}
    108 walkdir = "2.1.4"
    109 toml = {version = "0.5", optional = true, default-features = false}
    110 mozbuild = {version = "0.1", optional = true}