github.com/tokio-rs/bytes
Utilities for working with bytes
https://github.com/tokio-rs/bytes
`Buf::try_advance` support
Tom01098 opened this issue 2 months ago
Tom01098 opened this issue 2 months ago
Add some tests for Limit, BytesMut and Reader
AbeZbm opened this pull request 2 months ago
AbeZbm opened this pull request 2 months ago
Add missing tests in test_bytes
AbeZbm opened this pull request 3 months ago
AbeZbm opened this pull request 3 months ago
Uplift Utf8Bytes
coolreader18 opened this pull request 4 months ago
coolreader18 opened this pull request 4 months ago
added docs +doctests to `BufRead::consume`
feefladder opened this pull request 4 months ago
feefladder opened this pull request 4 months ago
Add get_array method to Buf
lperlaki opened this pull request 4 months ago
lperlaki opened this pull request 4 months ago
Guarantee address in `slice()` for empty slices.
01mf02 opened this pull request 4 months ago
01mf02 opened this pull request 4 months ago
Preserve addresses of empty bytes in `slice`
01mf02 opened this issue 4 months ago
01mf02 opened this issue 4 months ago
Implementation experiment and feature suggestion
wyfo opened this issue 5 months ago
wyfo opened this issue 5 months ago
BytesMut::zeroed can trigger process abort with large len values
Ollrogge opened this issue 5 months ago
Ollrogge opened this issue 5 months ago
rename `Vtable::to_*` -> `Vtable::into_*`
scottlamb opened this pull request 5 months ago
scottlamb opened this pull request 5 months ago
feat: create `Bytes` from `std::sync::Arc`
scottlamb opened this pull request 5 months ago
scottlamb opened this pull request 5 months ago
chore: prepare bytes v1.10.1
Darksonn opened this pull request 5 months ago
Darksonn opened this pull request 5 months ago
Memory leak in owned_to_vec
venomousmoog opened this pull request 5 months ago
venomousmoog opened this pull request 5 months ago
add owned_vec_into test
venomousmoog opened this pull request 5 months ago
venomousmoog opened this pull request 5 months ago
Inconsistency between `BytesMut` and `Vec<u8>` value for `BufMut::remaining_mut`
paolobarbolini opened this issue 5 months ago
paolobarbolini opened this issue 5 months ago
Idea: BytesMut::from_reader
carlsverre opened this issue 5 months ago
carlsverre opened this issue 5 months ago
Suggestion: Make `BytesMut::resize` inline.
Sol-Ell opened this issue 6 months ago
Sol-Ell opened this issue 6 months ago
Feature request: implement `arbitrary::Arbitrary`, `quickcheck::Arbitrary` and `proptest::Arbitrary` for `Bytes` and `BytesMut`.
al8n opened this issue 6 months ago
al8n opened this issue 6 months ago
Breakage in v1.10.0: multiple `try_get_u32` found
snaggen opened this issue 6 months ago
snaggen opened this issue 6 months ago
chore: prepare bytes v1.10.0
Darksonn opened this pull request 6 months ago
Darksonn opened this pull request 6 months ago
Please make a new release
Dryvnt opened this issue 6 months ago
Dryvnt opened this issue 6 months ago
Suggestion: Make `try` functions default
Snowiiii opened this issue 6 months ago
Snowiiii opened this issue 6 months ago
ci: test AArch64 Linux and run tests instead of build in cross job
taiki-e opened this pull request 6 months ago
taiki-e opened this pull request 6 months ago
Use [lints] to address unexpected_cfgs lint
taiki-e opened this pull request 6 months ago
taiki-e opened this pull request 6 months ago
Use cfg(target_has_atomic) on no-std targets to support platforms without atomic CAS (no dep)
taiki-e opened this pull request 6 months ago
taiki-e opened this pull request 6 months ago
Suggestion: `BufMut::advance_mut` should make `cnt > self.remaining_mut()` unsound
paolobarbolini opened this issue 6 months ago
paolobarbolini opened this issue 6 months ago
Suggestion: don't enable any feature flags by default in v2
geeklint opened this issue 6 months ago
geeklint opened this issue 6 months ago
Call for breaking changes
Darksonn opened this issue 6 months ago
Darksonn opened this issue 6 months ago
Undesirable(?) implementation of DerefMut on BytesMut
dowlingw opened this issue 6 months ago
dowlingw opened this issue 6 months ago
for BytesMut,why don't have put_usize()
baobaomaomeng opened this issue 6 months ago
baobaomaomeng opened this issue 6 months ago
Disable test_bytes_vec_alloc test on miri
Darksonn opened this pull request 7 months ago
Darksonn opened this pull request 7 months ago
Remove incorrect guarantee for `chunks_vectored`
Darksonn opened this pull request 7 months ago
Darksonn opened this pull request 7 months ago
Try get methods for buf
hpenne opened this pull request 7 months ago
hpenne opened this pull request 7 months ago
Support non-atomic targets by using portable-atomic
tjoslin opened this pull request 7 months ago
tjoslin opened this pull request 7 months ago
`BytesMut`'s capacity is 0 after `split`ting if not created via `with_capacity`
noib3 opened this issue 8 months ago
noib3 opened this issue 8 months ago
Run tests under panic=abort
Darksonn opened this pull request 8 months ago
Darksonn opened this pull request 8 months ago
Prepare bytes v1.9.0
kylebarron opened this pull request 8 months ago
kylebarron opened this pull request 8 months ago
Expand `Buf` tests
paolobarbolini opened this pull request 8 months ago
paolobarbolini opened this pull request 8 months ago
Make `BytesMut::try_unsplit` method public
petrosagg opened this pull request 9 months ago
petrosagg opened this pull request 9 months ago
Replace `BufMut::put` with `BufMut::put_slice` in Writer impl
paolobarbolini opened this pull request 9 months ago
paolobarbolini opened this pull request 9 months ago
nit(docs): Fix typo in `Buf::chunk()` comment
cratelyn opened this pull request 9 months ago
cratelyn opened this pull request 9 months ago
Rename hex_impl! to fmt_impl! and reuse it for fmt::Debug
LogvinovLeon opened this pull request 9 months ago
LogvinovLeon opened this pull request 9 months ago
feat: Bytes::from_owner
amunra opened this pull request 9 months ago
amunra opened this pull request 9 months ago
chore: prepare bytes v1.8.0
Darksonn opened this pull request 9 months ago
Darksonn opened this pull request 9 months ago
Guarantee address in split_off/split_to for empty slices
Darksonn opened this pull request 10 months ago
Darksonn opened this pull request 10 months ago
Remove the `Vec` representation
SabrinaJewson opened this pull request 10 months ago
SabrinaJewson opened this pull request 10 months ago
Add support for zerocopy trait impls
joshlf opened this issue 10 months ago
joshlf opened this issue 10 months ago
ci: bump nightly to 2024-09-15
seanmonstar opened this pull request 11 months ago
seanmonstar opened this pull request 11 months ago
chore: prepare bytes v1.7.2
paolobarbolini opened this pull request 11 months ago
paolobarbolini opened this pull request 11 months ago
Importing bytes breaks comparisons of &[u8] and &[u8;32] in existing code.
poszu opened this issue 11 months ago
poszu opened this issue 11 months ago
ci: update nightly to nightly-2024-09-15
taiki-e opened this pull request 11 months ago
taiki-e opened this pull request 11 months ago
Example does not match "IntoIter::new"
michael88888888 opened this pull request 11 months ago
michael88888888 opened this pull request 11 months ago
Apply sign extension when decoding int
paolobarbolini opened this pull request 11 months ago
paolobarbolini opened this pull request 11 months ago
Fix double spaces in comments and doc comments
paolobarbolini opened this pull request 11 months ago
paolobarbolini opened this pull request 11 months ago
`Buf::get_int()` implementation for `Bytes` returns positive number instead of negative when `nbytes` < 8.
patrickhx opened this issue 12 months ago
patrickhx opened this issue 12 months ago
Feature Request? Viewing []Bytes as a single Bytes
juliusl opened this issue 12 months ago
juliusl opened this issue 12 months ago
test: ensure BytesMut::advance reduces capacity
camshaft opened this pull request 12 months ago
camshaft opened this pull request 12 months ago
chore: prepare bytes v1.7.1
Darksonn opened this pull request 12 months ago
Darksonn opened this pull request 12 months ago
Revert "Reuse capacity when possible in <BytesMut as Buf>::advance impl"
Darksonn opened this pull request 12 months ago
Darksonn opened this pull request 12 months ago
BytesMut::advance no longer advances cursor
camshaft opened this issue 12 months ago
camshaft opened this issue 12 months ago
chore: prepare v1.7.0
mox692 opened this pull request 12 months ago
mox692 opened this pull request 12 months ago
`impl FromIterator for BytesMut` exposes implementation details
aatifsyed opened this issue about 1 year ago
aatifsyed opened this issue about 1 year ago
1.6.0 yanked?
ChristopherRabotin opened this issue about 1 year ago
ChristopherRabotin opened this issue about 1 year ago
Merge 1.6.1
Darksonn opened this pull request about 1 year ago
Darksonn opened this pull request about 1 year ago
chore: prepare bytes v1.6.1
Darksonn opened this pull request about 1 year ago
Darksonn opened this pull request about 1 year ago
Remove unnecessary file
A5rocks opened this pull request about 1 year ago
A5rocks opened this pull request about 1 year ago
Correct is_unique for Bytes from shared BytesMut
zyxw59 opened this pull request about 1 year ago
zyxw59 opened this pull request about 1 year ago
docs: clarify the behavior of `Buf::chunk`
vvvviiv opened this pull request about 1 year ago
vvvviiv opened this pull request about 1 year ago
Docs: `Buf::chunk` should have more restrictions.
vvvviiv opened this issue about 1 year ago
vvvviiv opened this issue about 1 year ago
Add optional support for the arbitrary crate
morr0ne opened this pull request about 1 year ago
morr0ne opened this pull request about 1 year ago
Clarify how `BytesMut::zeroed` works and advantages to manual impl
paolobarbolini opened this pull request about 1 year ago
paolobarbolini opened this pull request about 1 year ago
BytesMut::zeroed doc header improvement
juliusl opened this issue about 1 year ago
juliusl opened this issue about 1 year ago
Feature request: implement `From<Cow<'static, [u8]>>` for `Bytes`
alkarkhi opened this issue about 1 year ago
alkarkhi opened this issue about 1 year ago
Is the conversion from bytes to Vec<u8> O(1)
cBournhonesque opened this issue about 1 year ago
cBournhonesque opened this issue about 1 year ago
Change Bytes::make_mut to impl From<Bytes> for BytesMut
nox opened this pull request about 1 year ago
nox opened this pull request about 1 year ago
Consider replacing Bytes::make_mut by impl From<Bytes> for BytesMut
nox opened this issue about 1 year ago
nox opened this issue about 1 year ago
Implement `Buf::chunks_vectored` for `VecDeque<u8>`
paolobarbolini opened this pull request about 1 year ago
paolobarbolini opened this pull request about 1 year ago
Fix iter tests to use the actual bytes `IntoIter` instead of std
paolobarbolini opened this pull request about 1 year ago
paolobarbolini opened this pull request about 1 year ago
Splice for BytesMut
Sytten opened this issue about 1 year ago
Sytten opened this issue about 1 year ago
Offset from
braddunbar opened this pull request about 1 year ago
braddunbar opened this pull request about 1 year ago
Test for unknown --cfg flags in ci
Darksonn opened this issue about 1 year ago
Darksonn opened this issue about 1 year ago
Silence unexpected-cfgs warnings due to `#[cfg(loom)]`
Darksonn opened this pull request about 1 year ago
Darksonn opened this pull request about 1 year ago
Feature request: fallible version of `BytesMut::unsplit` (i.e. make `BytesMut::try_unsplit` public)
aochagavia opened this issue about 1 year ago
aochagavia opened this issue about 1 year ago
Buf::chunks_vectored() is wrong if chunk() isn't the whole buf
seanmonstar opened this issue over 1 year ago
seanmonstar opened this issue over 1 year ago
Tweak clear and truncate length modifications
Darksonn opened this pull request over 1 year ago
Darksonn opened this pull request over 1 year ago
Improve BytesMut::split suggestion
paolobarbolini opened this pull request over 1 year ago
paolobarbolini opened this pull request over 1 year ago
Reuse capacity when possible in `<BytesMut as Buf>::advance` impl
paolobarbolini opened this pull request over 1 year ago
paolobarbolini opened this pull request over 1 year ago
Expose UTF-8 validated string type
tgnottingham opened this issue over 1 year ago
tgnottingham opened this issue over 1 year ago
Resize refactor
braddunbar opened this pull request over 1 year ago
braddunbar opened this pull request over 1 year ago
Add zero-copy make_mut
Sytten opened this pull request over 1 year ago
Sytten opened this pull request over 1 year ago
Truncate tweaks
braddunbar opened this pull request over 1 year ago
braddunbar opened this pull request over 1 year ago
Bytes::split_off - check fast path first
braddunbar opened this pull request over 1 year ago
braddunbar opened this pull request over 1 year ago
Explicitly guarantee `Bytes` to be immutable
VixieTSQ opened this issue over 1 year ago
VixieTSQ opened this issue over 1 year ago
test(benches): encloses bytes into `test::black_box` for clone benches
wyfo opened this pull request over 1 year ago
wyfo opened this pull request over 1 year ago
Should clone benchmark use use `test::blackbox`?
wyfo opened this issue over 1 year ago
wyfo opened this issue over 1 year ago
Bytes::split_to - check fast path first
braddunbar opened this pull request over 1 year ago
braddunbar opened this pull request over 1 year ago
perf: improve Bytes::copy_to_bytes
tisonkun opened this pull request over 1 year ago
tisonkun opened this pull request over 1 year ago
Bytes: Add try_into_mut.
rklaehn opened this pull request over 1 year ago
rklaehn opened this pull request over 1 year ago
Allow reclaiming the current allocation
shahn opened this pull request over 1 year ago
shahn opened this pull request over 1 year ago