forked from mozilla/application-services
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
135 lines (128 loc) · 4.45 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[workspace]
resolver = "2"
# Note: Any additions here should be repeated in default-members below.
members = [
"components/as-ohttp-client",
"components/autofill",
"components/crashtest",
"components/fxa-client",
"components/logins",
"components/nimbus",
"components/places",
"components/push",
"components/relevancy",
"components/remote_settings",
"components/suggest",
"components/support/error",
"components/support/error/tests",
"components/support/find-places-db",
"components/support/guid",
"components/support/interrupt",
"components/support/jwcrypto",
"components/support/nimbus-cli",
"components/support/nimbus-fml",
"components/support/rand_rccrypto",
"components/support/rate-limiter",
"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/rc_crypto/nss/systest",
"components/support/rust-log-forwarder",
"components/support/sql",
"components/support/types",
"components/support/viaduct-reqwest",
"components/sync_manager",
"components/sync15",
"components/tabs",
"components/viaduct",
"components/webext-storage",
"components/webext-storage/ffi",
"megazords/cirrus",
"megazords/nimbus-experimenter",
"megazords/full",
"megazords/ios-rust",
"megazords/ios-rust/focus",
"tools/protobuf-gen",
"tools/embedded-uniffi-bindgen",
"examples/*/",
"testing/separated/*/",
]
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).
#
# 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:
#
# - 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.
#
# 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",
"components/autofill",
"components/crashtest",
"components/fxa-client",
"components/logins",
"components/nimbus",
"components/places",
"components/push",
"components/remote_settings",
"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",
"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",
"examples/*/",
"testing/separated/*/",
]
[workspace.dependencies]
rusqlite = "0.31.0"
libsqlite3-sys = "0.28.0"
uniffi = "0.27.1"
[profile.release]
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" }