Bump version_check to 0.9.1.

This commit is contained in:
Bodil Stokke 2019-05-28 16:05:56 +01:00
parent 8c340453eb
commit e3e5cd3f09
4 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@ quote = "0.6.10"
[build-dependencies] [build-dependencies]
lalrpop = "0.17.0" lalrpop = "0.17.0"
version_check = "0.1.5" version_check = "0.9.1"
[features] [features]
dodrio = [] dodrio = []

View File

@ -4,7 +4,7 @@ extern crate version_check;
fn main() { fn main() {
lalrpop::process_root().unwrap(); lalrpop::process_root().unwrap();
if version_check::is_nightly().unwrap_or(false) { if version_check::is_feature_flaggable().unwrap_or(false) {
println!("cargo:rustc-cfg=can_join_spans"); println!("cargo:rustc-cfg=can_join_spans");
println!("cargo:rustc-cfg=can_show_location_of_runtime_parse_error"); println!("cargo:rustc-cfg=can_show_location_of_runtime_parse_error");
} }

View File

@ -13,4 +13,4 @@ path = "main.rs"
compiletest_rs = { version = "0.3", features = ["stable"] } compiletest_rs = { version = "0.3", features = ["stable"] }
typed-html = { path = "../typed-html" } typed-html = { path = "../typed-html" }
typed-html-macros = { path = "../macros" } typed-html-macros = { path = "../macros" }
version_check = "0.1.5" version_check = "0.9.1"

View File

@ -2,7 +2,7 @@
fn ui() { fn ui() {
extern crate version_check; extern crate version_check;
if !version_check::is_nightly().unwrap_or(false) { if !version_check::is_feature_flaggable().unwrap_or(false) {
return; return;
} }