Commit Graph
31 Commits
Author SHA1 Message Date
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