forked from mozilla/application-services
/
Cargo.toml
47 lines (42 loc) · 1.15 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
[package]
name = "nimbus-sdk"
version = "0.10.0"
authors = ["The Glean Team <glean-team@mozilla.com>", "The Sync Team <sync-team@mozilla.com>"]
edition = "2021"
description = "A rapid experiment library"
readme = "README.md"
license = "MPL-2.0"
keywords = ["experiment", "nimbus"]
[lib]
name = "nimbus"
[features]
# `rkv-safe-mode` is the same name as used by glean. For us though, it's the default.
default=["rkv-safe-mode", "uniffi-bindings"]
rkv-safe-mode = []
uniffi-bindings = ["uniffi", "uniffi_build"]
[dependencies]
anyhow = "1"
serde = "1"
serde_derive = "1"
serde_json = "1"
log = "0.4"
viaduct = { path = "../viaduct" }
thiserror = "1"
url = "2.2"
rkv = "0.17"
jexl-eval = "0.1.7"
uuid = { version = "0.8", features = ["serde", "v4"]}
sha2 = "0.9"
hex = "0.4"
once_cell = "1"
uniffi = { version = "^0.17", optional = true }
chrono = { version = "0.4", features = ["serde"]}
unicode-segmentation = "1.8.0"
[build-dependencies]
uniffi_build = { version = "^0.17", features = [ "builtin-bindgen" ], optional = true }
[dev-dependencies]
viaduct-reqwest = { path = "../support/viaduct-reqwest" }
mockito = "0.27"
env_logger = "0.7"
clap = "2.33.3"
tempdir = "0.3"