1[package] 2name = "gkrust-shared" 3version = "0.1.0" 4authors = ["nobody@mozilla.org"] 5license = "MPL-2.0" 6description = "Shared Rust code for libxul" 7 8[dependencies] 9geckoservo = { path = "../../../../servo/ports/geckolib", optional = true } 10mp4parse_capi = { path = "../../../../media/mp4parse-rust/mp4parse_capi" } 11nsstring = { path = "../../../../servo/support/gecko/nsstring" } 12nserror = { path = "../../../../xpcom/rust/nserror" } 13netwerk_helper = { path = "../../../../netwerk/base/rust-helper" } 14xpcom = { path = "../../../../xpcom/rust/xpcom" } 15prefs_parser = { path = "../../../../modules/libpref/parser" } 16rust_url_capi = { path = "../../../../netwerk/base/rust-url-capi" } 17webrender_bindings = { path = "../../../../gfx/webrender_bindings", optional = true } 18cubeb-pulse = { path = "../../../../media/libcubeb/cubeb-pulse-rs", optional = true, features=["pulse-dlopen"] } 19cubeb-sys = { version = "0.4.1", optional = true, features=["gecko-in-tree"] } 20encoding_c = "0.8.0" 21encoding_glue = { path = "../../../../intl/encoding_glue" } 22audioipc-client = { path = "../../../../media/audioipc/client", optional = true } 23audioipc-server = { path = "../../../../media/audioipc/server", optional = true } 24u2fhid = { path = "../../../../dom/webauthn/u2f-hid-rs" } 25# We have these to enforce common feature sets for said crates. 26log = {version = "0.3", features = ["release_max_level_info"]} 27syn = { version = "0.11", features = ["full", "visit", "parsing"] } 28cose-c = { version = "0.1.5" } 29 30[features] 31default = [] 32bindgen = ["geckoservo/bindgen"] 33servo = ["geckoservo"] 34quantum_render = ["webrender_bindings"] 35cubeb-remoting = ["cubeb-sys", "audioipc-client", "audioipc-server"] 36cubeb_pulse_rust = ["cubeb-sys", "cubeb-pulse"] 37gecko_debug = ["geckoservo/gecko_debug", "nsstring/gecko_debug"] 38simd-accel = ["encoding_c/simd-accel", "encoding_glue/simd-accel"] 39no-static-ideograph-encoder-tables = ["encoding_c/no-static-ideograph-encoder-tables", "encoding_glue/no-static-ideograph-encoder-tables"] 40 41[lib] 42path = "lib.rs" 43test = false 44doctest = false 45bench = false 46doc = false 47plugin = false 48harness = false 49