summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
blob: 66613a51a5444497a6aa3a57fc954f958d383a59 (plain) (blame)
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
[package]
name = "zagan-bet"
version = "3.3.0"
edition = "2024"

[features]
default = ["server"]
# The server links native-tls (OpenSSL). The client is rustls-only, so 32-bit
# builds can skip the server dependency entirely:
#   cargo build --bin client --no-default-features --target i686-unknown-linux-gnu
server = ["native-tls"]

[[bin]]
name = "client"
path = "src/bin/client/main.rs"

[[bin]]
name = "server"
path = "src/bin/server/main.rs"
required-features = ["server"]

[dependencies]
rusqlite = { version = "0.29", features = ["bundled"] }
crossterm = "0.27"
bcrypt = "0.15"
rand = "0.8"
parking_lot = "0.12"
sha2 = "0.10"
ctrlc = "3.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
uuid = { version = "1.0", features = ["v4"] }
native-tls = { version = "0.2", optional = true }
rustls = { version = "0.21", features = ["dangerous_configuration"] }