50 lines
2.1 KiB
TOML
50 lines
2.1 KiB
TOML
[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 }
|
|
mp4parse_capi = { path = "../../../../media/mp4parse-rust/mp4parse_capi" }
|
|
nsstring = { path = "../../../../servo/support/gecko/nsstring" }
|
|
nserror = { path = "../../../../xpcom/rust/nserror" }
|
|
netwerk_helper = { path = "../../../../netwerk/base/rust-helper" }
|
|
xpcom = { path = "../../../../xpcom/rust/xpcom" }
|
|
prefs_parser = { path = "../../../../modules/libpref/parser" }
|
|
rust_url_capi = { path = "../../../../netwerk/base/rust-url-capi" }
|
|
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.8.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" }
|
|
rsdparsa_capi = { path = "../../../../media/webrtc/signaling/src/sdp/rsdparsa_capi" }
|
|
# We have these to enforce common feature sets for said crates.
|
|
log = {version = "0.3", features = ["release_max_level_info"]}
|
|
syn = { version = "0.11", features = ["full", "visit", "parsing"] }
|
|
cose-c = { version = "0.1.5" }
|
|
|
|
[features]
|
|
default = []
|
|
bindgen = ["geckoservo/bindgen"]
|
|
servo = ["geckoservo"]
|
|
quantum_render = ["webrender_bindings"]
|
|
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"]
|
|
no-static-ideograph-encoder-tables = ["encoding_c/no-static-ideograph-encoder-tables", "encoding_glue/no-static-ideograph-encoder-tables"]
|
|
|
|
[lib]
|
|
path = "lib.rs"
|
|
test = false
|
|
doctest = false
|
|
bench = false
|
|
doc = false
|
|
plugin = false
|
|
harness = false
|