Commit Graph
43 Commits
Author SHA1 Message Date
Carl Lerche 8d2508bfeb Tweak Bytes helpers 2016-10-14 20:42:16 -07:00
Carl Lerche d7306d949b Rename slice_buf.rs -> slice.rs 2016-10-14 20:07:42 -07:00
Carl Lerche 4ca7e0fabf Add IntoBuf trait 2016-09-25 22:40:39 -07:00
Carl Lerche b1dc10e907 Rename & refactor ByteBuf -> SliceBuf 2016-09-25 22:40:35 -07:00
Carl Lerche a7d38e29e5 Remove extra lifetime sigils 2016-09-23 14:51:48 -07:00
Carl Lerche 98e0d954b5 Reorganize crate 2016-09-23 12:05:32 -07:00
Carl Lerche d05bfb6346 Add more Buf helpers 2016-09-23 07:53:17 -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 fbebb19a02 Simplify allocation strategy for now
Not having `unsafe_no_drop_flag` caused some weirdness with optimizing buffers
and bytes. For now, remeove it.
2016-08-11 01:36:16 -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 b2efe63c70 Get rid of SliceBuf 2016-08-05 22:49:41 -07:00
Carl Lerche b6a424d892 Get rid of BufError 2016-08-05 21:54:29 -07:00
Carl Lerche 6529f6392a Remove traits mod 2016-08-05 21:42:07 -07:00
Carl Lerche dc25c7564e Refactor heap allocation 2016-07-20 13:27:41 +02:00
Carl Lerche 270d2e2844 Freshen up buf API 2016-06-08 14:48:49 -07:00
Carl Lerche 4ce8b1c2c8 Make sub mods public to help docgen 2015-09-25 09:43:58 -07:00
Carl Lerche ed087be853 Provide Take decorator that limits Buf size 2015-07-28 12:51:24 -07:00
Carl Lerche e39f2ba917 Remove unstable attribute 2015-04-22 08:25:53 -07:00
Carl Lerche c9d3427fd5 Move various ByteStr impls into separate files 2015-04-08 10:51:52 -07:00
Carl Lerche ac42766535 Group files as buf or byte str related 2015-04-07 23:40:00 -07:00
Carl Lerche c4f2e20eb1 Move heap allocator into a module 2015-04-07 21:06:38 -07:00
Carl Lerche 29e5dc72bb Get compiling on Rust 1.0 beta 2015-04-03 23:45:34 -07:00
Victor Berger 635274752b Update for new blanket impl rules. 2015-04-03 22:46:10 +02:00
Carl Lerche f0ce42d9c3 Track Rust nightlies 2015-04-01 20:09:20 -07:00
Carl Lerche 805b15e517 Track Rust nightlies 2015-03-28 16:56:53 -07:00
Carl Lerche 8f526231d8 Track Rust nightlies 2015-03-25 12:44:38 -07:00
Carl Lerche 83680dda27 Implement Source for std::io::Read 2015-03-24 22:10:29 -07:00
Carl Lerche bd2c643e17 Flesh out ToBytes, ByteStr::concat, and ByteStr eq 2015-03-23 23:22:21 -07:00
Carl Lerche a87dea0bd4 Track Rust master 2015-03-23 17:12:39 -07:00
Florian Hartwig 3f9b7f6d46 Fix errors and warnings with current rust nightly 2015-03-19 16:23:29 +01:00
Carl Lerche e806a59b4a Fix deprecation warnings 2015-03-09 22:30:41 -07:00
Florian HartwigandCarl Lerche 6f00c6117b Remove RingBufReader and RingBufWriter types 2015-03-09 22:24:42 -07:00
Carl Lerche 113bff22c6 Fix a couple of bugs 2015-03-09 22:21:10 -07:00
Carl Lerche 7444721d98 Implement Debug for Bytes 2015-02-17 12:40:15 -08:00
Carl Lerche e39ba25a95 Implement Read / Write for Buf types 2015-02-16 20:30:04 -08:00
Carl Lerche a3fea6b1e2 Add io feature 2015-02-14 19:47:31 -08:00
Valerii Hiora 1442ad219c Fixed error on Rust master - no drop flag requires feature 2015-02-13 09:50:53 +02:00
Carl Lerche 4ebffd0103 Add more documentation 2015-02-11 10:04:31 -08:00
Carl Lerche 974043bd13 Add read_byte and write_byte 2015-02-10 19:29:39 -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