Skip to content

Commit

Permalink
Don't use Diesel CLI 1.0.0
Browse files Browse the repository at this point in the history
Diesel 1.0.0 was released with overly broad constraints on internal
dependencies. `diesel_cli` relies on internal implementation details of
`diesel` (and other internal crates) which are not bound to semver.
Unfortunately, we didn't anticipate the problems that came from having a
"semver compatible" bound on these dependencies when relying on semver
excempt APIs.

This was fixed in Diesel 1.0.1. We could probably just switch to 1.2.0,
but this is the more conservative change.
  • Loading branch information
sgrif committed Apr 8, 2018
1 parent a093b70 commit 3016e65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ before_install:
- nvm install 8

install:
- cargo install --force diesel_cli --vers 1.0.0 --no-default-features --features postgres && export PATH=$HOME/.cargo/bin:$PATH
- cargo install --force diesel_cli --vers 1.0.1 --no-default-features --features postgres && export PATH=$HOME/.cargo/bin:$PATH

before_script:
- diesel database setup
Expand Down

0 comments on commit 3016e65

Please sign in to comment.