diff --git a/macros/Cargo.toml b/macros/Cargo.toml index 19e87b9..45fe190 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -24,7 +24,7 @@ quote = "0.6.10" [build-dependencies] lalrpop = "0.17.0" -version_check = "0.1.5" +version_check = "0.9.1" [features] dodrio = [] diff --git a/macros/build.rs b/macros/build.rs index 78d2b19..e041522 100644 --- a/macros/build.rs +++ b/macros/build.rs @@ -4,7 +4,7 @@ extern crate version_check; fn main() { 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_show_location_of_runtime_parse_error"); } diff --git a/ui/Cargo.toml b/ui/Cargo.toml index 05c8ac9..e403a53 100644 --- a/ui/Cargo.toml +++ b/ui/Cargo.toml @@ -13,4 +13,4 @@ path = "main.rs" compiletest_rs = { version = "0.3", features = ["stable"] } typed-html = { path = "../typed-html" } typed-html-macros = { path = "../macros" } -version_check = "0.1.5" +version_check = "0.9.1" diff --git a/ui/main.rs b/ui/main.rs index 622d7b0..5b254cc 100644 --- a/ui/main.rs +++ b/ui/main.rs @@ -2,7 +2,7 @@ fn ui() { extern crate version_check; - if !version_check::is_nightly().unwrap_or(false) { + if !version_check::is_feature_flaggable().unwrap_or(false) { return; }