Commit Graph
95 Commits
Author SHA1 Message Date
Taiki Endo 09214ba51b Update CI config (#650) 2024-01-08 01:11:02 +09:00
Taiki Endo fbc64bcc67 Update loom to 0.7 (#651) 2024-01-08 01:10:48 +09:00
Alice Ryhl 74e6e200fd chore: prepare bytes v1.5.0 (#627) 2023-09-07 10:52:15 +02:00
Alice Ryhl 21ed332836 chore: prepare bytes v1.4.0 (#593) 2023-01-31 20:38:32 +01:00
Sean Lynch 9b227220df chore: prepare bytes v1.3.0 (#579) 2022-11-21 08:06:49 +01:00
Alice Ryhl b7249149a9 chore: prepare bytes v1.2.1 (#561) 2022-07-30 11:35:26 +02:00
Alice Ryhl 38fd42acba chore: prepare bytes v1.2.0 (#556) 2022-07-19 13:39:58 +02:00
Alice Ryhl ebc61e5af1 chore: prepare bytes v1.1.0 (#509) 2021-08-25 17:48:41 +02:00
Taiki Endo f34dc5c3f9 Remove doc URLs (#498) 2021-08-07 02:06:57 +09:00
Taiki Endo b89247c713 Update loom to 0.5 (#494) 2021-04-13 23:58:18 +09:00
Alice Ryhl e4182808df Make bytes_mut -> chunk_mut rename more easily discoverable (#471) 2021-01-23 15:22:43 +09:00
Alice Ryhl 7b18c1c076 prepare 1.0.1 release (#460) 2021-01-11 18:07:46 +01:00
Carl Lerche 064ad9a1a0 chore: prepare v1.0.0 release (#453) 2020-12-22 15:30:20 -08:00
Taiki Endo ed1d194660 deps: update loom to 0.4 (#452) 2020-12-22 10:30:50 +01:00
Carl Lerche bd78f19393 chore: prepare for v1.0.0 work (#448) 2020-12-12 08:25:14 -08:00
Carl Lerche b7f75829ab prepare v0.6.0 release (#440) 2020-10-20 16:08:25 -07:00
Carl Lerche 422048eb24 prepare for 0.6 work (#428) 2020-10-16 11:49:27 -07:00
Sean McArthur 6fdb7391ce v0.5.6 2020-07-13 17:58:36 -07:00
Sean McArthur 025bec2954 Move loom to dev-dependencies (#416) 2020-07-13 16:55:47 -07:00
Sean McArthur 008d3e508e v0.5.5 2020-06-18 14:30:11 -07:00
Taiki Endo 64fe7e10ab Migrate CI to GitHub Actions (#392) 2020-05-25 01:41:45 +09:00
Sean McArthur 5e93fa4c6b Update to loom v0.3 (#381) 2020-05-22 11:23:22 +09:00
Cheng XU 9f40abc12a Allow using serde feature in no_std environment (#385)
When `serde` is used, it would enable its default feature `std`.
This of course breaks no_std build.

Fix this by disabling serde's default features. This should work for
both serde + std and serde + no_std case.
2020-05-22 11:19:46 +09:00
Sean McArthur fe6e673864 v0.5.4 2020-01-23 10:41:50 -08:00
Sean McArthur 87b75cce16 Disable loom on Windows (#366) 2020-01-23 10:10:15 -08:00
Sean McArthur 8ae3bb2104 v0.5.3 2019-12-12 12:00:21 -08:00
Sean McArthur 98951ba26c v0.5.2 2019-11-27 12:59:28 -08:00
Steven Fackler 3cf91283f8 chore: prepare v0.5.1 release (#322) 2019-11-26 14:15:57 -08:00
Carl Lerche b7c1f2a135 prepare v0.5.0 release (#319) 2019-11-25 11:19:30 -08:00
Carl Lerche b3f86d8654 remove either feature (#315)
remove either feature
2019-11-20 12:59:44 -08:00
Sean McArthur 43ac8e5494 Refactor Bytes to use an internal vtable (#298)
Bytes is a useful tool for managing multiple slices into the same region
of memory, and the other things it used to have been removed to reduce
complexity. The exact strategy for managing the multiple references is
no longer hard-coded, but instead backing by a customizable vtable.

- Removed ability to mutate the underlying memory from the `Bytes` type.
- Removed the "inline" (SBO) mechanism in `Bytes`. The reduces a large
  amount of complexity, and improves performance when accessing the
  slice of bytes, since a branch is no longer needed to check if the
  data is inline.
- Removed `Bytes` knowledge of `BytesMut` (`BytesMut` may grow that
  knowledge back at a future point.)
2019-10-16 09:53:36 -07:00
Chris Beck c17e40115f Add no_std support, by adding an std feature (#281)
To make the library work as `no_std` we add an `std` feature which
is on by default. When it is off, we compile as `no_std` and make
parts of the API that require `std::io` conditional on the `std`
feature.
2019-09-05 14:00:23 -07:00
Douman 234d814122 Remove byteorder dependency (#280) 2019-08-11 10:16:03 -07:00
Taiki Endo b5d4f87e7e Remove i128 feature (#276) 2019-07-30 11:19:46 -07:00
Carl Lerche e07a949665 Set up CI with Azure Pipelines (#275) 2019-07-30 10:29:00 -07:00
Taiki Endo 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 60aceba2bb set publish to false, update meta links (#258) 2019-06-06 13:58:22 -07:00
Carl Lerche 4948b1053b Bump version to v0.4.12 (#250) 2019-03-06 12:42:20 -08:00
Carl Lerche b3248c8807 Bump version to v0.4.11 (#235) 2018-11-17 14:33:25 -08:00
Carl Lerche 456221d165 Bump version to v0.4.10 (#227) 2018-09-04 13:31:26 -07:00
Carl Lerche ad35fbef03 implement Buf and BufMut for Either (#225) 2018-09-03 10:23:00 -07:00
Carl Lerche 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 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 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 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