- update: database client to implement a database trait so we can mock it out
- update unit tests - add: database client mock
This commit is contained in:
@@ -3,6 +3,9 @@ name = "auth-service"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[features]
|
||||
mocks = []
|
||||
|
||||
[dependencies]
|
||||
tokio = { version = "1.41.1", features = ["full"] }
|
||||
tonic = "0.12.3"
|
||||
@@ -15,6 +18,8 @@ tracing-subscriber = { version = "0.3.18", features = ["env-filter", "chrono"] }
|
||||
prost = "0.13.3"
|
||||
prost-types = "0.13.3"
|
||||
chrono = { version = "0.4.38", features = ["serde"] }
|
||||
async-trait = "0.1.83"
|
||||
mockall = "0.13.1"
|
||||
|
||||
[build-dependencies]
|
||||
tonic-build = "0.12.3"
|
||||
|
||||
Reference in New Issue
Block a user