[package]
name = "command_gateway"
version = "0.1.0"
edition = "2021"
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "libcommand"
path = "src/lib.rs"
[[bin]]
name = "daemon"
path = "src/daemon/main.rs"
name = "client"
path = "src/client/main.rs"
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
uuid = { version = "1.2.2", features = [
"v4", # Lets you generate random UUIDs
"fast-rng", # Use a faster (but still sufficiently random) RNG
"macro-diagnostics", # Enable better diagnostics for compile-time UUIDs
] }
tokio = { version = "1.0", features = ["rt-multi-thread", "macros"] } # Required for tonic
tokio-stream = { version = "0.1", features = ["net"] } # Required for tonic with unix socket
tower = "0.4" # Required for tonic with unix socket
prost = "0.11" # Required for tonic
tonic = "0.8"
[build-dependencies]
tonic-build = { version = "0.8", features = ["prost"] } # Required for tonic