-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
40 lines (33 loc) · 967 Bytes
/
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
[package]
name = "chat"
version = "0.1.0"
edition = "2021"
[[bin]]
name = "chat"
path = "src/main.rs"
[workspace]
members = [".", "migration", "settings"]
[dependencies]
chrono = {version = "0.4.0", features = ["serde"] }
tokio = { version = "1", features = ["full"] }
warp = "0.3.2"
futures = "0.3.21"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tracing-log = "0.1.3"
log = { version = "0.4", features = ["std", "serde"] }
env_logger = "0.9.1"
async-trait = "0.1.57"
sea-orm = { version = "^0", features = ["sqlx-postgres", "runtime-tokio-rustls", "macros" ] }
migration = { path = "migration" }
settings = { path = "settings" }
[dependencies.uuid]
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
"serde"
]
[profile.test]
opt-level = 3