smart-default 0.6.0

Rust custom-derive macro for Default with more control on the fields
Documentation
language: rust
rust:
  - stable
  - beta
  - nightly
matrix:
  allow_failures:
    - rust: nightly

# Shamelessly copied from https://www.hoverbear.org/2015/03/07/rust-travis-github-pages/#givingtravispermissions
after_success: |
  [[ $TRAVIS_JOB_NUMBER = *.3 ]] &&  # TODO: change to *.1 once custom derive docs get into stable
  [ $TRAVIS_BRANCH = master ] &&
  [ $TRAVIS_PULL_REQUEST = false ] &&
  cargo doc &&
  echo "<meta http-equiv=refresh content=0;url=smart_default/index.html>" > target/doc/index.html &&
  pip install ghp-import --user && export PATH=$HOME/.local/bin:$PATH &&
  ghp-import -n target/doc &&
  git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages