Sean McArthur
cf7cc50ad0
chore(cargo): set an include directive
2017-03-01 13:35:30 -08:00
Vincent Prouillet
499c0d1772
chore(dependencies): update base64 to 0.4
2017-02-13 09:40:19 -08:00
Sean McArthur
cca798a09e
fix(header): deprecate HeaderFormatter
2017-01-30 12:20:30 -08:00
Andy Moran
529ad564c3
refactor(header): Change to base64 serialize
...
Replace rustc-serialize with base64 crate.
Closes #1028
2017-01-23 23:09:14 -08:00
Jake Goulding
ab254c9103
chore(cargo): add categories to Cargo.toml
2017-01-20 12:04:57 -08:00
Sean McArthur
637b170f52
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.
2017-01-16 10:50:35 -08:00
Sean McArthur
ff84959f83
chore(lib): bump version to 0.11.0-a
2017-01-16 10:50:35 -08:00
Sean McArthur
2d2d5574a6
feat(lib): redesign API to use Futures and Tokio
...
There are many changes involved with this, but let's just talk about
user-facing changes.
- Creating a `Client` and `Server` now needs a Tokio `Core` event loop
to attach to.
- `Request` and `Response` both no longer implement the
`std::io::{Read,Write}` traits, but instead represent their bodies as a
`futures::Stream` of items, where each item is a `Chunk`.
- The `Client.request` method now takes a `Request`, instead of being
used as a builder, and returns a `Future` that resolves to `Response`.
- The `Handler` trait for servers is no more, and instead the Tokio
`Service` trait is used. This allows interoperability with generic
middleware.
BREAKING CHANGE: A big sweeping set of breaking changes.
2017-01-16 10:44:27 -08:00
Sean McArthur
02f01765ee
fix(tests): update new Host header tests to use Raw
2016-11-16 12:57:09 -08:00
YetAnotherMinion
c8b48c7efd
refactor(version): bump version of num_cpus to 1.0
2016-08-27 14:03:24 -04:00
Sean McArthur
0ce83dfbb3
Merge pull request #878 from nox/serde
...
Update serde to 0.8
2016-08-07 10:29:22 -07:00
Anthony Ramine
dc03ca188a
chore(version): Update cookie to 0.3
2016-08-02 09:54:40 +02:00
Anthony Ramine
de921d08fe
chore(version): Update serde to 0.8
2016-08-02 09:39:10 +02:00
Sean McArthur
c81cd4b0d5
docs(guide): copy over html files, not markdown files
2016-07-15 14:41:04 -07:00
Sean McArthur
3e66377979
refactor(header): internalize traitobject and typeable
2016-07-14 17:27:59 -07:00
Sean McArthur
d35992d019
feat(lib): switch to non-blocking (asynchronous) IO
...
BREAKING CHANGE: This breaks a lot of the Client and Server APIs.
Check the documentation for how Handlers can be used for asynchronous
events.
2016-05-16 09:51:18 -07:00
Sean McArthur
1ec56fe6b6
v0.9.4
2016-05-09 15:09:26 -07:00
Sean McArthur
01160abd92
feat(ssl): enable hostname verification by default for OpenSSL
...
Additionally disables SSLv2 and SSLv3, as those are universally considered
unsafe.
Closes #472
2016-05-08 10:04:37 -07:00
Sean McArthur
eab289b7d2
v0.9.3
2016-05-05 14:30:34 -07:00
Sean McArthur
1d936fee90
v0.9.2
2016-05-04 11:16:13 -07:00
Sean McArthur
4828437551
v0.9.1
2016-04-21 17:10:51 -07:00
Sean McArthur
b783ddf455
fix(Cargo.toml): update documentation link
2016-04-21 17:10:22 -07:00
Sean McArthur
eda5ca5b7f
v0.9.0
2016-04-21 16:17:25 -07:00
Simon Sapin
8fa7a98968
refactor(hyper): Update to rust-url 1.0
...
BREAKING CHANGE: The re-exported Url type has breaking changes.
2016-04-21 16:14:08 -07:00
Steven Fackler
f37315b270
feat(net): Add Ssl impls for security-framework
...
Cloese #755
2016-04-16 16:20:52 -07:00
Sean McArthur
caa796f98d
v0.8.1
2016-04-13 15:12:40 -07:00
Sean McArthur
19c9a92595
v0.8.0
2016-03-14 09:57:05 -07:00
Sean McArthur
146df53caf
chore(dependencies): update mime to 0.2
...
BREAKING CHANGE: mime 0.2 depends on serde 0.7, so any instances of
using older versions of serde will need to upgrade.
2016-03-09 13:27:52 -08:00
debris
33d5da2136
refactor(headers): updated serde to version 0.7
2016-02-27 15:04:30 +01:00
Sean McArthur
e8245aa7fb
v0.7.2
2016-01-04 15:24:31 -08:00
Sean McArthur
7d4db58c8c
v0.7.1
2015-12-19 14:02:50 -08:00
Sean McArthur
4a05bee9ab
fix(cargo): remove * dependendies for serde and env_logger
2015-12-19 14:00:12 -08:00
Sean McArthur
3f1b13c72d
v0.7.0
2015-11-24 12:13:05 -08:00
Sean McArthur
53a2233912
Merge pull request #696 from hyperium/promote-timeouts
...
feat(all): add socket timeouts
2015-11-24 12:01:29 -08:00
Sean McArthur
fec6e3e873
feat(all): add socket timeouts
...
Methods added to `Client` and `Server` to control read and write
timeouts of the underlying socket.
Keep-Alive is re-enabled by default on the server, with a default
timeout of 5 seconds.
BREAKING CHANGE: This adds 2 required methods to the `NetworkStream`
trait, `set_read_timeout` and `set_write_timeout`. Any local
implementations will need to add them.
2015-11-24 10:58:58 -08:00
Sean McArthur
c747f99d21
chore(dependencies): update language tags to 0.2
...
BREAKING CHANGE: LanguageTags api is changed.
2015-11-24 10:37:09 -08:00
Jonathan Reem
b4a9227204
Merge pull request #685 from untitaker/url-update
...
chore(cargo): Update url crate to 0.5
2015-11-22 16:44:10 -08:00
Markus Unterwaditzer
78752c0c55
chore(cargo): Update url crate to 0.5
2015-11-22 19:32:09 +01:00
Sean McArthur
81d42c964e
chore(dependencies): update openssl to 0.7 and cookie to 0.2
...
Closes #686
2015-11-20 11:12:56 -08:00
Sean McArthur
2bb906ad7f
v0.6.16
2015-11-16 10:45:33 -08:00
Sean McArthur
d16ef6d9d4
v0.6.15
2015-10-20 17:38:58 -07:00
Sean McArthur
79a99eec8c
chore(cargo): update httparse to 1.0
2015-09-28 13:04:06 -07:00
Sean McArthur
1fbed4b026
v0.6.14
2015-09-21 14:22:05 -07:00
Sean McArthur
3d05a90eef
v0.6.13
2015-09-11 13:40:38 -07:00
Sean McArthur
b833f67780
v0.6.12
2015-09-01 18:12:18 -07:00
Sean McArthur
5e0b952a37
v0.6.11
2015-08-27 15:50:52 -07:00
Sean McArthur
295e8e4708
v0.6.10
2015-08-19 14:57:00 -07:00
Sean McArthur
da2d29309a
v0.6.9
2015-08-13 14:59:17 -07:00
Sean McArthur
0aaa351fe2
chore(cargo): update unicase version to 1.0
2015-08-13 14:58:07 -07:00
Sean McArthur
884fb1bbd9
v0.6.8
2015-08-03 12:07:41 -07:00