chatserver/Cargo.toml
Andrea b98a890738 ```
Add user authentication with password hashing

- Integrated Argon2 for password hashing and verification
- Added bcrypt and thiserror dependencies
- Updated database schema with admin and ban flags
- Implemented user account creation and login logic
- Enhanced error handling for database operations
```
2025-04-21 17:46:22 +02:00

24 lines
547 B
TOML

[package]
name = "chatserver"
version = "0.1.0"
edition = "2021"
[dependencies]
colog = "1.3.0"
log = "0.4.22"
tokio = { version = "1.41.1", features = ["full"] }
x25519-dalek = "2.0.0-rc.3"
aes-gcm = "0.10.3"
rand = "0.8.5"
rand_core = "0.6.4"
crypto = "0.5.1"
base64 = "0.21"
serde = { version = "1.0", features = ["derive"] }
toml = "0.8.19"
ratatui = "0.29.0"
crossterm = "0.28.1"
chrono = "0.4.39"
sqlx = { version = "0.8", features = [ "sqlite", "runtime-tokio", "tls-native-tls" ] }
bcrypt = "0.17.0"
argon2 = "0.5.3"
thiserror = "2.0.12"