This repository has been archived by the owner on Jan 14, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCargo.toml
47 lines (42 loc) · 1.7 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 = "remote-settings-client"
version = "1.1.0"
authors = ["Mathieu Leplatre <mathieu@mozilla.com>", "Vishwa Patel <vpatel@mozilla.com>"]
edition = "2018"
readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = []
ring_verifier = ["oid-registry", "ring"]
rc_crypto_verifier = ["rc_crypto"]
viaduct_client = ["viaduct"]
[dev-dependencies]
env_logger = "0.11.2"
httpmock = "0.7.0"
viaduct-reqwest = { git = "https://github.com/mozilla/application-services", rev = "v131.0"}
mock_instant = "0.5.1"
# The following line is a workaround suggested on the rust-lang/cargo issue 2911
# https://github.com/rust-lang/cargo/issues/2911#issuecomment-749580481 to make
# it possible to enable features for tests. We need to enable the "viaduct_client"
# feature for the tests because most of the tests use a mocked HTTP server and it
# would be a non-trivial task to migrate them to use a fake client.
remote-settings-client = { path = ".", features = ["viaduct_client"] }
[dependencies]
anyhow = "1"
base64 = "0.22.0"
canonical_json = "0.5"
hex = "0.4"
log = "0.4.0"
url = "2.1"
# specifying viaduct dependency from git repo since viaduct is not published yet to crates.io
viaduct = { git = "https://github.com/mozilla/application-services", rev = "v131.0", optional = true}
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
derive_builder = "0.20"
thiserror = "2.0"
# ring_verifier
ring = { version = "0.17", optional = true }
oid-registry = { version = "0.7.0", optional = true }
x509-parser = "0.16.0"
# rc_crypto verifier
rc_crypto = { git = "https://github.com/mozilla/application-services", rev = "v134.0", optional = true }