aboutsummaryrefslogtreecommitdiff
path: root/tests (follow)
AgeCommit message (Expand)AuthorFilesLines
2023-10-02Various cleanup (#635)Gravatar Alice Ryhl 1-1/+1
2023-06-05Fix CI failure (#616)Gravatar Taiki Endo 2-0/+2
2023-02-10Implement BufMut for `&mut [MaybeUninit<u8>]` (#597)Gravatar Michal Nazarewicz 1-13/+110
2023-01-31Avoid large reallocations when freezing BytesMut (#592)Gravatar brian m. carlson 1-0/+45
2022-07-30Fix reserve over allocating underlying buffer (#560)Gravatar Matt Schulte 1-0/+28
2022-07-13Add conversion from Bytes to Vec<u8> (#547)Gravatar Jiahao XU 3-0/+128
2022-07-10Add conversion from BytesMut to Vec<u8> (#543)Gravatar Jiahao XU 1-0/+37
2022-07-09miri: don't use int2ptr casts for invalid pointers (#553)Gravatar Alice Ryhl 1-1/+10
2022-06-23chore: Fix unused warnings (#551)Gravatar Lucio Franco 1-2/+2
2022-06-11Fix chain remaining_mut(), allowing to chain growing buffer (#488)Gravatar Zettroke 1-0/+22
2022-04-28Fix bugs in `BytesMut::reserve_inner` (#544)Gravatar Jiahao XU 1-0/+19
2022-03-16Optimize BytesMut::reserve: Reuse vec if possible (#529)Gravatar Jiahao XU 1-1/+1
2022-01-24Implement `Extend<Bytes>` for `BytesMut` (#527)Gravatar Rob Ede 1-0/+7
2022-01-24Address various clippy warnings (#528)Gravatar Rob Ede 2-6/+5
2021-11-07Appease miri (#515)Gravatar Noah Kennedy 1-39/+65
2021-08-24impl From<Box<[u8]>> for Bytes (#504)Gravatar Ian Jackson 1-0/+8
2021-08-09BufMut::put_bytes(self, val, cnt) (#487)Gravatar Stepan Koltsov 2-0/+26
2021-08-09Clarify BufPut::put_int behavior (#486)Gravatar Stepan Koltsov 1-0/+28
2021-08-07Clarify BufMut allocation guarantees (#501)Gravatar Alice Ryhl 1-2/+2
2021-07-05Keep capacity when unsplit on empty other buf (#502)Gravatar Gbillou 1-0/+25
2021-04-11Specialize copy_to_bytes for Chain and Take (#481)Gravatar Stepan Koltsov 2-0/+41
2021-02-15override put_slice for &mut [u8] (#483)Gravatar Zettroke 1-0/+3
2020-12-29CI: run test suite in Miri (#456)Gravatar Ralf Jung 2-3/+6
2020-12-18Rename Buf/BufMut, methods to chunk/chunk_mut (#450)Gravatar Carl Lerche 5-21/+21
2020-10-20Add `Buf::copy_to_bytes(len)` (#439)Gravatar Carl Lerche 2-1/+18
2020-10-19Switch `BufMut::bytes_mut` to`&mut UninitSlice` (#433)Gravatar Carl Lerche 2-3/+31
2020-10-16Make BufMut an unsafe trait (#432)Gravatar Carl Lerche 1-1/+1
2020-10-16remove ext traits (#431)Gravatar Carl Lerche 3-5/+4
2020-10-16Remove BufMut::bytes_vectored_mut() (#430)Gravatar Carl Lerche 1-19/+0
2020-07-09Change default lint level to warning and deny warnings in CI (#397)Gravatar Taiki Endo 9-9/+9
2020-07-08BytesMut: Reuse buffer when data fully consumed via BufGravatar Bryan Donlan 1-0/+16
2020-05-22Format with rustfmt (#389)Gravatar Taiki Endo 7-14/+15
2020-05-22Fix tests for no_std build (#384)Gravatar Cheng XU 4-3/+11
2020-03-25Fix #354 -- Make advance_mut impl of BufMut for Vec<u8> panic if cnt > remainingGravatar Tim Hambourger 1-3/+2
2020-03-24Fix #352 -- Make freeze respect the start offset for BytesMuts in Vec modeGravatar Tim Hambourger 1-0/+66
2020-01-23Do not panic on Bytes::slice_ref on empty slice (#355)Gravatar Stepan Koltsov 1-15/+14
2020-01-22Fix Bytes::truncate losing the original Vec's capacity (#361)Gravatar Sean McArthur 2-1/+76
2019-12-17Fix Bytes when Vec pointer's LSB is set (#346)Gravatar Sean McArthur 1-0/+67
2019-12-12Assert the LSB is 0 when converting Vec into BytesGravatar Sean McArthur 1-2/+18
2019-12-10Make Deref impls of Buf and BufMut forward more methodsGravatar Sean McArthur 2-0/+59
2019-12-04Add must_use to split, split_off, and split_toGravatar Sean McArthur 1-11/+11
2019-12-01Fix regression in Bytes::truncate (#333)Gravatar Mikhail Zabaluev 1-0/+12
2019-11-20implicitly grow BytesMut; add BufMutExt::chain_mut (#316)Gravatar Carl Lerche 3-11/+41
2019-11-13Change loom tests to use cfg(loom) internally (#314)Gravatar Sean McArthur 1-73/+0
2019-10-31Move "extra" methods to extension traits (#306)Gravatar Sean McArthur 3-6/+6
2019-10-24Change BufMut methods that expose maybe-uninitialized bytes (#305)Gravatar Sean McArthur 2-12/+15
2019-10-16Remove Buf impl for &str (#301)Gravatar Sean McArthur 1-1/+1
2019-10-16Refactor Bytes to use an internal vtable (#298)Gravatar Sean McArthur 4-163/+177
2019-08-27Make From only for static slices to BytesGravatar Douman 1-2/+2
2019-08-27Remove IntoBuf/FromBuf (#288)Gravatar Douman 4-43/+10