-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
104 lines (93 loc) · 2.36 KB
/
Cargo.toml
File metadata and controls
104 lines (93 loc) · 2.36 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[package]
name = "bna-api"
version = "0.1.0"
edition = "2021"
publish = false
[workspace]
members = ["bnaclient", "lambdas", "entity", "migration", "effortless"]
[workspace.dependencies]
async-std = "1.13.2"
aws_lambda_events = "1.2.0"
aws-config = "1.8.17"
aws-sdk-s3 = "1.132.0"
aws-sdk-sqs = "1.100.0"
axum = "0.8.9"
axum-extra = "0.12.6"
axum-streams = "0.25.0"
bnacore = { git = "https://github.com/PeopleForBikes/brokenspoke", rev = "d989124" }
bon = "3.9.1"
chrono = "0.4.44"
color-eyre = "0.6.5"
csv = "1.4.0"
dotenvy = "0.15.7"
entity = { path = "entity" }
futures = "0.3.32"
http-serde = "2.0.0"
itertools = "0.14.0"
lambda_http = "1.2.0"
lambda_runtime = "1.2.1"
migration = { path = "migration" }
nom = "7.1.3"
once_cell = "1.21.4"
query_map = "0.7.0"
reqwest = "0.13.4"
rstest = "0.26.1"
sea-orm = "1.1.20"
sea-orm-macros = "1.1.20"
sea-orm-migration = "1.1.20"
sea-query = "0.32.7"
serde = "1.0.228"
serde_json = "1.0.150"
serde_plain = "1.0.2"
serde_with = "3.20.0"
thiserror = "2.0.18"
tokio = "1.52.3"
tower-http = "0.6.11"
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.23", default-features = false }
tracing-test = "0.2.6"
url = "2.5.8"
urlencoding = "2.1.3"
utoipa = "5.5.0"
utoipa-axum = "0.2.0"
utoipa-swagger-ui = "9.0.2"
uuid = "1.23.2"
[dependencies]
color-eyre = { workspace = true }
chrono = { workspace = true }
dotenvy = { workspace = true }
entity = { workspace = true }
futures = { workspace = true }
http-serde = { workspace = true }
lambda_http = { workspace = true }
migration = { workspace = true }
once_cell = { workspace = true }
sea-orm = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
serde_with = { workspace = true }
tokio = { workspace = true }
uuid = { workspace = true, features = ["v4"] }
[dev-dependencies]
bnacore = { workspace = true }
csv = { workspace = true }
itertools = { workspace = true }
time = { version = "0.3.45", features = ["formatting"] }
tracing-test = { workspace = true }
[profile.release]
# Optimize for size instead of speed
opt-level = "z"
# Enable Link-Time Optimization
lto = true
# Use single codegen unit for better optimization
codegen-units = 1
# Strip all symbols from binary
strip = true
# Enable panic abort instead of unwinding
panic = "abort"
# Reduce debug info
debug = false
# Optimize for size in dependencies too
[profile.release.package."*"]
opt-level = "z"
strip = true