-
Notifications
You must be signed in to change notification settings - Fork 84
Expand file tree
/
Copy pathCargo.toml
More file actions
80 lines (75 loc) · 2.34 KB
/
Copy pathCargo.toml
File metadata and controls
80 lines (75 loc) · 2.34 KB
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
[package]
name = "syncserver"
default-run = "syncserver"
version.workspace = true
license.workspace = true
authors.workspace = true
edition.workspace = true
[dependencies]
actix-web.workspace = true
backtrace.workspace = true
base64.workspace = true
cadence.workspace = true
chrono.workspace = true
deadpool.workspace = true
docopt.workspace = true
futures.workspace = true
hex.workspace = true
hostname.workspace = true
http.workspace = true
lazy_static.workspace = true
rand.workspace = true
regex.workspace = true
sentry.workspace = true
serde.workspace = true
serde_json.workspace = true
sha2.workspace = true
slog.workspace = true
slog-async.workspace = true
slog-envlogger.workspace = true
slog-mozlog-json.workspace = true
slog-scope.workspace = true
slog-stdlog.workspace = true
slog-term.workspace = true
hmac.workspace = true
thiserror.workspace = true
actix-http = "3"
actix-rt = "2"
actix-cors = "0.7"
glean = { path = "../glean" }
google-cloud-auth = "1.13"
google-cloud-storage = "1.15"
hawk = "5.0"
mime = "0.3"
wkt = { package = "google-cloud-wkt", version = "1.5" }
# pin to 0.19: https://github.com/getsentry/sentry-rust/issues/277
syncserver-common = { path = "../syncserver-common" }
syncserver-db-common = { path = "../syncserver-db-common" }
syncserver-settings = { path = "../syncserver-settings" }
syncstorage-db = { path = "../syncstorage-db" }
syncstorage-settings = { path = "../syncstorage-settings" }
tokenserver-auth = { path = "../tokenserver-auth" }
tokenserver-common = { path = "../tokenserver-common" }
tokenserver-db = { path = "../tokenserver-db" }
tokenserver-settings = { path = "../tokenserver-settings" }
tokio = { workspace = true, features = ["macros", "sync"] }
urlencoding = "2.1"
utoipa.workspace = true
utoipa-swagger-ui.workspace = true
validator = "0.20"
validator_derive = "0.20"
woothee = "0.13"
[dev-dependencies]
httptest = "0.16"
temp-env.workspace = true
tokenserver-auth = { path = "../tokenserver-auth", features = ["test-support"] }
[target.'cfg(target_os = "linux")'.dependencies]
slog-journald = "2.2.0"
[features]
default = ["mysql", "py_verifier"]
no_auth = []
py_verifier = ["tokenserver-auth/py", "tokenserver-common/py"]
mysql = ["syncstorage-db/mysql"]
postgres = ["syncstorage-db/postgres"]
spanner = ["syncstorage-db/spanner"]
actix-compress = ["actix-web/compress-brotli", "actix-web/compress-gzip", "actix-web/compress-zstd"]