-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
76 lines (69 loc) · 1.77 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
[package]
name = "flan"
version = "0.1.0"
edition = "2021"
include = ["src/**/*"]
exclude = ["**/node_modules", "frontend"]
publish = false
[workspace]
members = ["cli", "prisma-cli", "common", "xtask"]
resolver = "2"
[dependencies]
axum = { version = "0.8.1", features = [
"json",
"macros",
"multipart",
"tokio",
"tower-log",
"tracing",
] }
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19", features = ["env-filter", "time"] }
uuid = { version = "1.12.0", features = ["v4"] }
bytes = "1.9.0"
dotenvy = "0.15.7"
s3-tokio = "0.39.4"
rand = "0.8.5"
eyre = "0.6.12"
color-eyre = { version = "0.6.3", features = [
"capture-spantrace",
"issue-url",
] }
tracing-error = "0.2.1"
common = { path = "./common" }
chrono.workspace = true
time = { version = "0.3.37", features = ["formatting", "macros"] }
tower-http = { version = "0.6.2", features = [
"compression-gzip",
"fs",
"timeout",
"trace",
] }
image = { version = "0.25.5", features = ["jpeg", "png", "webp"] }
fred = { version = "9.4.0" }
webp = "0.3.0"
tokio.workspace = true
serde.workspace = true
prisma-client-rust = { git = "https://github.com/Brendonovich/prisma-client-rust", tag = "0.6.11", default-features = false, features = [
"postgresql",
] }
futures-util = "0.3.31"
tower-service = "0.3.3"
tower-layer = "0.3.3"
[workspace.dependencies]
tokio = { version = "1.43.0", features = ["full"] }
serde = { version = "1.0.217", features = ["derive"] }
chrono = "0.4.39"
[[bin]]
name = "flan"
path = "src/main.rs"
# Enable a small amount of optimization in the dev profile.
[profile.dev]
opt-level = 1
# Enable a large amount of optimization in the dev profile for dependencies.
[profile.dev.package."*"]
opt-level = 3
# The profile that 'dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"