Skip to content

Commit

Permalink
Extract haret-cli-client into a lib and bin crate
Browse files Browse the repository at this point in the history
This starts pulling apart haret (vmware-archive#115), specifically cli client
binary into it's own module. The main reason to do this is for a
few reasons. First, it allows us to start framing out a higher
level library interface for Haret (haret-client). Second, it allows
us to shave off some dependencies if we only need a subset for a
particular application. haret-client will need a lot more attention
over time, since right now it just responds with string output.

Note that I've added a .gitignore to `haret-client`, as the
standard practice in the community is to only lock down
dependencies in the application crates, but leave it up to the
library consumers to decide what dependency versions they want
to use.
  • Loading branch information
erickt committed Jun 8, 2017
1 parent 7d3f4e9 commit f876715
Show file tree
Hide file tree
Showing 9 changed files with 1,616 additions and 800 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,10 @@ rust:
- stable
- beta
- nightly
script:
- cargo build --verbose
- cargo test --verbose
- (cd haret-client && cargo build --verbose)
- (cd haret-client && cargo test --verbose)
- (cd haret-cli-client && cargo build --verbose)
- (cd haret-cli-client && cargo test --verbose)
5 changes: 0 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ name = "haret-admin"
path = "src/bin/haret-admin.rs"
test = false

[[bin]]
name = "haret-cli-client"
path = "src/bin/haret-cli-client.rs"
test = false

[[bin]]
name = "devconfig"
path = "src/bin/devconfig.rs"
Expand Down
Loading

0 comments on commit f876715

Please sign in to comment.