-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
92 lines (76 loc) · 2.24 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
90
91
92
[package]
name = "claw-vault"
version = "2.0.0"
edition = "2024"
authors = ["Shashank Verma <[email protected]>"]
license = "MIT"
description = "A platform to share sensitive information with desired recipients."
repository = "https://github.com/Claw-Vault"
readme = "README.md"
keywords = ["rsa", "xrc", "encryption", "decryption", "vault", "claw", "share"]
rust-version = "1.85"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace.lints.rust]
unsafe_code = "forbid"
[workspace]
resolver = "3"
members = ["lib-core", "lib-domain"]
[dependencies]
lib-core = { path = "lib-core" }
lib-domain = { path = "lib-domain" }
# rt
futures = { workspace = true }
tokio = { workspace = true }
dotenv = "=0.15.0"
# http
hyper = { workspace = true }
hyper-util = { workspace = true }
axum = { workspace = true }
tower-http = { workspace = true }
tower = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
# dto
serde = { workspace = true }
serde_json = { workspace = true }
validator = { workspace = true }
# swagger
utoipa = { workspace = true }
utoipa-swagger-ui = { workspace = true }
[workspace.dependencies]
# rt
futures = "=0.3.30"
tokio = { version = "=1.44.1", features = ["full", "rt-multi-thread"] }
# http
hyper = "=1.6.0"
hyper-util = { version = "=0.1.10", features = [
"tokio",
"server-auto",
"http1",
] }
axum = { version = "=0.8.1", features = ["macros", "multipart"] }
tower-http = { version = "=0.6.2", features = ["fs", "trace"] }
tower = { version = "=0.5.2", features = ["util"] }
tracing = "=0.1.40"
tracing-subscriber = { version = "=0.3", features = ["env-filter", "json"] }
# dto
serde = { version = "=1.0.219", features = ["derive"] }
serde_json = { version = "=1.0.140" }
validator = { version = "=0.20.0", features = ["derive"] }
# swagger
utoipa = { version = "=5.3.1", features = ["axum_extras"] }
utoipa-swagger-ui = { version = "=9.0.0", features = ["axum"] }
# db
sqlx = { version = "=0.8.3", features = [
"runtime-tokio",
"macros",
"postgres",
] }
chrono = "=0.4.40"
nanoid = "=0.4.0"
[profile.release]
strip = true
# lto = true
[dev-dependencies]
tower = { version = "0.4.13", features = ["util"] }
http-body-util = "=0.1.3"