forked from mozilla/application-services
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
57 lines (51 loc) · 1.64 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
[package]
name = "nimbus-sdk"
version = "0.10.0"
authors = ["The Glean Team <[email protected]>", "The Sync Team <[email protected]>"]
edition = "2021"
description = "A rapid experiment library"
readme = "README.md"
license = "MPL-2.0"
keywords = ["experiment", "nimbus"]
exclude = ["/android", "/ios"]
[lib]
name = "nimbus"
[features]
# `rkv-safe-mode` is the same name as used by glean. For us though, it's the default.
default=["stateful"]
rkv-safe-mode = ["dep:rkv"]
stateful-uniffi-bindings = []
stateful = ["rkv-safe-mode", "stateful-uniffi-bindings", "dep:remote_settings", "dep:regex", "dep:firefox-versioning"]
[dependencies]
anyhow = "1"
serde = { version = "1", features=["derive"] }
serde_derive = "1"
serde_json = "1"
log = "0.4"
thiserror = "1"
url = "2.5"
rkv = { version = "0.19", optional = true }
jexl-eval = "0.3.0"
uuid = { version = "1.3", features = ["serde", "v4"]}
sha2 = "^0.10"
hex = "0.4"
once_cell = "1"
uniffi = { version = "0.28.2" }
chrono = { version = "0.4", features = ["serde"]}
unicode-segmentation = "1.8.0"
error-support = { path = "../support/error" }
remote_settings = { path = "../remote_settings", optional = true }
cfg-if = "1.0.0"
regex = { version = "1.9", optional = true }
firefox-versioning = { path = "../support/firefox-versioning", optional = true }
[build-dependencies]
uniffi = { version = "0.28.2", features = ["build"] }
[dev-dependencies]
viaduct-reqwest = { path = "../support/viaduct-reqwest" }
env_logger = "0.10"
clap = "2.34"
tempfile = "3"
ctor = "0.2.2"
# Temp hack for uniffi 0.28 generated code, will not be necessary after next uniffi update.
[lints.clippy]
empty-line-after-doc-comments = "allow"