Skip to content

Commit

Permalink
Merge pull request #157 from binoychitale/cli-client
Browse files Browse the repository at this point in the history
CLI client
  • Loading branch information
ysimonson committed Feb 2, 2021
2 parents 430623e + bd06214 commit a704385
Show file tree
Hide file tree
Showing 3 changed files with 224 additions and 79 deletions.
3 changes: 3 additions & 0 deletions client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ path = "src/main.rs"
clap = "2.33.3"
tonic = "0.4.0"
tokio = { version = "1.0.1", features = ["macros", "rt-multi-thread"] }
failure = "0.1.8"
serde_json = "^1.0.57"
uuid = { version = "0.8.1", features = ["serde"] }

[dependencies.indradb-lib]
path = "../lib"
Expand Down
7 changes: 7 additions & 0 deletions client/src/errors.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
use failure::Fail;

#[derive(Debug, Fail)]
pub enum Error {
#[fail(display = "Invalid vertex")]
VertexInvalid,
}
Loading

0 comments on commit a704385

Please sign in to comment.