chore: convert to cargo workspace with four crates
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
[package]
|
||||
name = "xy-ipc"
|
||||
edition.workspace = true
|
||||
version.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
[dependencies]
|
||||
xy-protocol.workspace = true
|
||||
tokio.workspace = true
|
||||
serde.workspace = true
|
||||
serde_json.workspace = true
|
||||
tracing.workspace = true
|
||||
thiserror.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile.workspace = true
|
||||
@@ -0,0 +1 @@
|
||||
//! JSON-RPC 2.0 over newline-delimited JSON on a Unix socket.
|
||||
@@ -0,0 +1,16 @@
|
||||
[package]
|
||||
name = "xy-protocol"
|
||||
edition.workspace = true
|
||||
version.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
[dependencies]
|
||||
serde.workspace = true
|
||||
serde_json.workspace = true
|
||||
thiserror.workspace = true
|
||||
kdl.workspace = true
|
||||
humantime.workspace = true
|
||||
humantime-serde.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile.workspace = true
|
||||
@@ -0,0 +1 @@
|
||||
//! Wire types and config schema shared between the xy daemon and CLI.
|
||||
@@ -0,0 +1,17 @@
|
||||
[package]
|
||||
name = "xy-supervisor"
|
||||
edition.workspace = true
|
||||
version.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
[dependencies]
|
||||
xy-protocol.workspace = true
|
||||
tokio.workspace = true
|
||||
tracing.workspace = true
|
||||
thiserror.workspace = true
|
||||
nix.workspace = true
|
||||
async-trait.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
tokio-test.workspace = true
|
||||
tempfile.workspace = true
|
||||
@@ -0,0 +1 @@
|
||||
//! Process-supervision primitives for the xy daemon.
|
||||
@@ -0,0 +1,27 @@
|
||||
[package]
|
||||
name = "xy"
|
||||
edition.workspace = true
|
||||
version.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
[[bin]]
|
||||
name = "xy"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
xy-protocol.workspace = true
|
||||
xy-supervisor.workspace = true
|
||||
xy-ipc.workspace = true
|
||||
tokio.workspace = true
|
||||
clap.workspace = true
|
||||
serde.workspace = true
|
||||
serde_json.workspace = true
|
||||
tracing.workspace = true
|
||||
tracing-subscriber.workspace = true
|
||||
anyhow.workspace = true
|
||||
etcetera.workspace = true
|
||||
nix.workspace = true
|
||||
humantime.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile.workspace = true
|
||||
@@ -0,0 +1,3 @@
|
||||
fn main() {
|
||||
println!("xy: not implemented yet");
|
||||
}
|
||||
Reference in New Issue
Block a user