refactor(header): change Cookie and SetCookie to use String
This removes the cookie crate, since it has an optional dependency on openssl, which can cause massive breakage if toggled on. Instead, the `Cookie` and `SetCookie` headers now just use a `String`. Anyone can create any typed header, so it is easy to plug in different implementations. BREAKING CHANGE: The `Cookie` and `SetCookie` headers no longer use the cookie crate. New headers can be written for any header, or the ones provided in hyper can be accessed as strings.
This commit is contained in:
@@ -26,10 +26,6 @@ tokio-service = "0.1"
|
||||
unicase = "1.0"
|
||||
url = "1.0"
|
||||
|
||||
[dependencies.cookie]
|
||||
version = "0.3"
|
||||
default-features = false
|
||||
|
||||
[dev-dependencies]
|
||||
num_cpus = "1.0"
|
||||
pretty_env_logger = "0.1"
|
||||
|
||||
Reference in New Issue
Block a user