2018-05-16 06:51:07 +03:00
|
|
|
[workspace]
|
2023-09-26 17:39:38 +03:00
|
|
|
resolver = "2"
|
|
|
|
|
2020-07-07 20:24:32 +03:00
|
|
|
# Note: Any additions here should be repeated in default-members below.
|
2018-05-16 06:51:07 +03:00
|
|
|
members = [
|
2023-07-28 05:30:32 +03:00
|
|
|
"components/as-ohttp-client",
|
2020-09-19 01:49:22 +03:00
|
|
|
"components/autofill",
|
2021-03-12 04:20:46 +03:00
|
|
|
"components/crashtest",
|
2018-12-13 00:26:49 +03:00
|
|
|
"components/fxa-client",
|
|
|
|
"components/logins",
|
2021-03-19 00:02:04 +03:00
|
|
|
"components/nimbus",
|
2018-10-08 23:32:31 +03:00
|
|
|
"components/places",
|
2019-03-06 03:29:09 +03:00
|
|
|
"components/push",
|
2024-02-14 23:16:34 +03:00
|
|
|
"components/relevancy",
|
2023-05-11 02:21:11 +03:00
|
|
|
"components/remote_settings",
|
2024-08-19 20:51:32 +03:00
|
|
|
"components/search",
|
2023-04-04 01:42:35 +03:00
|
|
|
"components/suggest",
|
2019-04-29 22:32:37 +03:00
|
|
|
"components/support/error",
|
2023-01-27 20:38:55 +03:00
|
|
|
"components/support/error/tests",
|
2024-01-27 00:50:00 +03:00
|
|
|
"components/support/find-places-db",
|
2019-07-10 05:39:57 +03:00
|
|
|
"components/support/guid",
|
2019-04-17 07:29:13 +03:00
|
|
|
"components/support/interrupt",
|
2020-07-20 22:54:37 +03:00
|
|
|
"components/support/jwcrypto",
|
2023-04-26 20:53:09 +03:00
|
|
|
"components/support/nimbus-cli",
|
2021-10-19 19:17:27 +03:00
|
|
|
"components/support/nimbus-fml",
|
2024-07-09 05:52:28 +03:00
|
|
|
"components/support/payload",
|
2020-07-18 01:12:40 +03:00
|
|
|
"components/support/rand_rccrypto",
|
2020-10-28 19:24:38 +03:00
|
|
|
"components/support/rate-limiter",
|
2020-07-02 22:21:51 +03:00
|
|
|
"components/support/restmail-client",
|
2019-07-09 21:00:48 +03:00
|
|
|
"components/support/rc_crypto",
|
|
|
|
"components/support/rc_crypto/nss",
|
2020-01-08 17:22:36 +03:00
|
|
|
"components/support/rc_crypto/nss/nss_build_common",
|
2019-07-09 21:00:48 +03:00
|
|
|
"components/support/rc_crypto/nss/nss_sys",
|
2020-04-16 21:32:59 +03:00
|
|
|
"components/support/rc_crypto/nss/systest",
|
2023-01-04 18:27:51 +03:00
|
|
|
"components/support/rust-log-forwarder",
|
2019-11-04 21:16:48 +03:00
|
|
|
"components/support/sql",
|
2020-09-19 01:49:22 +03:00
|
|
|
"components/support/types",
|
2020-03-26 23:27:50 +03:00
|
|
|
"components/support/viaduct-reqwest",
|
2019-07-23 05:54:10 +03:00
|
|
|
"components/sync_manager",
|
2019-11-04 21:16:48 +03:00
|
|
|
"components/sync15",
|
|
|
|
"components/tabs",
|
|
|
|
"components/viaduct",
|
2020-04-16 03:18:02 +03:00
|
|
|
"components/webext-storage",
|
2020-04-28 10:18:54 +03:00
|
|
|
"components/webext-storage/ffi",
|
2023-05-02 22:28:09 +03:00
|
|
|
"megazords/cirrus",
|
2023-09-05 15:32:40 +03:00
|
|
|
"megazords/nimbus-experimenter",
|
2019-04-30 22:18:13 +03:00
|
|
|
"megazords/full",
|
2021-08-21 01:44:56 +03:00
|
|
|
"megazords/ios-rust",
|
2022-05-11 22:26:22 +03:00
|
|
|
"megazords/ios-rust/focus",
|
2020-04-08 22:26:45 +03:00
|
|
|
"tools/protobuf-gen",
|
2021-02-25 05:39:27 +03:00
|
|
|
"tools/embedded-uniffi-bindgen",
|
2024-08-29 15:26:48 +03:00
|
|
|
"automation/swift-components-docs",
|
2020-07-14 00:30:18 +03:00
|
|
|
|
|
|
|
"examples/*/",
|
|
|
|
"testing/separated/*/",
|
2018-05-16 06:51:07 +03:00
|
|
|
]
|
2018-05-16 21:04:17 +03:00
|
|
|
|
2020-10-21 05:46:04 +03:00
|
|
|
exclude = [
|
2022-09-08 13:02:18 +03:00
|
|
|
# Don't include git submodules in our workspace, since those packages haven't
|
|
|
|
# been written with that in mind. They might work, but they might not.
|
2020-10-21 05:46:04 +03:00
|
|
|
"components/external/glean/",
|
2022-09-08 13:02:18 +03:00
|
|
|
# Excluding this due to intermittent failures; see SDK-233 and #3909 for details.
|
|
|
|
# (including it here means you can still explicitly run it from the test directory)
|
|
|
|
"testing/sync-test",
|
2020-10-21 05:46:04 +03:00
|
|
|
]
|
|
|
|
|
2020-07-07 20:24:32 +03:00
|
|
|
# The `default-members` are the things that are built/tested when you run `cargo
|
|
|
|
# build`, `cargo test` (or most of the cargo commands not provided by a
|
|
|
|
# third-party `cargo-foo` binary) from a workspace root *without* doing one of:
|
|
|
|
#
|
|
|
|
# - Specifying a specific package (e.g. via `-p <package>`, `--manifest-dir
|
|
|
|
# <path>` ...)
|
|
|
|
#
|
|
|
|
# - Passing `--workspace` or `--all`.
|
|
|
|
#
|
|
|
|
# - Running the command from within that package (e.g. running `cargo build`
|
|
|
|
# inside `megazords/full` will build the full megazord, default or not).
|
|
|
|
#
|
2020-07-20 19:29:46 +03:00
|
|
|
# We use this to exclude a couple that have a disproportional compile time
|
2020-07-07 20:24:32 +03:00
|
|
|
# impact to how likely they are to get broken by average changes:
|
|
|
|
#
|
2020-07-20 19:29:46 +03:00
|
|
|
# - The megazords just re-export ffi crates, which we aren't excluding, and get
|
2020-07-07 20:24:32 +03:00
|
|
|
# built freqently enough as part of gradle/xcode's build process.
|
|
|
|
#
|
2020-07-20 19:29:46 +03:00
|
|
|
# To be clear: passing the `--all` or `--workspace` arg to cargo will make it
|
|
|
|
# use the full member set.
|
2020-07-07 20:24:32 +03:00
|
|
|
default-members = [
|
2023-07-28 05:30:32 +03:00
|
|
|
"components/as-ohttp-client",
|
2020-09-19 01:49:22 +03:00
|
|
|
"components/autofill",
|
2021-03-12 04:20:46 +03:00
|
|
|
"components/crashtest",
|
2020-07-07 20:24:32 +03:00
|
|
|
"components/fxa-client",
|
|
|
|
"components/logins",
|
2021-03-19 00:02:04 +03:00
|
|
|
"components/nimbus",
|
2020-07-07 20:24:32 +03:00
|
|
|
"components/places",
|
|
|
|
"components/push",
|
2023-05-11 02:21:11 +03:00
|
|
|
"components/remote_settings",
|
2024-08-19 20:51:32 +03:00
|
|
|
"components/search",
|
2020-07-07 20:24:32 +03:00
|
|
|
"components/support/error",
|
2023-01-26 00:00:36 +03:00
|
|
|
"components/support/error/macros",
|
2023-01-27 20:38:55 +03:00
|
|
|
"components/support/error/tests",
|
2020-07-07 20:24:32 +03:00
|
|
|
"components/support/guid",
|
|
|
|
"components/support/interrupt",
|
2023-04-26 20:53:09 +03:00
|
|
|
"components/support/nimbus-cli",
|
|
|
|
"components/support/nimbus-fml",
|
2020-07-07 20:24:32 +03:00
|
|
|
"components/support/restmail-client",
|
|
|
|
"components/support/rc_crypto",
|
|
|
|
"components/support/rc_crypto/nss",
|
|
|
|
"components/support/rc_crypto/nss/nss_build_common",
|
|
|
|
"components/support/rc_crypto/nss/nss_sys",
|
|
|
|
"components/support/sql",
|
2020-09-19 01:49:22 +03:00
|
|
|
"components/support/types",
|
2020-07-07 20:24:32 +03:00
|
|
|
"components/support/viaduct-reqwest",
|
|
|
|
"components/sync_manager",
|
|
|
|
"components/sync15",
|
|
|
|
"components/tabs",
|
|
|
|
"components/viaduct",
|
|
|
|
"components/webext-storage",
|
2021-03-22 19:14:00 +03:00
|
|
|
# Disabled for intermittent failures; see SDK-233 and #3909 for details.
|
|
|
|
# "testing/sync-test",
|
2020-07-07 20:24:32 +03:00
|
|
|
"tools/protobuf-gen",
|
2021-02-25 05:39:27 +03:00
|
|
|
"tools/embedded-uniffi-bindgen",
|
2020-07-14 00:30:18 +03:00
|
|
|
"examples/*/",
|
|
|
|
"testing/separated/*/",
|
2020-07-07 20:24:32 +03:00
|
|
|
]
|
|
|
|
|
2023-12-11 19:19:14 +03:00
|
|
|
[workspace.dependencies]
|
2024-04-26 01:15:51 +03:00
|
|
|
rusqlite = "0.31.0"
|
|
|
|
libsqlite3-sys = "0.28.0"
|
2024-03-27 16:59:21 +03:00
|
|
|
uniffi = "0.27.1"
|
2023-12-11 19:19:14 +03:00
|
|
|
|
2018-07-11 22:52:10 +03:00
|
|
|
[profile.release]
|
2019-01-17 22:40:37 +03:00
|
|
|
opt-level = "s"
|
2018-09-17 20:00:24 +03:00
|
|
|
debug = true
|
2020-01-28 13:36:43 +03:00
|
|
|
lto = "thin"
|
2020-10-21 05:46:04 +03:00
|
|
|
|
|
|
|
# We import some git submodules which in turn may depend on appservices crates.
|
|
|
|
# We always want to use the local version of our own crates in that case.
|
|
|
|
[patch."https://github.com/mozilla/application-services"]
|
|
|
|
viaduct = { path = "components/viaduct" }
|