-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(header): deprecate HeaderFormatter
- Loading branch information
1 parent
53762ca
commit cca798a
Showing
4 changed files
with
39 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ license = "MIT" | |
authors = ["Sean McArthur <[email protected]>"] | ||
keywords = ["http", "hyper", "hyperium"] | ||
categories = ["web-programming::http-client", "web-programming::http-server"] | ||
build = "build.rs" | ||
|
||
[dependencies] | ||
base64 = "0.3.0" | ||
|
@@ -32,6 +33,9 @@ num_cpus = "1.0" | |
pretty_env_logger = "0.1" | ||
spmc = "0.2" | ||
|
||
[build-dependencies] | ||
rustc_version = "0.1" | ||
|
||
[features] | ||
default = [] | ||
nightly = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
extern crate rustc_version as rustc; | ||
|
||
fn main() { | ||
if rustc::version_matches(">= 1.9") { | ||
println!("cargo:rustc-cfg=has_deprecated"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters