Cargo Features

mozilla-central-workspace-hack has no features set by default.

[dependencies]
mozilla-central-workspace-hack = { version = "0.1.0", features = ["builtins-static", "defaultagent-static", "geckodriver", "gkrust", "gkrust-gtest", "http3server", "ipcclientcerts-static", "jsrust", "mozwer_s", "osclientcerts-static"] }
builtins-static

Enables bindgen ^0.64, memchr, nom, regex, serde, smallvec, syn, and syn ^1

defaultagent-static

Enables bytes, getrandom, hashbrown ^0.12, indexmap ^1, log, once_cell, scopeguard, serde, serde_json, smallvec, syn, syn ^1, and url

geckodriver

Enables bytes, chrono, flate2, futures-channel, futures-core, futures-sink, futures-util, getrandom, hashbrown ^0.12, hyper ^0.14, indexmap ^1, log, memchr, num-integer, num-traits, once_cell, regex, semver, serde, serde_json, smallvec, syn, tokio, tokio-util, tracing, url, and uuid

gkrust gkrust-gtest?

Enables arrayvec, bindgen ^0.64, bytes, chrono, env_logger ^0.10, flate2, futures-channel, futures-core, futures-sink, futures-util, getrandom, hashbrown ^0.12, indexmap ^1, log, memchr, nom, num-integer, num-traits, once_cell, regex, scopeguard, semver, serde, serde_json, smallvec, syn, syn ^1, url, and uuid

gkrust-gtest = gkrust
http3server

Enables arrayvec, bindgen ^0.64, bytes, chrono, env_logger ^0.10, futures-channel, futures-core, futures-sink, futures-util, getrandom, hashbrown ^0.12, hyper ^0.14, indexmap ^1, log, memchr, nom, num-integer, num-traits, once_cell, regex, serde, serde_json, smallvec, syn, syn ^1, tokio, tokio-util, tracing, and url

ipcclientcerts-static

Enables bindgen ^0.64, memchr, nom, regex, and syn ^1

jsrust

Enables arrayvec, env_logger ^0.10, getrandom, hashbrown ^0.12, indexmap ^1, log, memchr, once_cell, semver, serde, smallvec, syn, and url

mozwer_s

Enables getrandom, hashbrown ^0.12, indexmap ^1, once_cell, serde, serde_json, syn, and uuid

osclientcerts-static

Enables bindgen ^0.64, env_logger ^0.10, log, memchr, nom, regex, and syn ^1

mozilla-central-workspace-hack has 10 features without comments.

Features from optional dependencies

This is a hack to help rust code in the tree that are built by different invocations of cargo share dependencies rather than rebuilding them. This is based on the "rustc-workspace-hack" used by the rustc build system to achieve the same. From the description of the issue given there:

"Each time Cargo runs a build it will re-resolve the dependency graph, "
"notably selecting different features sometimes for each build."

We work around this by specifying the union of the set of features selected by dependencies in each cargo invocation for each instance they would differ.