bazzar/crates/model/Cargo.toml
2022-12-08 16:22:20 +01:00

34 lines
1.1 KiB
TOML

[package]
name = "model"
version = "0.1.0"
edition = "2021"
[features]
db = ["sqlx", "sqlx-core"]
dummy = ["fake", "rand"]
accounts = []
carts = []
emails = []
search = []
stocks = []
orders = []
payments = []
default = ['accounts', 'carts', 'emails', 'search', 'stocks', 'orders', 'payments']
[dependencies]
argon2 = { version = "0.4", features = ["parallel", "password-hash"] }
chrono = { version = "0.4", features = ["serde"] }
derive_more = { version = "0.99.17" }
fake = { version = "2", features = ["derive", "chrono", "http", "uuid", "dummy"], optional = true }
password-hash = { version = "0.4", features = ["alloc"] }
rand = { version = "0.8.5", optional = true }
rand_core = { version = "0.6", features = ["std"] }
serde = { version = "1.0.137" }
sqlx = { version = "0.6.2", features = ["migrate", "runtime-actix-rustls", "all-types", "postgres"], optional = true }
sqlx-core = { version = "0.6.2", features = [], optional = true }
thiserror = { version = "1.0.31" }
uuid = { version = "1.2.1", features = ["serde"] }
validator = { version = "0.16.0" }
#tracing = { version = "0.1.34" }