-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
89 lines (84 loc) · 2.86 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
87
88
89
[workspace]
members = ["clients/rust", "cronback", "cronback-*"]
[workspace.package]
license = "BSD-2-Clause-Patent"
version = "0.1.0"
edition = "2021"
authors = ["Ahmed Farghal <[email protected]>", "Mohamed Bassem <[email protected]>"]
documentation = "https://docs.cronback.me"
repository = "https://github.com/devtari-io/cronback"
homepage = "https://cronback.me"
rust-version = "1.68.0"
[workspace.dependencies]
# Services
cronback-services = { path = "cronback-services", version = "0.1.0" }
# Internal Dependences
cronback-api-model = { path = "cronback-api-model", version = "0.1.0" }
cronback-client = { path = "clients/rust", package = "cronback-client", version = "0.1.0" }
dto = { path = "cronback-dto", package = "cronback-dto", version = "0.1.0" }
lib = { path = "cronback-lib", package = "cronback-lib", version = "0.1.0" }
proto = { path = "cronback-proto", package = "cronback-proto", version = "0.1.0" }
anyhow = "1.0.69"
async-trait = "0.1.68"
axum = { version = "0.6.4", features = ["macros"] }
base64 = "0.21.0"
chrono = { version = "0.4", features = [
"serde",
"clock",
"std",
], default-features = false }
chrono-tz = "0.8"
cron = { git = "https://github.com/devtari-io/cron.git", rev = "af134f5", version = "0.12.0" }
derive_more = { version = "0.99.17" }
futures = "0.3.28"
iso8601-duration = "0.2.0"
metrics = "0.21"
prost = "0.11"
rand = "0.8"
sea-query = { version = "0.30", features = ["with-json"] }
sea-query-binder = { version = "0.5", features = [
"sqlx-sqlite",
"sqlx-postgres",
"sqlx-any",
"runtime-tokio-native-tls",
"with-json",
] }
sea-orm = { version = "0.12", features = [
"chrono",
"sqlx-sqlite",
"macros",
"debug-print",
] }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1.0.93" }
serde_with = { version = "3.0.0" }
sha2 = "0.10.6"
sqlx = { version = "0.7", features = ["runtime-tokio-native-tls", "any"] }
tempfile = "3.5"
thiserror = "1"
tokio = { version = "1", default-features = false, features = [
"rt-multi-thread",
] }
tokio-stream = { version = "0.1", features = ["net"] }
tonic = "0.9"
tower = { version = "0.4" }
tower-http = { version = "0.4.0", features = ["trace"] }
tracing = { version = "0.1", features = ["log"] }
tracing-test = { version = "0.2.4", features = ["no-env-filter"] }
ulid = { version = "1.0" }
validator = { version = "0.16.0", features = ["derive"] }
once_cell = "1.17"
reqwest = "0.11"
# A crate that re-exposes the unstable IP features that got introduced in
# https://github.com/rust-lang/rust/issues/27709.
# Given that this is an untrusted repo, we're pinning it to a particular
# revision after reviewing the code at this revision.
ipext = { git = "https://github.com/jedisct1/rust-ipext", rev = "0ebeb115bd67", version = "0.1.0" }
url = { version = "2.3.1" }
monostate = { version = "0.1.7" }
[profile.release]
lto = "thin"
strip = "debuginfo"
[profile.release-lto]
inherits = "release"
lto = true