56 lines
1.8 KiB
TOML
56 lines
1.8 KiB
TOML
[package]
|
|
name = "hotel_service"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
# API
|
|
axum = { version = "0.7.5", features = ["macros"] }
|
|
# Async
|
|
tokio = { version = "1.40", features = ["rt-multi-thread"] }
|
|
futures = "0.3.30"
|
|
# Auth
|
|
axum-login = "0.16.0"
|
|
tower-sessions = { version = "0.13.0", features = ["axum-core"] }
|
|
# Cryptography
|
|
sha2 = "0.10.8"
|
|
digest = "0.10.7"
|
|
rand = { version = "0.8.5", features = ["rand_chacha"] }
|
|
rand_chacha = "0.3.1"
|
|
# DB
|
|
diesel = { version = "2.2.3", features = ["postgres", "chrono", "serde_json"] }
|
|
diesel-async = { version = "0.5.0", features = ["postgres", "deadpool"] }
|
|
deadpool-diesel = { version = "0.6.1", features = ["postgres"] }
|
|
# Env
|
|
dotenvy_macro = "0.15.7"
|
|
# Error handling
|
|
thiserror = "1.0.63"
|
|
# Serialization
|
|
serde = { version = "1.0.209", features = ["derive"] }
|
|
serde_json = "1.0.127"
|
|
base64ct = { version = "1.6.0", features = ["alloc"] }
|
|
# Time
|
|
chrono = { version = "0.4.38", features = ["serde", "std"] }
|
|
# Utils
|
|
derive_more = { version = "1.0.0", features = ["from", "constructor"] }
|
|
strum = { version = "0.26.3", features = ["derive"] }
|
|
secrecy = { version = "0.8.0", features = ["serde"] }
|
|
bon = "2.0.0"
|
|
|
|
# Validation
|
|
validator = { version = "0.18.1", features = ["derive"] }
|
|
axum-valid = { version = "0.20.0", features = ["validator"] }
|
|
|
|
lib = { path = "../rust-lib", features = ["axum", "serde", "derive", "diesel", "time"] }
|
|
#lib = { git = "https://github.com/emberal/rust-lib", tag = "1.4.3", features = ["axum", "serde", "derive"] }
|
|
|
|
[dev-dependencies]
|
|
lib = { path = "../rust-lib", features = ["test"] }
|
|
rstest = "0.22.0"
|
|
testcontainers-modules = { version = "0.10.0", features = ["postgres"] }
|
|
async-std = { version = "1.12.0", features = ["attributes"] }
|
|
tower = { version = "0.5.0", features = ["util"] }
|
|
mime = "0.3.17"
|
|
diesel_async_migrations = "0.15.0"
|
|
hyper = "1.4.1"
|