Integrated bcrypt for password verification and updated user profile management to include gender and rights handling. Enhanced room access validation to consider gender restrictions and user rights. Updated database queries and structures to support new fields, ensuring compatibility with existing functionalities.
20 lines
477 B
TOML
20 lines
477 B
TOML
[package]
|
|
name = "yourchat2"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
tokio = { version = "1", features = ["macros", "rt-multi-thread", "net", "io-util", "sync", "signal", "fs"] }
|
|
uuid = { version = "1", features = ["v4"] }
|
|
tokio-tungstenite = "0.28"
|
|
futures-util = "0.3"
|
|
tokio-postgres = "0.7"
|
|
openssl = "0.10"
|
|
hex = "0.4"
|
|
scrypt = "0.11"
|
|
tokio-rustls = "0.26"
|
|
rustls-pemfile = "2"
|
|
bcrypt = "0.19.0"
|