Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-12-30 | Fix up CI, test no_std. | Andrew Gallant | |
2016-12-30 | Prepare for 1.0, switch to docs.rs. | Andrew Gallant | |
Fixes #57 | |||
2016-05-30 | Replacing std size_of with core size_of. | David Tulig | |
This allows byteorder to be used in a no_std context. | |||
2016-05-21 | Fixes undefined behavior reported in #47. | Andrew Gallant | |
Instead of casting pointers, we do a proper unaligned load using copy_nonoverlapping. Benchmarks appear unaffected on Linux x64. | |||
2016-05-02 | Enable usage in no_std contexts | Corey Richardson | |
2016-03-24 | Add NetworkEndian alias | Brian Campbell | |
Network byte order is defined by [RFC 1700][1] to be big-endian, and is referred to in several protocol specifications. This type is an alias of BigEndian. This alias can be used to make it more clear why you're using a particular byte order in code, if you are implementing a specification that refers to network byte order. [1]: https://tools.ietf.org/html/rfc1700 | |||
2016-03-11 | remove unnecessary write_all implementation | Luke Steensen | |
2016-03-11 | remove custom error type and read_full | Luke Steensen | |
Rust 1.6 stabilized `read_exact`, which gives us the same functionality without having to wrap `std::io::Error`. Removing the custom error type makes this a breaking change, and users will have to replace uses of `byteorder::Error` with `std::io::Error`. [breaking-change] | |||
2015-11-07 | Fix bug. | Andrew Gallant | |
2015-11-07 | Add write_{int,uint} to WriteBytesExt trait. | Andrew Gallant | |
2015-11-07 | Add write_{int,uint}. | Andrew Gallant | |
Since this adds a new required method on the `ByteOrder` trait, this is a breaking change. This should only break crates that have custom implementations of the `ByteOrder` trait. To fix it, add an implementation for `write_uint`. [breaking-change] | |||
2015-11-06 | Allow builds without std dependency | Łukasz Jan Niemier | |
2015-07-05 | Add #[inline] to allow for cross-crate inlining | Cesar Eduardo Barros | |
2015-05-20 | Move benchmarks to separate directory. | Andrew Gallant | |
So we can run tests on stable/beta. | |||
2015-05-20 | Change "Task failure occurs when" to "Panics when" | Geoffrey Thomas | |
The term "task failure" is obsolete (see RFC 221). | |||
2015-04-24 | Improvements after being poked by @joshtriplett. Thanks! | Andrew Gallant | |
1. The syntax <T as ByteOrder>::foo() is no longer needed. The docs/code has been updated to just use T::foo(). 2. An extraneous `copy_nonoverlapping` was removed in some cases. Benchmarks show no difference (probably due to llvm being smart to elide it in the first place). 3. A regression test was added to ensure that the `uint` case for little endian decoding remains correct even when decoding a smaller integer from a larger buffer. | |||
2015-04-22 | Fix weird ARM bug for @romanb. | Andrew Gallant | |
2015-04-02 | Update for stabilized io::Error | Anders Kaseorg | |
As per https://github.com/rust-lang/rust/pull/23919, the last argument was removed from Error::new, and the Clone, Eq, and PartialEq traits were removed from Error. Signed-off-by: Anders Kaseorg <andersk@mit.edu> | |||
2015-04-02 | Replace FromError with From | Anders Kaseorg | |
As per https://github.com/rust-lang/rust/pull/23879. Signed-off-by: Anders Kaseorg <andersk@mit.edu> | |||
2015-04-01 | rustup | Andrew Gallant | |
fixes #22 | |||
2015-03-25 | rustup. Unfortunately, revert the dependency on bswap because | Andrew Gallant | |
I need a working crate. Revert "Replaced read_num_bytes!/write_num_bytes! with rust-bswap decode/encode functions." This reverts commit 718f3a8e0981e88189fbd7c35f3ed92104c32bae. # Conflicts: # Cargo.toml # src/lib.rs | |||
2015-03-24 | Fix quickcheck ranges. | Andrew Gallant | |
2015-03-19 | Add NativeEndian type | Zachary Dremann | |
NativeEndian is simply a type alias to LittleEndian/BigEndian. | |||
2015-03-15 | rustup | Andrew Gallant | |
This removes support for `std::old_io` since it has been deprecated. | |||
2015-03-14 | Expand impl for unsized readers and writers | rkjnsn | |
2015-03-10 | rustup and 80 cols | Andrew Gallant | |
2015-03-08 | rustup | Andrew Gallant | |
2015-03-07 | Merge remote-tracking branch 'andydude/master' | Andrew Gallant | |
# Conflicts: # Cargo.toml | |||
2015-03-06 | Merged | Andrew Robbins | |
2015-03-06 | Retry on interrupt. | Steven Allen | |
This is what Read::read_to_end does. | |||
2015-02-28 | Remove Sized bound. Close #13 | blackbeam | |
2015-02-26 | Removed Sized requirement | Andrew Robbins | |
2015-02-26 | Fixed tests for strict assertions | Andrew Robbins | |
2015-02-26 | Merge branch 'rust-22776' of git://github.com/romanb/byteorder | Andrew Gallant | |
2015-02-26 | rustup | Andrew Gallant | |
2015-02-25 | Unintrusive workaround for rust-lang/rust#22776. | Roman S. Borschel | |
2015-02-25 | Replaced read_num_bytes!/write_num_bytes! with rust-bswap decode/encode ↵ | Andrew Robbins | |
functions. | |||
2015-02-23 | Implement `std::error::FromError<byteorder::Error>` for `std::io::Error` | blackbeam | |
2015-02-22 | Update crate documentation | Fenhl | |
Seems like this was missed. | |||
2015-02-21 | Adds an `Error` type for handling unexpected EOF. | Andrew Gallant | |
This changes the return type of the various `read` and `write` extension methods, so it's a [breaking-change] | |||
2015-02-20 | Hint at which trait is which. | Andrew Gallant | |
2015-02-20 | Support std::io. | Andrew Gallant | |
2015-02-20 | Add feature old_io to silence warnings | Cody P Schafer | |
2015-02-20 | mark ByteOrder trait with MarkerTrait | Cody P Schafer | |
2015-02-20 | The "us" suffix was changed to "usize" | Cody P Schafer | |
2015-02-19 | rustup | Andrew Gallant | |
2015-02-15 | Add `read_uint` and `read_int` | blackbeam | |
2015-02-05 | slight style tweak | Andrew Gallant | |
2015-02-05 | remove 'rand' feature | Andrew Gallant | |
2015-02-05 | Floating point, docs and more tests. | Andrew Gallant | |