Renato Zannon
039e984f68
fix(rustup): Remove uses of the obsolete &a[] syntax
2015-02-21 15:05:50 -08:00
Peter Atashian
742081c8cf
fix(rustup): update FromStr
...
Signed-off-by: Peter Atashian <retep998@gmail.com >
2015-02-03 18:57:24 -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
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
cyderize
122e94c8a6
Update for latest rust
...
Tracks rust nightly.
7 tests fail -- still finding source
2015-01-10 18:37:10 +11: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
Pyfisch
76126fc6c7
feat(headers): adds Accept
...
Moved utils to shared/. Added quality_value.
2015-01-03 11:06:38 -08:00
Sean McArthur
451074b0a6
rust upgrade
2014-12-29 17:42:48 -08:00
Sean McArthur
79fc40cbce
into_string to to_string, from_str to parse
2014-12-23 13:09:58 -08:00
Sean McArthur
691c70a380
update str::from_utf8
2014-12-23 12:55:53 -08:00
Jonathan Reem
90925f05ee
(fix) Add semicolons at macro invocation sites.
2014-12-20 02:38:03 -08:00
Stanislav Panferov
6a8864cc27
Add more functions for client to work with cookies. Fixes #155 .
2014-12-03 00:33:25 +03:00
Sean McArthur
8071cfa8bf
feat(headers): header ergonomics
...
- Reexports all common::* as header::*
- Most headers implement Deref where it makes sense.
Closes #156
2014-11-29 13:55:50 -08:00
Sean McArthur
fcfb0505dd
update to newest cookie-rs
2014-11-10 12:33:29 -08:00
Sean McArthur
33210641f7
use Vec::with_capacity(raw.len()) for Cookies
2014-11-10 12:32:11 -08:00
Sean McArthur
5c224289ec
adjustments to Cookie and SetCookie
2014-11-10 12:32:11 -08:00
Stanislav Panferov
a3fc51611f
Add cookie_rs as default feature and implement conditional compilation.
2014-11-10 12:31:33 -08:00
Stanislav Panferov
20f156c592
Build SetCookie from CookieJar
2014-11-10 12:31:33 -08:00
Stanislav Panferov
a85cc476e1
Basic Cookie and Set-Cookie (only parsing) headers implementation.
2014-11-10 12:31:33 -08:00