Alice Ryhl and GitHub
76c0fbb54e
Release bytes v1.12.1 ( #838 )
v1.12.1
2026-07-08 12:00:46 +02:00
Alice Ryhl and GitHub
924c82bf00
Handle unwinding from Box::new ( #837 )
2026-07-07 15:33:07 +02:00
Alice Ryhl and GitHub
91402cee60
Release bytes v1.12.0 ( #831 )
v1.12.0
2026-06-18 12:33:12 +02:00
vip892766gma and GitHub
2256e6dc3e
chore: add safety comments on unsafe blocks ( #827 )
2026-05-19 13:11:51 -04:00
DaniPopes and GitHub
245adff079
Pass vtable data by value ( #826 )
2026-04-29 07:28:59 +02:00
Mai Thanh Minh and GitHub
00cc5ff2bd
Implement BytesMut::extend_from_within ( #818 )
2026-02-03 15:33:17 +01:00
Alice Ryhl
5b79d316c9
Merge tag 'v1.11.1'
2026-02-03 13:45:19 +00:00
Alice Ryhl and GitHub
417dccdeff
Release bytes v1.11.1 ( #820 )
v1.11.1
2026-02-03 14:43:56 +01:00
Alice Ryhl and GitHub
d0293b0e35
Merge commit from fork
...
* Add repro for integer overflow
Signed-off-by: Alice Ryhl <[email protected] >
* Always check overflow in new_cap + offset
Signed-off-by: Alice Ryhl <[email protected] >
---------
Signed-off-by: Alice Ryhl <[email protected] >
2026-02-03 14:40:22 +01:00
Petros Angelatos and GitHub
804ee6d039
Make try_unsplit method public ( #746 )
2026-01-23 11:45:15 +01:00
Georg Semmler and GitHub
fd426ca084
Exclude development scripts from published package ( #810 )
...
During a dependency review we noticed that the bytes crate includes various development scripts. These development scripts shouldn't be there as they might, at some point become problematic. As of now they prevent any downstream user from enabling the `[bans.build.interpreted]` option of cargo deny.
I opted for using an explicit include list instead of an exclude list to prevent these files from being included in the published packages to make sure that everything that's included is an conscious choice.
2025-12-17 13:51:19 +00:00
Alice Ryhl and GitHub
b4ed70daee
Add test for copy_to_bytes() -> BytesMut avoiding clone ( #809 )
2025-12-02 13:08:19 +01:00
Paolo Barbolini and GitHub
94e42915a9
Document that BytesMut::{reserve,try_reserve} doesn't preserve unused capacity ( #808 )
2025-11-28 10:02:34 +01:00
Paolo Barbolini and GitHub
acd1e0ffb8
Fix get_int if nbytes is zero ( #806 )
2025-11-21 11:14:40 +01:00
Martin Grigorov and GitHub
a7952fb447
chore: prepare bytes v1.11.0 ( #804 )
v1.11.0
2025-11-14 15:44:53 +01:00
discord9 and GitHub
60cbb776f2
fix: BytesMut only reuse if src has remaining ( #803 )
...
Signed-off-by: discord9 <[email protected] >
2025-11-14 10:52:50 +01:00
Alice Ryhl and GitHub
7ce330f519
Move drop_fn of from_owner into vtable ( #801 )
2025-11-10 15:16:58 +01:00
Stepan Koltsov and GitHub
4b53a29eb2
Tweak BytesMut::remaining_mut ( #795 )
2025-08-20 11:57:49 +02:00
Stepan Koltsov and GitHub
016fdbdc7a
Reserve capacity in BytesMut::put ( #794 )
2025-08-19 12:50:38 +02:00
Stepan Koltsov and GitHub
ef7f25736c
Specialize BytesMut::put::<Bytes> ( #793 )
2025-08-14 08:55:18 +00:00
Taiki Endo and GitHub
8b4f54d0f3
Ignore BytesMut::freeze doctest on wasm ( #790 )
2025-08-10 19:34:43 +09:00
Paolo Barbolini and GitHub
16132ad259
Fix latest clippy warnings ( #787 )
2025-07-16 10:53:50 +02:00
Paolo Barbolini and GitHub
3e44f88f5f
Bump MSRV to 1.57 ( #788 )
2025-07-16 10:33:07 +02:00
Hange Shi - NJU and GitHub
f29e93951d
Add some tests for Limit, BytesMut and Reader ( #785 )
2025-05-28 12:56:41 +02:00
Michael Färber and GitHub
d9d5c59ef8
Guarantee address in slice() for empty slices. ( #780 )
2025-05-20 14:52:05 +02:00
AbeZbm
5c90b11415
Add missing tests in test_bytes
2025-05-15 14:52:54 +08:00
Scott Lamb and GitHub
141cbc22cb
Rename Vtable::to_* -> Vtable::into_* ( #776 )
2025-03-07 13:58:07 +00:00
Alice Ryhl and GitHub
19d1427c97
chore: prepare bytes v1.10.1 ( #774 )
v1.10.1
2025-03-05 13:11:49 +01:00
venomousmoog and GitHub
36675436cc
Fix memory leak in owned_to_vec ( #773 )
2025-03-05 10:44:40 +01:00
Alice Ryhl and GitHub
e0f3a25fae
chore: prepare bytes v1.10.0 ( #766 )
v1.10.0
2025-02-03 12:49:49 +01:00
Taiki Endo and GitHub
16fd473d5c
Add feature to support platforms without atomic CAS ( #467 )
2025-01-31 18:52:54 +09:00
Taiki Endo and GitHub
71824b095c
ci: test AArch64 and run tests instead of build in cross job ( #763 )
2025-01-27 10:58:12 +01:00
Taiki Endo and GitHub
7a876609a2
Use [lints] to address unexpected_cfgs lint ( #762 )
2025-01-27 10:56:32 +01:00
hpenne and GitHub
3ab876fee6
Try get methods for Buf trait ( #753 )
2025-01-21 13:41:42 +01:00
Alice Ryhl and GitHub
a1b1208127
Disable test_bytes_vec_alloc test on miri ( #755 )
2025-01-13 16:28:28 +01:00
aae4969fde
Add specialized Buf::chunks_vectored for Take ( #617 )
...
Co-authored-by: Alice Ryhl <[email protected] >
Co-authored-by: Michal 'vorner' Vaner <[email protected] >
2025-01-13 12:53:52 +00:00
Alice Ryhl and GitHub
103d7bf9e0
Remove incorrect guarantee for chunks_vectored ( #754 )
2025-01-10 23:13:52 +01:00
Paolo Barbolini and GitHub
16cc574fea
Implement Buf::chunks_vectored for VecDeque<u8> ( #708 )
2025-01-10 14:40:12 +01:00
Paolo Barbolini and GitHub
0e9e4fc2f1
Expand Buf tests ( #747 )
2025-01-09 17:13:47 +01:00
Alice Ryhl and GitHub
f7072c9267
Run tests under panic=abort ( #749 )
2024-12-10 22:30:27 +01:00
Kyle Barron and GitHub
d0a14deeb5
chore: prepare bytes v1.9.0 ( #748 )
v1.9.0
2024-11-28 13:43:45 +01:00
Leonid Logvinov and GitHub
54f1c26f69
Rename hex_impl! to fmt_impl! and reuse it for fmt::Debug ( #743 )
2024-11-08 10:23:02 +01:00
Paolo Barbolini and GitHub
4cd8969e85
Replace BufMut::put with BufMut::put_slice in Writer impl ( #745 )
2024-11-01 18:22:07 +00:00
katelyn martin and GitHub
2d996a2b41
Fix typo in Buf::chunk() comment ( #744 )
2024-11-01 14:46:09 +00:00
Adam Cimarosti and GitHub
30ee8e9cba
Add Bytes::from_owner ( #742 )
2024-10-29 13:18:03 +01:00
Alice Ryhl and GitHub
c45697ce42
chore: prepare bytes v1.8.0 ( #741 )
v1.8.0
2024-10-21 21:54:34 +02:00
Alice Ryhl and GitHub
0ac54ca706
Guarantee address in split_off/split_to for empty slices ( #740 )
...
Signed-off-by: Alice Ryhl <[email protected] >
2024-10-18 19:46:49 +02:00
Paolo Barbolini and GitHub
d7c1d658d9
chore: prepare bytes v1.7.2 ( #736 )
v1.7.2
2024-09-18 07:39:32 +02:00
Taiki Endo and GitHub
ac46ebdd46
ci: update nightly to nightly-2024-09-15 ( #734 )
2024-09-17 11:02:45 -04:00
Paolo Barbolini and GitHub
79fb85323c
fix: apply sign extension when decoding int ( #732 )
...
Closes #730
2024-08-30 08:20:29 -04:00