Sean McArthur
5c2de29a81
chore(stability): remove core feature gate
2015-04-02 17:32:04 -07:00
Sean McArthur
ccd4814e69
chore(stability): remove into_cow feature gate
2015-04-02 13:01:49 -07:00
Florian Hartwig
3e456f00f9
fix(rustup): rustc 1.0.0-nightly (123a754cb 2015-03-24)
...
* fix `extern crate` declaration for rustc-serialize
* enable `into_cow` feature
* replace as_slice() calls by as_ref and enable `convert` feature
* use `core` feature in doc tests
2015-03-25 20:55:42 +01:00
Pyfisch
7397853148
feat(header): Support arbitary status codes
...
As discussed in #177 hyper must support status code outside the
standard range for compatibility reasons.
BREAKING CHANGE: This removes unregistered status codes from the enum. Use
`FromPrimitive` methods to create them now. StatusCode and StatusClass can no
longer be casted to `u16`, use `ToPrimitive` methods now.
For example `status.to_u16().unwrap()` to get the status code number.
2015-02-13 18:59:14 -08:00
Sean McArthur
2d55a22e73
feat(status): add is_<status_class>() methods to StatusCodes
2015-01-27 18:07:23 -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
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
d9c657da73
Make status::StatusCode_0 pass
...
Needed to allow unstable.
Also, why do we depend on typeable? Removed from Cargo.toml
2015-01-10 19:36:51 +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
Sean McArthur
0bba6e80ee
rust upgrade
2014-12-12 12:24:54 -08:00
Sean McArthur
fec030a21e
rust upgrade
2014-12-02 13:12:04 -08:00
Sean McArthur
97c8276134
adjust doc comment about Unsigned
2014-11-20 16:25:33 -08:00
Sean McArthur
626fe9d91e
rustup: fmt changes
2014-11-20 10:28:09 -08:00
Jakob Gillich
35b7ec132e
refactor(status): replace glob with namespaced variants
2014-11-19 22:07:04 +01:00
Kyle Dewey
d7e8b8b117
Now using use along with enums, as per https://github.com/rust-lang/rust/pull/18973 .
2014-11-19 22:03:41 +01:00
Michael Hart
1acf567061
Update hash_map and fmt usages
...
Depends on https://github.com/carllerche/curl-rust/pull/24 and
https://github.com/chris-morgan/rust-http/pull/167
2014-11-04 12:34:35 -05:00
Sean McArthur
c905111f8c
implementation
2014-09-01 18:39:24 -07:00