application-services/Cargo.toml

147 строки
4.8 KiB
TOML
Исходник Обычный вид История

[workspace]
resolver = "2"
# Note: Any additions here should be repeated in default-members below.
members = [
"components/as-ohttp-client",
2020-09-19 01:49:22 +03:00
"components/autofill",
"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",
"components/push",
"components/relevancy",
2023-05-11 02:21:11 +03:00
"components/remote_settings",
"components/search",
"components/suggest",
"components/support/error",
"components/support/error/tests",
"components/support/find-places-db",
"components/support/guid",
"components/support/interrupt",
2020-07-20 22:54:37 +03:00
"components/support/jwcrypto",
"components/support/nimbus-cli",
"components/support/nimbus-fml",
"components/support/payload",
"components/support/rand_rccrypto",
"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",
"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",
"components/support/rust-log-forwarder",
"components/support/sql",
2020-09-19 01:49:22 +03:00
"components/support/types",
"components/support/viaduct-reqwest",
"components/sync_manager",
"components/sync15",
"components/tabs",
"components/viaduct",
"components/webext-storage",
2020-04-28 10:18:54 +03:00
"components/webext-storage/ffi",
"megazords/cirrus",
"megazords/nimbus-experimenter",
2019-04-30 22:18:13 +03:00
"megazords/full",
"megazords/ios-rust",
"megazords/ios-rust/focus",
2020-04-08 22:26:45 +03:00
"tools/protobuf-gen",
"tools/embedded-uniffi-bindgen",
"tools/start-bindings",
"tools/uniffi-bindgen-library-mode",
"automation/swift-components-docs",
"examples/*/",
"testing/separated/*/",
"components/support/firefox-versioning",
]
exclude = [
# 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.
"components/external/glean/",
# 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",
]
# 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
# 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
# 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.
default-members = [
"components/as-ohttp-client",
2020-09-19 01:49:22 +03:00
"components/autofill",
"components/crashtest",
"components/fxa-client",
"components/logins",
2021-03-19 00:02:04 +03:00
"components/nimbus",
"components/places",
"components/push",
2023-05-11 02:21:11 +03:00
"components/remote_settings",
"components/search",
"components/relevancy",
"components/suggest",
"components/support/error",
"components/support/error/macros",
"components/support/error/tests",
"components/support/guid",
"components/support/interrupt",
"components/support/nimbus-cli",
"components/support/nimbus-fml",
"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",
"components/support/viaduct-reqwest",
"components/sync_manager",
"components/sync15",
"components/tabs",
"components/viaduct",
"components/webext-storage",
# Disabled for intermittent failures; see SDK-233 and #3909 for details.
# "testing/sync-test",
"tools/protobuf-gen",
"tools/embedded-uniffi-bindgen",
"tools/uniffi-bindgen-library-mode",
"examples/*/",
"testing/separated/*/",
]
[workspace.dependencies]
rusqlite = "0.31.0"
libsqlite3-sys = "0.28.0"
uniffi = "0.28.2"
uniffi_bindgen = "0.28.2"
2018-07-11 22:52:10 +03:00
[profile.release]
2019-01-17 22:40:37 +03:00
opt-level = "s"
debug = true
lto = "thin"
# 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" }