2022-12-30 06:06:14 +00:00
|
|
|
[package]
|
|
|
|
name = "nzr-api"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
figment = { version = "0.10.8", features = ["json", "toml", "env"] }
|
|
|
|
serde = { version = "1", features = ["derive"] }
|
2024-08-15 00:31:26 +00:00
|
|
|
tarpc = { version = "0.34", features = [
|
|
|
|
"tokio1",
|
|
|
|
"unix",
|
|
|
|
"serde-transport",
|
|
|
|
"serde-transport-bincode",
|
|
|
|
] }
|
2022-12-30 06:06:14 +00:00
|
|
|
tokio = { version = "1.0", features = ["macros"] }
|
2024-08-10 07:58:20 +00:00
|
|
|
uuid = { version = "1.2.2", features = ["serde"] }
|
2024-07-28 06:11:11 +00:00
|
|
|
hickory-proto = { version = "0.24", features = ["serde-config"] }
|
|
|
|
log = "0.4.17"
|
2024-08-10 07:58:20 +00:00
|
|
|
diesel = { version = "2.2", optional = true }
|
2024-08-15 00:31:26 +00:00
|
|
|
futures = { version = "0.3", optional = true }
|
2024-08-15 03:20:37 +00:00
|
|
|
thiserror = "1"
|
|
|
|
regex = "1"
|
|
|
|
lazy_static = "1"
|
2024-08-19 02:42:21 +00:00
|
|
|
tracing = "0.1"
|
|
|
|
tokio-serde = { version = "0.9", features = ["bincode"] }
|
|
|
|
bincode = "1.3"
|
2024-08-15 00:31:26 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
uuid = { version = "1.2.2", features = ["serde", "v4"] }
|
2024-08-10 07:58:20 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
diesel = ["dep:diesel"]
|
2024-08-15 00:31:26 +00:00
|
|
|
mock = ["dep:futures"]
|