fix(header): deprecate HeaderFormatter

This commit is contained in:
Sean McArthur
2017-01-25 23:17:59 -08:00
parent 53762cafc6
commit cca798a09e
4 changed files with 39 additions and 13 deletions

7
build.rs Normal file
View File

@@ -0,0 +1,7 @@
extern crate rustc_version as rustc;
fn main() {
if rustc::version_matches(">= 1.9") {
println!("cargo:rustc-cfg=has_deprecated");
}
}