[package] name = "gkrust-shared" version = "0.1.0" authors = ["nobody@mozilla.org"] license = "MPL-2.0" description = "Shared Rust code for libxul" [dependencies] geckoservo = { path = "../../../../servo/ports/geckolib", optional = true } kvstore = { path = "../../../components/kvstore" } lmdb-rkv-sys = { version = "0.8.3", features = ["mdb_idl_logn_9"] } mp4parse_capi = { path = "../../../../media/mp4parse-rust/mp4parse_capi" } nserror = { path = "../../../../xpcom/rust/nserror" } nsstring = { path = "../../../../xpcom/rust/nsstring" } netwerk_helper = { path = "../../../../netwerk/base/rust-helper" } xpcom = { path = "../../../../xpcom/rust/xpcom" } prefs_parser = { path = "../../../../modules/libpref/parser" } profiler_helper = { path = "../../../../tools/profiler/rust-helper", optional = true } mozurl = { path = "../../../../netwerk/base/mozurl" } webrender_bindings = { path = "../../../../gfx/webrender_bindings", optional = true } cubeb-pulse = { path = "../../../../media/libcubeb/cubeb-pulse-rs", optional = true, features=["pulse-dlopen"] } cubeb-sys = { version = "0.5.0", optional = true, features=["gecko-in-tree"] } encoding_c = "0.9.0" encoding_glue = { path = "../../../../intl/encoding_glue" } audioipc-client = { path = "../../../../media/audioipc/client", optional = true } audioipc-server = { path = "../../../../media/audioipc/server", optional = true } u2fhid = { path = "../../../../dom/webauthn/u2f-hid-rs" } gkrust_utils = { path = "../../../../xpcom/rust/gkrust_utils" } rsdparsa_capi = { path = "../../../../media/webrtc/signaling/src/sdp/rsdparsa_capi" } xulstore = { path = "../../../components/xulstore", optional = true } # We have these to enforce common feature sets for said crates. log = {version = "0.4", features = ["release_max_level_info"]} env_logger = {version = "0.5", default-features = false} # disable `regex` to reduce code size cose-c = { version = "0.1.5" } jsrust_shared = { path = "../../../../js/src/rust/shared", optional = true } arrayvec = "0.4" cert_storage = { path = "../../../../security/manager/ssl/cert_storage", optional = true } bitsdownload = { path = "../../../components/bitsdownload", optional = true } storage = { path = "../../../../storage/rust" } bookmark_sync = { path = "../../../components/places/bookmark_sync", optional = true } [build-dependencies] rustc_version = "0.2" [features] default = [] bindgen = ["geckoservo/bindgen"] servo = ["geckoservo"] quantum_render = ["webrender_bindings"] webrender_debugger = ["webrender_bindings/webrender_debugger"] cubeb-remoting = ["cubeb-sys", "audioipc-client", "audioipc-server"] cubeb_pulse_rust = ["cubeb-sys", "cubeb-pulse"] gecko_debug = ["geckoservo/gecko_debug", "nsstring/gecko_debug"] simd-accel = ["encoding_c/simd-accel", "encoding_glue/simd-accel"] moz_memory = ["mp4parse_capi/mp4parse_fallible"] moz_places = ["bookmark_sync"] spidermonkey_rust = ["jsrust_shared"] cranelift_x86 = ["jsrust_shared/cranelift_x86"] cranelift_arm32 = ["jsrust_shared/cranelift_arm32"] cranelift_arm64 = ["jsrust_shared/cranelift_arm64"] cranelift_none = ["jsrust_shared/cranelift_none"] gecko_profiler = ["profiler_helper"] gecko_profiler_parse_elf = ["profiler_helper/parse_elf"] new_xulstore = ["xulstore"] new_cert_storage = ["cert_storage"] [lib] path = "lib.rs" test = false doctest = false bench = false doc = false plugin = false harness = false