Add cookie_rs as default feature and implement conditional compilation.
This commit is contained in:
committed by
Sean McArthur
parent
20f156c592
commit
a3fc51611f
@@ -4,6 +4,10 @@ name = "hyper"
|
||||
version = "0.0.1"
|
||||
authors = ["Sean McArthur <sean.monstar@gmail.com>"]
|
||||
|
||||
[features]
|
||||
cookie_rs = ["cookie"]
|
||||
default = ["cookie_rs"]
|
||||
|
||||
[dependencies.url]
|
||||
git = "https://github.com/servo/rust-url"
|
||||
|
||||
@@ -32,4 +36,5 @@ git = "https://github.com/carllerche/curl-rust"
|
||||
git = "https://github.com/chris-morgan/rust-http"
|
||||
|
||||
[dependencies.cookie]
|
||||
git = "https://github.com/alexcrichton/cookie-rs"
|
||||
git = "https://github.com/alexcrichton/cookie-rs"
|
||||
optional = true
|
||||
|
||||
Reference in New Issue
Block a user