Skip to content

Commit

Permalink
remove uses of the stream feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed Dec 3, 2017
1 parent 6013177 commit 8532ae1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ env:
matrix:
- FEATURES=''
- FEATURES='--features "regexp regexp_macros"'
- FEATURES='--features "stream regexp regexp_macros"'
- FEATURES='--features "stream regexp regexp_macros" --no-default-features'
- FEATURES='--features "regexp regexp_macros" --no-default-features'

before_script:
- if [ "$TRAVIS_RUST_VERSION" != "1.2.0" ]; then
Expand All @@ -25,7 +24,7 @@ script:
- '[ $TRAVIS_RUST_VERSION != nightly ] || cargo build --verbose --features "nightly regexp"'
- '[ $TRAVIS_RUST_VERSION == 1.2.0 ] || eval cargo test --verbose $FEATURES'
- '[ $TRAVIS_RUST_VERSION != nightly ] || cargo bench --verbose'
- '[ $TRAVIS_RUST_VERSION != stable ] || cargo doc --verbose --features "std stream regexp regexp_macros" --no-default-features'
- '[ $TRAVIS_RUST_VERSION != stable ] || cargo doc --verbose --features "std regexp regexp_macros" --no-default-features'

after_success:
- '[ $TRAVIS_RUST_VERSION != nightly ] || cargo bench --verbose'
Expand Down
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@ include = [
[features]
std = ["memchr/use_std"]
nightly = []
default = ["std", "stream"]
default = ["std"]
regexp = ["regex"]
regexp_macros = ["regexp", "lazy_static"]
stream = []
verbose-errors = []

[dependencies.regex]
Expand Down

0 comments on commit 8532ae1

Please sign in to comment.