language: Rust
cache: cargo
sudo: false
rust:
- nightly

language: Rust
cache: cargo
sudo: false

rust:
  - stable
  - nightly
env:
  - FEATURES=""
  - FEATURES="proposed"

script: cargo build --verbose; cargo test --verbose --features ${FEATURES:-""}

Test also stable and proposed features
Test also stable and proposed features
