From c73f1e37a132c9300157cb1011ec2a74444e8b2e Mon Sep 17 00:00:00 2001 From: Martin Geisler Date: Sat, 9 Nov 2019 09:00:11 +0100 Subject: [PATCH] cargo: be explicit about Rust 2018 compatible versions This should hopefully will make it clearer when the version requirements of dependencies can be bumped. --- Cargo.toml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 920cac4..663afcb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"