2022-05-06 11:47:18 +02:00
|
|
|
[package]
|
|
|
|
name = "model"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[features]
|
|
|
|
db = ["sqlx", "sqlx-core"]
|
2022-05-06 16:02:38 +02:00
|
|
|
dummy = ["fake", "rand"]
|
2022-05-06 11:47:18 +02:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
serde = { version = "1.0.137" }
|
|
|
|
|
|
|
|
sqlx = { version = "0.5", features = ["migrate", "runtime-actix-rustls", "all-types", "postgres"], optional = true }
|
|
|
|
sqlx-core = { version = "0.5", features = [], optional = true }
|
|
|
|
|
|
|
|
uuid = { version = "0.8", features = ["serde"] }
|
|
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
|
|
|
|
|
|
derive_more = { version = "0.99.17" }
|
|
|
|
|
|
|
|
thiserror = { version = "1.0.31" }
|
|
|
|
|
|
|
|
validator = { version = "0.15.0" }
|
2022-05-06 16:02:38 +02:00
|
|
|
|
2022-05-08 09:47:05 +02:00
|
|
|
fake = { version = "2.4.3", features = ["derive", "chrono", "http", "uuid", "dummy"], optional = true }
|
2022-05-06 16:02:38 +02:00
|
|
|
rand = { version = "0.8.5", optional = true }
|
2022-05-08 09:47:05 +02:00
|
|
|
|
|
|
|
password-hash = { version = "0.4", features = ["alloc"] }
|
|
|
|
argon2 = { version = "0.4", features = ["parallel", "password-hash"] }
|
|
|
|
rand_core = { version = "0.6", features = ["std"] }
|
|
|
|
|
|
|
|
log = { version = "0.4.17" }
|