| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
name = "remote_settings" |
| 15 |
version = "0.1.0" |
| 16 |
authors = [ |
| 17 |
"The Android Mobile Team <[email protected]>", |
| 18 |
"The Glean Team <[email protected]>", |
| 19 |
] |
| 20 |
build = false |
| 21 |
exclude = [ |
| 22 |
"/android", |
| 23 |
"/ios", |
| 24 |
] |
| 25 |
autolib = false |
| 26 |
autobins = false |
| 27 |
autoexamples = false |
| 28 |
autotests = false |
| 29 |
autobenches = false |
| 30 |
description = "A Remote Settings client intended for application layer platforms." |
| 31 |
readme = false |
| 32 |
license = "MPL-2.0" |
| 33 |
|
| 34 |
[features] |
| 35 |
default = [] |
| 36 |
signatures = [ |
| 37 |
"dep:canonical_json", |
| 38 |
"dep:rc_crypto", |
| 39 |
] |
| 40 |
|
| 41 |
[lib] |
| 42 |
name = "remote_settings" |
| 43 |
path = "src/lib.rs" |
| 44 |
|
| 45 |
[dependencies] |
| 46 |
anyhow = "1.0" |
| 47 |
camino = "1.0" |
| 48 |
parking_lot = "0.12" |
| 49 |
regex = "1.9" |
| 50 |
serde_json = "1" |
| 51 |
sha2 = "^0.10" |
| 52 |
thiserror = "1.0" |
| 53 |
url = "2" |
| 54 |
|
| 55 |
[dependencies.canonical_json] |
| 56 |
version = "0.5" |
| 57 |
optional = true |
| 58 |
|
| 59 |
[dependencies.error-support] |
| 60 |
path = "../support/error" |
| 61 |
|
| 62 |
[dependencies.firefox-versioning] |
| 63 |
path = "../support/firefox-versioning" |
| 64 |
|
| 65 |
[dependencies.jexl-eval] |
| 66 |
version = "0.3.0" |
| 67 |
|
| 68 |
[dependencies.rc_crypto] |
| 69 |
path = "../support/rc_crypto" |
| 70 |
optional = true |
| 71 |
|
| 72 |
[dependencies.rusqlite] |
| 73 |
version = "0.33.0" |
| 74 |
features = ["bundled"] |
| 75 |
|
| 76 |
[dependencies.serde] |
| 77 |
version = "1" |
| 78 |
features = ["derive"] |
| 79 |
|
| 80 |
[dependencies.sql-support] |
| 81 |
path = "../support/sql" |
| 82 |
|
| 83 |
[dependencies.uniffi] |
| 84 |
version = "0.29.0" |
| 85 |
|
| 86 |
[dependencies.viaduct] |
| 87 |
path = "../viaduct" |
| 88 |
|
| 89 |
[dev-dependencies] |
| 90 |
expect-test = "1.4" |
| 91 |
mockall = "0.11" |
| 92 |
mockito = "0.31" |
| 93 |
|
| 94 |
[dev-dependencies.nss] |
| 95 |
path = "../support/rc_crypto/nss" |
| 96 |
|
| 97 |
[dev-dependencies.serde_json] |
| 98 |
version = "1" |
| 99 |
features = ["preserve_order"] |
| 100 |
|
| 101 |
[dev-dependencies.viaduct-reqwest] |
| 102 |
path = "../support/viaduct-reqwest" |
| 103 |
|
| 104 |
[build-dependencies.uniffi] |
| 105 |
version = "0.29.0" |
| 106 |
features = ["build"] |