Commit Graph

  • f686ca6964 Add advance on Bytes and BytesMut (#166) Carl Lerche 2017-12-13 13:30:03 -06:00
  • 149922d7cf Get test passing again Carl Lerche 2017-10-21 15:47:45 -07:00
  • 03d501b18d small fixups in bytes.rs (#145) Dan Burkert 2017-08-18 08:33:28 -07:00
  • 34540be54c Add FromIterator impl (#148) Jef 2017-08-17 19:32:59 +02:00
  • cfca1c04fa print space normally in Debug for Bytes (#155) Sean McArthur 2017-08-17 10:28:06 -07:00
  • c8c46d8513 Bump version to v0.4.5 Carl Lerche 2017-08-12 10:59:31 -07:00
  • 7839100389 Inline as_ref functions on Bytes and BytesMut (#154) Alex Crichton 2017-08-06 12:12:26 +08:00
  • 6750a26fd0 impl AsMut<[u8]> for BytesMut (#143) (#144) Paul Collier 2017-07-02 17:21:30 -04:00
  • b9ccd2a866 Optimize Bytes::slice for short slices (#136) Stepan Koltsov 2017-07-02 00:10:09 +03:00
  • 544997958f Minor doc spelling and consistency fixes (#142) Georg Brandl 2017-07-01 23:03:23 +02:00
  • d315d00a3b Bytes::with_capacity (#137) Stepan Koltsov 2017-07-01 06:33:35 +03:00
  • fb2d8cf1c0 Add convenience PartialEq for BytesMut and Bytes (#141) Clint Byrum 2017-06-30 20:33:01 -07:00
  • 7ed78cef47 Fix index-oob panic in Take::bytes (#138) Dan Burkert 2017-06-27 11:23:29 -07:00
  • aab71ef82c reference Apache-2.0 in Cargo.toml (#134) Igor Gnatenko 2017-06-26 19:33:17 +02:00
  • 7e8373da8d Faster From<[u8]> for BytesMut, remove panic in fmt::Write (#133) Sean McArthur 2017-06-15 10:55:02 -07:00
  • 3240fb9cd9 Bump version to v0.4.4 Carl Lerche 2017-05-26 10:09:43 -07:00
  • 9ae51c9f0c Implement truncate, clear for Bytes (#128) Stepan Koltsov 2017-05-26 19:29:31 +03:00
  • 2b0602e756 impl ExactSizeIterator for Iter<T: Buf> (#127) brianwp 2017-05-24 08:13:19 -07:00
  • 3f5890be70 Optimize Bytes::slice(n, n) (#123) Stepan Koltsov 2017-05-22 23:15:08 +03:00
  • 70ee87ea29 Fix benchmarks Carl Lerche 2017-05-22 12:02:51 -07:00
  • edf1af958a Minor doc fixes (#124) Stepan Koltsov 2017-05-22 21:30:34 +03:00
  • 7110d57b2f BytesMut::reserve should not overallocate (#117) Stepan Koltsov 2017-05-15 21:28:12 +03:00
  • 07db74b009 Bytes::extend_from_slice (#120) Stepan Koltsov 2017-05-15 21:27:45 +03:00
  • 6af66c4f21 fix a docs typo (#115) Jack O'Connor 2017-05-02 15:35:06 -04:00
  • fa44c7e355 BytesMut::extend_from_slice shortcut (#112) Stepan Koltsov 2017-05-02 21:28:12 +03:00
  • 2c0cb1b6b8 BytesMut::new constructor (#114) Stepan Koltsov 2017-05-02 21:23:20 +03:00
  • b196559818 Add serde support behind serde feature (#96) Arthur Silva 2017-05-02 19:51:52 +02:00
  • 37f6cabd96 implement Default for Bytes and BytesMut (#110) Sean McArthur 2017-05-01 12:53:27 -07:00
  • e5c7ef3b86 Bump version to v0.4.3 Carl Lerche 2017-04-30 16:25:54 -07:00
  • 30bd7c1f21 Vec::advance_mut can advance past the end of the buffer (#108) Dan Burkert 2017-04-30 16:14:54 -07:00
  • 923d927bd1 Bump minimum rust version to 1.15 (#107) Arthur Silva 2017-04-26 20:35:10 +02:00
  • 0b4185c716 Fix typos in src/bytes.rs (#106) Phil Ruffwind 2017-04-24 15:47:24 -04:00
  • e158160418 Remove calls to deprecated drain* methods from docs (#102) jaystrictor 2017-04-14 18:06:58 +02:00
  • 4645f6ec4b implement put_u8 for BytesMut (#101) Sean McArthur 2017-04-06 08:59:13 -07:00
  • 1a6901cdcd Bump version to v0.4.2 Carl Lerche 2017-04-05 12:12:05 -07:00
  • 9aa24ebea1 Bytes: only the vec repr is not shared (#100) Carl Lerche 2017-03-30 14:49:30 -07:00
  • 627864187c Bytes::split_{off,to} should panic if at > len (#91) Stepan Koltsov 2017-03-28 22:38:48 +03:00
  • b78bb3baaa Handle corner cases of Bytes::split_{off,to} (#87) Stepan Koltsov 2017-03-28 06:45:22 +03:00
  • 6c6c55d8e1 Flag Deref methods as #[inline] (#93) Alex Crichton 2017-03-24 09:39:57 -05:00
  • 613d4bd5d5 Reimplement fmt::Debug for Bytes and BytesMut (#84) Stepan Koltsov 2017-03-21 07:09:44 +03:00
  • dc9c8e304e Misc CI fixes (#89) Carl Lerche 2017-03-20 10:12:23 -07:00
  • bed128b2c0 Clarify when BufMut::bytes_mut can return &[] Carl Lerche 2017-03-19 13:58:09 -07:00
  • 5a265cc8eb Add inline attributes to Vec's MutBuf methods (#80) Dan Burkert 2017-03-19 13:54:09 -07:00
  • 4fe4e9429a Clarify BufMut::advance_mut docs (#78) Dan Burkert 2017-03-19 13:53:33 -07:00
  • 9a4018e757 Fix tests on nightly Carl Lerche 2017-03-19 09:08:37 -07:00
  • 99fba239db Tweak docs (#76) Carl Lerche 2017-03-16 12:11:10 -07:00
  • dcd6c184e4 Bump version to v0.4.1 Carl Lerche 2017-03-15 09:36:52 -07:00
  • 9e6d65a1d6 Add a changelog Carl Lerche 2017-03-15 09:36:11 -07:00
  • 02b6144644 Depend on released iovec crate Carl Lerche 2017-03-15 09:23:10 -07:00
  • 2e319b51be Impl Extend for BytesMut Carl Lerche 2017-03-07 11:41:53 -08:00
  • 06b94c55b0 Remove buf::Source in favor of buf::IntoBuf Carl Lerche 2017-03-07 11:28:34 -08:00
  • d70f575afd Provide Debug impls for all types Carl Lerche 2017-03-07 10:20:58 -08:00
  • 933b8b26f6 BytesMut::reserve should avoid small allocations Carl Lerche 2017-03-02 14:40:05 -08:00
  • b44fc31463 Move Inner constructions to struct fns Carl Lerche 2017-03-02 13:46:14 -08:00
  • d0142aa6da Clarify API edge cases Carl Lerche 2017-03-01 16:49:10 -08:00
  • 94396162b2 Implement chain combinator for Buf Carl Lerche 2017-02-28 18:33:34 -08:00
  • bb9bf7ee3e Add vectored support to Buf and BufMut Carl Lerche 2017-02-28 11:15:35 -08:00
  • 4462056e26 Move stray impls into appropriate file Carl Lerche 2017-03-01 13:15:11 -08:00
  • 30c0e4e9c8 Merge remote-tracking branch 'alexcrichton/more-object-safe' Carl Lerche 2017-03-01 10:44:22 -08:00
  • d19c929018 Expand object-safe impls slightly Alex Crichton 2017-03-01 10:37:30 -08:00
  • 8fec8a92ad Implement iterator adapter for Buf Carl Lerche 2017-03-01 09:28:07 -08:00
  • 4f8c565111 Implement FromBuf and Buf::collect Carl Lerche 2017-03-01 09:11:44 -08:00
  • fd8f716e68 Rename a test file to match lib naming Carl Lerche 2017-02-28 19:10:30 -08:00
  • 22a5fb8d9b Rename some functions on Bytes Carl Lerche 2017-02-28 12:10:41 -08:00
  • e842296c4d Implement IntoBuf for T: Buf Carl Lerche 2017-02-28 19:02:45 -08:00
  • f7f8d6c9ef Don't re-export everything from buf module Carl Lerche 2017-02-28 17:09:43 -08:00
  • 87160b6232 Add doc(html_root_url) Alex Crichton 2017-02-28 14:39:18 -08:00
  • 4466b75ae4 Split buf.rs into separate files Carl Lerche 2017-02-28 15:21:20 -08:00
  • 9eb5bd50b8 Bump version to 0.4 Carl Lerche 2017-02-24 10:35:53 -08:00
  • b46d3fd32e Tweak growth algorithm in BytesMut::reserve Carl Lerche 2017-02-20 21:07:25 -08:00
  • 8c11456185 Combine reserve and try_reclaim Carl Lerche 2017-02-20 19:31:02 -08:00
  • 128c56ddc4 Fix link to documentation Carl Lerche 2017-02-20 14:33:35 -08:00
  • 5c6eadfcb0 More docs and polish Carl Lerche 2017-02-20 14:31:26 -08:00
  • c6fe5a1e4f Add some missing Bytes impls and fns Carl Lerche 2017-02-20 14:03:37 -08:00
  • 99aafb0a22 Fix uploading master docs Carl Lerche 2017-02-20 12:43:15 -08:00
  • cf5a1bc4f1 Rewrite Bytes / BytesMut core implementation Carl Lerche 2017-02-17 22:54:44 -08:00
  • 0360f191f8 Finish up docs Carl Lerche 2017-02-17 12:23:09 -08:00
  • aa06b6dd6a More docs Carl Lerche 2017-02-17 11:37:19 -08:00
  • 5048eec143 Docs & polish for Buf Carl Lerche 2017-02-16 22:15:17 -08:00
  • 268226051d Implement Hash and Borrow for Bytes / BytesMut Carl Lerche 2017-02-16 16:52:56 -08:00
  • 646624c130 Polish API surface Carl Lerche 2017-02-16 11:15:46 -08:00
  • bababa8797 Remove Take/TakeMut Carl Lerche 2017-02-16 10:36:00 -08:00
  • 0e0066e8a0 Write docs and remove unecessary fns and types Carl Lerche 2017-02-15 14:48:49 -08:00
  • 53d1c788e0 Start writing docs for bytes Carl Lerche 2017-02-15 14:42:18 -08:00
  • 4c6ebeba87 Provide two versions of drain_to and split_off Carl Lerche 2017-02-15 12:40:24 -08:00
  • 8da9e81469 Tweak CI settings Carl Lerche 2017-02-15 09:45:30 -08:00
  • 36c9a8c287 Support static refs and inline short byte slices Carl Lerche 2017-02-10 14:41:33 -08:00
  • 44d40d34d7 Cleanup Bytes Carl Lerche 2017-02-10 12:04:32 -08:00
  • 70fed562eb Update byteorder to 1.0 Aaron J. Todd 2017-01-28 13:04:27 -05:00
  • accc8a460d Add explicit inlines Carl Lerche 2017-02-03 11:22:16 -08:00
  • 8b01298806 Support older Rust versions Carl Lerche 2017-01-26 14:54:21 -08:00
  • a8320da0f8 Lazily allocate the Arc Carl Lerche 2017-01-26 12:56:38 -08:00
  • 93c08064bb Fix BytesMut refcounting Carl Lerche 2016-11-22 10:31:17 -08:00
  • 2b796d40e9 added clone to ByteBuf and BytesMut along with simple clone test Rick Richardson 2016-11-21 15:43:59 -08:00
  • 12d0804f17 Fix building docs Carl Lerche 2016-11-18 10:14:03 -08:00
  • 4886b44516 Add more conversion impls Carl Lerche 2016-11-02 22:27:00 -07:00
  • a367a723d8 Impl IntoBuf for Bytes and BytesMut Carl Lerche 2016-11-02 14:31:57 -07:00
  • 11fe277c0d Remove default for SliceBuf<T> Carl Lerche 2016-11-02 14:31:44 -07:00
  • 57e84f267b Restructure and trim down the library Carl Lerche 2016-11-01 08:14:31 -07:00
  • d717fde5ca Fix remaining Carl Lerche 2016-10-25 20:09:54 -07:00