2023-01-24 08:58:52 +01:00
|
|
|
[package]
|
|
|
|
name = "command_gateway"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
2023-01-26 22:12:59 +01:00
|
|
|
publish = false
|
2023-01-24 08:58:52 +01:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
2023-01-24 14:17:32 +01:00
|
|
|
[lib]
|
2023-01-30 21:28:03 +01:00
|
|
|
name = "libcommand"
|
|
|
|
path = "src/lib.rs"
|
2023-01-24 14:17:32 +01:00
|
|
|
|
2023-01-24 08:58:52 +01:00
|
|
|
[[bin]]
|
2023-01-31 19:38:48 +01:00
|
|
|
name = "gtwyd"
|
2023-01-24 14:17:32 +01:00
|
|
|
path = "src/daemon/main.rs"
|
2023-01-24 08:58:52 +01:00
|
|
|
|
|
|
|
[[bin]]
|
2023-01-31 19:38:48 +01:00
|
|
|
name = "gtwy_interpreter"
|
|
|
|
path = "src/interpreter/main.rs"
|
2023-01-24 08:58:52 +01:00
|
|
|
|
|
|
|
[dependencies]
|
2023-01-30 21:28:03 +01:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_json = "1.0"
|
2023-02-04 14:33:57 +01:00
|
|
|
serde_yaml = "0.9"
|
|
|
|
regex = "1.7"
|
2023-01-31 17:45:37 +01:00
|
|
|
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
|
|
|
|
] }
|
2023-01-26 22:12:59 +01:00
|
|
|
tokio = { version = "1.0", features = ["rt-multi-thread", "macros"] } # Required for tonic
|
2023-01-26 22:40:09 +01:00
|
|
|
tokio-stream = { version = "0.1", features = ["net"] } # Required for tonic with unix socket
|
|
|
|
tower = "0.4" # Required for tonic with unix socket
|
2023-01-26 22:12:59 +01:00
|
|
|
prost = "0.11" # Required for tonic
|
|
|
|
tonic = "0.8"
|
2023-03-13 21:55:59 +01:00
|
|
|
reqwest = "0.11.14"
|
2023-01-26 22:12:59 +01:00
|
|
|
|
2023-02-12 18:14:22 +01:00
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
|
|
uds_windows = "1.0"
|
|
|
|
|
2023-01-26 22:12:59 +01:00
|
|
|
[build-dependencies]
|
|
|
|
tonic-build = { version = "0.8", features = ["prost"] } # Required for tonic
|