Skip to content

Commit

Permalink
cargo: be explicit about Rust 2018 compatible versions
Browse files Browse the repository at this point in the history
This should hopefully will make it clearer when the version
requirements of dependencies can be bumped.
  • Loading branch information
mgeisler committed Nov 9, 2019
1 parent 558b00c commit c73f1e3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,16 @@ appveyor = { repository = "mgeisler/version-sync" }
codecov = { repository = "mgeisler/version-sync" }

[dependencies]
pulldown-cmark = { version = "0.4", default-features = false }
# This crate is compatible with Rust 2018, i.e., Rustc version 1.31.0.
# Version requirements of dependencies can be bumped as long as the
# dependencies compile with that compiler version. Some versions
# requirements below an upper limit to indicate when the dependency
# stops compiling with a Rust 2018 compatible compiler.
pulldown-cmark = { version = "0.4, <0.5", default-features = false }
semver-parser = "0.9"
syn = { version = "1.0", features = ["full"] }
proc-macro2 = { version = "1.0", features = ["span-locations"] }
toml = "0.5"
url = "1.0"
url = "1.0, <2.0"
itertools = "0.8"
regex = "1.1"

0 comments on commit c73f1e3

Please sign in to comment.