Carl Lerche and GitHub
e07a949665
Set up CI with Azure Pipelines ( #275 )
2019-07-30 10:29:00 -07:00
Taiki Endo and GitHub
ae7d884582
Update Bytes to Rust 2018 ( #274 )
2019-07-26 05:01:22 +09:00
Sean McArthur
dea868a4b0
Replace iovec with std::io::IoSlice
...
- Renames `bytes_vec` to `bytes_vectored` and `bytes_vec_mut` to
`bytes_vectored_mut`.
2019-06-11 11:58:43 -07:00
Sean McArthur
5759211ff8
Merge branch 'v0.4.x' into uplift-0.4-commits
2019-06-06 14:08:29 -07:00
Sean McArthur and Carl Lerche
60aceba2bb
set publish to false, update meta links ( #258 )
2019-06-06 13:58:22 -07:00
Carl Lerche and GitHub
4948b1053b
Bump version to v0.4.12 ( #250 )
2019-03-06 12:42:20 -08:00
Carl Lerche and GitHub
b3248c8807
Bump version to v0.4.11 ( #235 )
2018-11-17 14:33:25 -08:00
Carl Lerche and GitHub
456221d165
Bump version to v0.4.10 ( #227 )
2018-09-04 13:31:26 -07:00
Carl Lerche and GitHub
ad35fbef03
implement Buf and BufMut for Either ( #225 )
2018-09-03 10:23:00 -07:00
Carl Lerche and GitHub
ed244d3b54
Bump version to v0.4.9 ( #220 )
2018-07-22 19:30:41 -07:00
Carl Lerche
f4100841f8
Merge branch 'v0.4.x'
2018-07-12 20:11:51 -07:00
Ashley Mannix and Carl Lerche
7785cde587
add support for 128bit numbers ( #209 )
2018-06-18 17:37:51 -07:00
Carl Lerche
d98f49e67b
Merge branch 'v0.4.x'
2018-06-18 12:52:00 -07:00
Carl Lerche and GitHub
a6b9844296
Clarify license as MIT ( #216 )
...
The intent of the license was to dual license MIT & Apache 2.0. However,
the messaging was copy / pasted from rust-lang.
Clarify the license as exclusively MIT.
Fixes #215
2018-06-18 12:49:34 -07:00
Carl Lerche and GitHub
406b048ae6
Bump version to v0.4.8 ( #206 )
2018-05-25 16:50:42 -07:00
Carl Lerche
ef09e98fbc
Bump version to v0.4.7
2018-04-27 10:51:09 -07:00
Carl Lerche
355a662976
Bump version
2018-01-29 09:40:45 -08:00
Carl Lerche and GitHub
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 Gnatenko and Carl 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 Silva and Carl 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. Todd and Carl 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