Commit Graph
45 Commits
Author SHA1 Message Date
Carl Lerche 355a662976 Bump version 2018-01-29 09:40:45 -08:00
Carl LercheandGitHub 3d169f1f34 Update iovec dependency (#179)
Update to match master version of IoVec (0.2.0?), using
IoVec/IoVecMut instead of &IoVec and &mut IoVec.
2018-01-25 22:02:21 -08:00
Carl Lerche e5c4c6028d Bump version to v0.4.6 2018-01-08 09:11:42 -08:00
Carl Lerche c8c46d8513 Bump version to v0.4.5 2017-08-12 10:59:31 -07:00
Igor GnatenkoandCarl Lerche aab71ef82c reference Apache-2.0 in Cargo.toml (#134) 2017-06-26 10:33:17 -07:00
Carl Lerche 3240fb9cd9 Bump version to v0.4.4 2017-05-26 10:09:43 -07:00
Arthur SilvaandCarl Lerche b196559818 Add serde support behind serde feature (#96) 2017-05-02 10:51:52 -07:00
Carl Lerche e5c7ef3b86 Bump version to v0.4.3 2017-04-30 16:25:54 -07:00
Carl Lerche 1a6901cdcd Bump version to v0.4.2 2017-04-05 12:12:05 -07:00
Carl Lerche dcd6c184e4 Bump version to v0.4.1 2017-03-15 09:36:52 -07:00
Carl Lerche 02b6144644 Depend on released iovec crate 2017-03-15 09:23:10 -07:00
Carl Lerche bb9bf7ee3e Add vectored support to Buf and BufMut 2017-03-01 13:18:29 -08:00
Carl Lerche 9eb5bd50b8 Bump version to 0.4 2017-02-24 10:35:53 -08:00
Carl Lerche cf5a1bc4f1 Rewrite Bytes / BytesMut core implementation
The previous implementation didn't factor in a single `Bytes` handle
being stored in an `Arc`. This new implementation correctly impelments
both `Bytes` and `BytesMut` such that both are `Sync`.

The rewrite also increases the number of bytes that can be stored
inline.
2017-02-20 10:41:20 -08:00
Aaron J. ToddandCarl Lerche 70fed562eb Update byteorder to 1.0 2017-02-06 11:58:44 -08:00
Carl Lerche 57e84f267b Restructure and trim down the library
This commit is a significant overhaul of the library in an effort to head
towards a stable API. The rope implementation as well as a number of buffer
implementations have been removed from the library and will live at
https://github.com/carllerche/bytes-more while they incubate.

**Bytes / BytesMut**

`Bytes` is now an atomic ref counted byte slice. As it is contigous, it offers
a richer API than before.

`BytesMut` is a mutable variant. It is safe by ensuring that it is the only
handle to a given byte slice.

**AppendBuf -> ByteBuf**

`AppendBuf` has been replaced by `ByteBuf`. The API is not identical, but is
close enough to be considered a suitable replacement.

**Removed types**

The following types have been removed in favor of living in bytes-more

* RingBuf
* BlockBuf
* `Bytes` as a rope implementation
* ReadExt
* WriteExt
2016-11-02 14:23:45 -07:00
Carl Lerche 046c864543 Integrate with byteorder 2016-08-31 12:07:44 -07:00
Carl Lerche be23af6bb7 Remove stable heap for now 2016-08-11 01:38:15 -07:00
Carl Lerche 04e0ac75e2 Huge overhaul of bytes
* Get rid of `ByteStr` trait
* `Bytes` is not a concrete type
* Add `BlockBuf`
* Delete lots of cruft
* Performance work
2016-08-10 15:45:31 -07:00
Carl Lerche eec203c118 Use latest stable-heap git 2016-07-23 10:00:15 -07:00
Carl Lerche 1c2234f7fe Initial stab at a buffer pool 2016-07-20 22:47:41 +02:00
Carl Lerche dc25c7564e Refactor heap allocation 2016-07-20 13:27:41 +02:00
Carl Lerche b10b1cd2e2 Bump version to v0.4.0-dev 2016-07-19 14:10:07 +02:00
Carl Lerche 12dfc417ce Bump version to v0.3.0 2015-12-03 20:40:52 -08:00
Carl Lerche d20661676f Bump version to v0.2.10 2015-07-08 13:07:14 -07:00
Carl Lerche 64f8a0c6f6 Bump version to v0.2.9 2015-05-12 22:26:53 -07:00
Carl Lerche a91ee81bda Bump version to v0.2.8 2015-04-22 09:27:57 -07:00
Carl Lerche e62bd07b77 Bump version to v0.2.7 2015-04-12 15:29:37 -07:00
Carl Lerche 1ead637f69 Bump version to v0.2.6 2015-04-07 16:15:55 -07:00
Carl Lerche 8af74ae40e Bump version to v0.2.5 2015-04-07 14:53:12 -07:00
Carl Lerche fb67281e72 Bump version to v0.2.4 2015-04-01 20:09:45 -07:00
Carl Lerche f0ce42d9c3 Track Rust nightlies 2015-04-01 20:09:20 -07:00
Carl Lerche 7a12abb6e6 Bump version to v0.2.3 2015-03-30 15:15:03 -07:00
Carl Lerche 74a59c66b4 Bump version to v0.2.2 2015-03-28 17:00:59 -07:00
Carl Lerche 54f98821f3 Bump version to 0.2.1 2015-03-25 12:55:36 -07:00
Carl Lerche 53624038ad Bump version to 0.2.0 2015-03-24 22:28:09 -07:00
Carl Lerche a87dea0bd4 Track Rust master 2015-03-23 17:12:39 -07:00
Carl Lerche b7c7ff5ab6 Bump version to 0.1.3 2015-02-17 15:04:04 -08:00
Carl Lerche 1f1aa36547 Bump version to 0.1.2 2015-02-15 14:54:38 -08:00
Carl Lerche d7a9e9ffc9 Temporarily remove iobuf from deps 2015-02-14 19:46:18 -08:00
Carl Lerche 66c00aaf72 Bump version 2015-02-10 19:35:37 -08:00
Carl Lerche 053b97a6e7 Update Cargo.toml 2015-02-09 23:36:43 -08:00
Carl Lerche 17637665e9 Add a quick benchmark 2015-02-09 22:20:55 -08:00
Carl Lerche 3c4ebb85f0 WIP - Implement abstractions for working with bytes 2015-02-09 21:24:53 -08:00
Carl Lerche 52aeab40ee Initial commit 2015-01-30 00:04:33 -08:00