summaryrefslogtreecommitdiff
path: root/protocol/Cargo.toml
blob: 20de18be5cbd60236b5b8821b74f58f330a285f0 (plain)
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
[package]
name = "protocol"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
db = ["dep:sqlx"]

[dependencies]
serde = { version = "1.0.145", features = ["derive"] }
serde_json = "1.0.85"
uuid = { version = "1.2.0", features = ["serde", "wasm-bindgen", "v4", "fast-rng"] }
rand =  "0.8.4"
anyhow = "1.0"
strum = "0.24"
strum_macros = "0.24"
log = "0.4"
regex = "1.0"
lazy_static = "1.4"
async-trait = "0.1.58"
sqlx = { version = "0.6", features = ["runtime-tokio-native-tls", "postgres", "uuid", "chrono", "json", "offline"] , optional = true }

[dev-dependencies]
env_logger = "0.10.0"
dotenv = "0.15"
tokio = { version = "1.21.2", features = ["full"] }