Skip to content

Commit

Permalink
Fix no std
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Westerlind committed Nov 18, 2020
1 parent 9e343b2 commit 996383d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/parser/range.rs
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ where [
len
.and_then(|u| {
usize::try_from(u)
.map_err(StreamErrorFor::<Input>::format)
.map_err(StreamErrorFor::<Input>::message_format)
})
.then_partial(|&mut len| take(len))
}
Expand Down
14 changes: 7 additions & 7 deletions travis.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/bash -x
set -ex

cargo build
cargo test --all-features
cargo test --all-features --examples
cargo "$@" build
cargo "$@" test --all-features
cargo "$@" test --all-features --examples

cargo test --bench json --bench http -- --test
cargo check --bench mp4 --features mp4
cargo "$@" test --bench json --bench http -- --test
cargo "$@" check --bench mp4 --features mp4

cargo build --no-default-features
cargo test --no-default-features --examples
cargo "$@" build --no-default-features
cargo "$@" test --no-default-features --examples

0 comments on commit 996383d

Please sign in to comment.