diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..d2f16c4 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,33 @@ +[package] +name = "sute" +version = "0.1.0" +authors = ["Gregor Reitzenstein "] +edition = "2018" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] +futures = { version = "0.3", features = ["thread-pool"] } +futures-util = "0.3" +futures-signals = "0.3" + +capnp = "0.13" +capnp-rpc = "0.13" +capnp-futures = "0.13" + +uuid = "0.8" + +tui = "0.11" +termion = "1.5" + +clap = "2.33" + +smol = "1.2" + +signal-hook = "0.1" + +libc = "0.2" +rsasl = "0.1" + +[build-dependencies] +capnpc = "0.13" diff --git a/build.rs b/build.rs new file mode 100644 index 0000000..52ba140 --- /dev/null +++ b/build.rs @@ -0,0 +1,5 @@ +fn main() { + ::capnpc::CompilerCommand::new().file("schema/connection.capnp").run().unwrap(); + ::capnpc::CompilerCommand::new().file("schema/api.capnp").run().unwrap(); + ::capnpc::CompilerCommand::new().file("schema/auth.capnp").run().unwrap(); +} diff --git a/schema b/schema index 3392b9a..2b242d4 160000 --- a/schema +++ b/schema @@ -1 +1 @@ -Subproject commit 3392b9ac25eba7225212a1220c2d2e9e2bb3ebd9 +Subproject commit 2b242d4f5c9ee9a608e57b4d4694eeabe9c6ee47