Skip to content

Commit

Permalink
Bump dev-dep on civet
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Nov 10, 2015
1 parent c2289ff commit a41868b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion git2-curl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ log = "0.3"
git2 = { path = "..", version = "0.3" }

[dev-dependencies]
civet = "0.7"
civet = "0.8"
conduit = "0.7"
conduit-git-http-backend = "0.7"
tempdir = "0.3"
Expand Down
5 changes: 3 additions & 2 deletions git2-curl/tests/all.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ fn main() {

// Spin up a server for git-http-backend
let td = TempDir::new("wut").unwrap();
let _a = Server::start(Config { port: PORT, threads: 1 },
git_backend::Serve(td.path().to_path_buf()));
let mut cfg = Config::new();
cfg.port(PORT).threads(1);
let _a = Server::start(cfg, git_backend::Serve(td.path().to_path_buf()));

// Prep a repo with one file called `foo`
let sig = git2::Signature::now("foo", "bar").unwrap();
Expand Down

0 comments on commit a41868b

Please sign in to comment.