Skip to content

Commit

Permalink
(fix) Update for latest rust and iron.
Browse files Browse the repository at this point in the history
  • Loading branch information
reem committed Apr 13, 2015
1 parent 83dcdc3 commit 9eb10e0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
14 changes: 5 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
os:
- linux
language: rust
sudo: false
env:
matrix:
- LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib/rustlib/x86_64-unknown-linux-gnu/lib/
global:
secure: PqrYTLi97gu+3ABt7ODlekU8TPC6Rs7bXIXGa6+BArn6W+0gPja6XVuxsly+8oUq7p38RyK5m6YghJmTQp27DEXyVTh9SGUlP7wVwrwTo8zydjDSn6TGzWIoSM0j7duHf9dAXP6+TEknueR/fj6c72koxawYdRPs+pL4ekULNFY=
install:
- curl https://static.rust-lang.org/rustup.sh | sudo sh
script:
- cargo build --verbose
- cargo test --verbose
- cargo doc
- cargo build
- cargo test
- cargo bench
after_success: 'curl https://raw.githubusercontent.com/iron-bot/build-doc/master/build-doc.sh
| sh '
2 changes: 1 addition & 1 deletion examples/hitcounter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use persistent::Write;
use iron::typemap::Key;
use iron::{status};

#[derive(Copy)]
#[derive(Copy, Clone)]
pub struct HitCounter;

impl Key for HitCounter { type Value = usize; }
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#![cfg_attr(test, deny(warnings))]
#![deny(missing_docs)]
#![feature(core)]

//! A set of middleware for sharing data between requests in the Iron
//! framework.
Expand Down

0 comments on commit 9eb10e0

Please sign in to comment.