Sean McArthur
3af8b687d4
fix(rustup): switch to unstable features
2015-01-31 12:15:44 -08:00
Christian Stefanescu
f606b6039d
fix(rustup): update io import, Writer::write
...
Make it build with the latest rust-nightly (2015-01-27)
Renamed io import to old_io.
Renamed Writer::write to Writer::write_all
2015-01-28 11:58:45 -08:00
Sean McArthur
9e3c94d764
fix(rustup): update to newest fmt trait names and slice syntax
2015-01-23 14:17:19 -08:00
Sean McArthur
8215889eda
refactor(headers): remove marker from header_name method
...
It is no longer required, as we can use `<H as Header>::header_name()`.
BREAKING CHANGE: Implementations of Header will need to adjust the
header_name method. It no longer takes any arguments.
2015-01-22 15:20:38 -08:00
Sean McArthur
401ae4ec49
test(benches): fix warnings in mock_tcp
2015-01-20 10:33:31 -08:00
Sean McArthur
f7124bb8e2
rustup: sweeping fixes for all the changes in 1.0-alpha
...
- Some switches to u64 instead of usize
- For now, allow(unstable)
- use associated types for all the Network stuff
2015-01-10 21:29:27 -08:00
cyderize
cc7fa15b04
Continue updating for latest rust
...
Fixed tests, however cannot link bench tests for some reason
2015-01-10 19:15:46 +11:00
Jonathan Reem
4756544a18
Fix the benches for latest rust changes.
2015-01-06 01:24:00 +01:00
Jonathan Reem
f0fe878ec8
More Rust updates:
...
- Some stray deriving -> derive changes
- use::{mod} -> use::{self}
- fmt.write -> fmt.write_str
This does not catch the last case of fmt.write_str in the
Show impl of a Header Item. This will need to be changed
separately.
2015-01-05 22:50:10 +01:00
Jonathan Reem
7f3a33f903
#[deriving] -> #[derive]
2015-01-03 20:31:48 +01:00
Jonathan Reem
618f95e10a
(fix) Update examples and benchmarks to remove rust-http.
2014-12-20 03:07:05 -08:00
Sean McArthur
3ac277b1f0
fix(ssl): set_hostname on ssl connections
2014-12-11 20:27:37 -08:00
Sean McArthur
36429ab50c
refactor(net): NetworkConnecter no longer is for static usage
...
Instead, you can use an instance of a NetworkConnector with
`Request::with_connector`. This allows overloading of the NetworkStream
constructors, so that it is easy to modify how an `HttpStream` is
created, while still relying on the rest of the stream implementation.
BREAKING CHANGE
2014-12-04 17:39:38 -08:00
Jonathan Reem
368e46d3d9
Merge pull request #118 from hyperium/headers-clone
...
make Headers implement Clone
2014-11-21 05:16:38 -08:00
Jonathan Reem
7f2a01fca3
(fix) Fix benchmarks for rust API changes.
2014-11-19 15:13:30 -08:00
Sean McArthur
14d3209a72
make Headers implement Clone
2014-11-17 11:19:07 -08:00
Sean McArthur
3d7820d17e
update using ToSocketAddr
2014-11-06 17:55:32 -08:00
Sean McArthur
4dd1fc5642
update benches with trait splits
2014-10-31 16:00:34 -07:00
Jonathan Reem
60af7c4565
(fix) fail! to panic!
2014-10-30 01:08:46 -07:00
Sean McArthur
145a97377b
fix deprecated usage in bench
2014-09-27 14:10:35 -07:00
Sean McArthur
42e69e1f2e
ssl for the client
2014-09-15 21:12:19 -07:00
Sean McArthur
c40b5b0c53
Request::with_stream to use a different NetWorkStream in Client
...
added benches for mocking out the tcp process
2014-09-11 08:26:03 -07:00