forked from mozilla-services/syncstorage-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
86 lines (82 loc) · 2.5 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
79
80
81
82
83
84
85
86
[package]
name = "syncstorage"
version = "0.9.1"
license = "MPL-2.0"
authors = [
"Ben Bangert <[email protected]>",
"Phil Jenvey <[email protected]>",
"Mozilla Services Engineering <[email protected]>"
]
edition = "2018"
default-run = "syncstorage"
[profile.release]
# Enables line numbers in Sentry
debug = 1
[dependencies]
actix-http = "2"
actix-web = "3"
actix-web-httpauth = "0.5"
actix-rt = "1" # Pin to 1.0, due to dependencies on Tokio
actix-cors = "0.5"
async-trait = "0.1.40"
base64 = "0.13"
bb8 = "0.4.1" # pin to 0.4 due to dependencies on Tokio
bytes = "1.0"
cadence = "0.24"
chrono = "0.4"
config = "0.10"
# Pin to 0.5 for now, to keep it under tokio 0.2 (issue977)
deadpool = "0.5" # pin to 0.5
diesel = { version = "1.4", features = ["mysql", "r2d2"] }
diesel_logger = "0.1.1"
diesel_migrations = { version = "1.4.0", features = ["mysql"] }
docopt = "1.1.0"
env_logger = "0.8"
failure = "0.1.8"
futures = { version = "0.3", features = ["compat"] }
googleapis-raw = { version = "0", path = "vendor/mozilla-rust-sdk/googleapis-raw" }
# Some versions of OpenSSL 1.1.1 conflict with grpcio's built-in boringssl which can cause
# syncserver to either fail to either compile, or start. In those cases, try
# `cargo build --features grpcio/openssl ...`
grpcio = { version = "0.8" }
lazy_static = "1.4.0"
pyo3 = "0.13"
hawk = "3.2"
hostname = "0.3.1"
hkdf = "0.10"
hmac = "0.10"
jsonwebtoken = "7.2.0"
log = { version = "0.4", features = ["max_level_debug", "release_max_level_info"] }
mime = "0.3"
num_cpus = "1"
# must match what's used by googleapis-raw
protobuf = "2.20.0"
rand = "0.8"
regex = "1.4"
# pin to 0.19: https://github.com/getsentry/sentry-rust/issues/277
sentry = { version = "0.19", features = ["with_curl_transport"] } # pin to 0.19 due to curl transport, failure
serde = "1.0"
serde_derive = "1.0"
serde_json = { version = "1.0", features = ["arbitrary_precision"] }
scheduled-thread-pool = "0.2"
sha2 = "0.9"
slog = { version = "2.5", features = ["max_level_info", "release_max_level_info", "dynamic-keys"] }
slog-async = "2.5"
slog-envlogger = "2.2.0"
slog-mozlog-json = "0.1"
slog-scope = "4.3"
slog-stdlog = "4.1"
slog-term = "2.6"
time = "^0.2.25"
# pinning to 0.2.4 due to high number of dependencies (actix, bb8, deadpool, etc.)
tokio = { version = "0.2.4", features = ["macros", "sync"] }
url = "2.1"
urlencoding = "1.1"
uuid = { version = "0.8.2", features = ["serde", "v4"] }
validator = "0.12"
validator_derive = "0.12"
woothee = "0.11"
[features]
no_auth = []
[[bin]]
name = "purge_ttl"