forked from mozilla-services/cjms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
78 lines (68 loc) · 1.91 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
[package]
name = "cjms"
edition = "2021"
repository = "https://github.com/mozilla-services/cjms"
# Check git tags for actual version
version = "1.0.0"
[[bin]]
name = "web"
path = "src/bin/web.rs"
[[bin]]
name = "make_version_file"
path = "src/bin/version.rs"
[[bin]]
name = "check_subscriptions"
path = "src/bin/check_subscriptions.rs"
[[bin]]
name = "report_subscriptions"
path = "src/bin/report_subscriptions.rs"
[[bin]]
name = "check_refunds"
path = "src/bin/check_refunds.rs"
[[bin]]
name = "verify_reports"
path = "src/bin/verify_reports.rs"
[lib]
name = "lib"
path = "src/lib/mod.rs"
doctest = false
[dependencies]
actix-cors = "0.6.0"
actix-web = "4"
actix-web-httpauth = "0.6.0"
async-trait = "0.1.52"
cadence = "0.29.0"
config = { version = "0.12", default-features = false, features = ["yaml"] }
rand = "0.8.5"
reqwest = { version = "0.11.9", features = ["json"] }
secrecy = { version = "0.8", features = ["serde"] }
sentry = "0.26.0"
sentry-actix = "0.26.0"
sentry-tracing = "0.26.0"
serde = { version = "1", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.8.23"
sqlx = { version = "0.5.11", features = ["offline", "postgres", "runtime-actix-rustls", "time", "uuid", "json"] }
strum = "0.24.0"
strum_macros = "0.24.0"
thiserror = "1.0.30"
# time must be 0.2 for sqlx support
time = { version = "0.2.27", features = ["serde"] }
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
tracing = { version = "0.1", features = ["log"] }
tracing-actix-web = "0.5"
tracing-actix-web-mozlog = "0.5"
tracing-log = "0.1"
tracing-subscriber = { version = "0.3", features = ["registry", "env-filter"] }
# uuid must be 0.8 for sqlx support
uuid = { version = "0.8", features = ["v4", "serde"] }
[dev-dependencies]
fake = "2.4.3"
mockall = "0.11.0"
pretty_assertions = "1.2.0"
serial_test = "0.6.0"
tempfile = "3.3.0"
wiremock = "0.5.11"
[profile.dev.package.sqlx-macros]
# improve compile time macro checking
opt-level = 3