-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
47 lines (39 loc) · 1.17 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
[package]
name = "transfer"
version = "0.1.0"
edition = "2021"
[workspace]
members = [".", "migration"]
[[bin]]
name = "transfer-server"
path = "src/server.rs"
[[bin]]
name = "transfer-client"
path = "src/client.rs"
[dependencies]
tonic = { version = "0.7", features = ["tls"] }
prost = "0.10"
tokio = { version = "1.0", features = ["full"] }
clap = { version = "4.0.10", features = ["derive"] }
tracing = "0.1.35"
tracing-subscriber = "0.3.11"
anyhow = "1.0"
jsonwebtoken = { version = "8.1.1", features = ["use_pem"] }
serde = { version = "1.0.137", features = ["derive"] }
pbkdf2 = "0.11.0"
rand_core = { version = "0.6", features = ["std"] }
sea-orm = { version = "^0", features = [
"sqlx-postgres",
"runtime-tokio-rustls",
] }
[dependencies.uuid] # I guess this isn't necessary as sea-orm already exposes it.
version = "1.1.2"
features = [
"v4", # Lets you generate random UUIDs
"fast-rng", # Use a faster (but still sufficiently random) RNG
"macro-diagnostics", # Enable better diagnostics for compile-time UUIDs
]
# entity = { path = "entity" }
# migration = { path = "migration" } # depends on your needs
[build-dependencies]
tonic-build = "0.7"