Cargo.toml (1031B)
1 [package] 2 name = "to_shmem" 3 version = "0.1.0" 4 authors = ["The Servo Project Developers"] 5 license = "MPL-2.0" 6 repository = "https://github.com/servo/stylo" 7 edition = "2021" 8 description = "Trait to write to a contiguous chunk of shared memory" 9 10 [lib] 11 name = "to_shmem" 12 path = "lib.rs" 13 14 [features] 15 servo = ["cssparser/serde", "cssparser", "servo_arc", "smallbitvec", "smallvec", "string_cache", "thin-vec"] 16 gecko = ["thin-vec/gecko-ffi", "cssparser", "servo_arc", "smallbitvec", "smallvec", "thin-vec"] 17 18 cssparser = ["dep:cssparser"] 19 servo_arc = ["dep:servo_arc"] 20 smallbitvec = ["dep:smallbitvec"] 21 smallvec = ["dep:smallvec"] 22 string_cache = ["dep:string_cache"] 23 thin-vec = ["dep:thin-vec"] 24 25 [dependencies] 26 cssparser = { version = "0.36", optional = true } 27 servo_arc = { version = "0.4.0", path = "../servo_arc", optional = true } 28 smallbitvec = { version = "2.3.0", optional = true } 29 smallvec = { version = "1.13", optional = true } 30 string_cache = { version = "0.8", optional = true } 31 thin-vec = { version = "0.2.1", optional = true }