1 unstable release
0.1.0 | Sep 5, 2023 |
---|
#6 in #cloneable
9KB
192 lines
bytestr
A utility benefits zero-copy network programming,providing a cheaply cloneable and sliceable immutable UTF-8 encoded string.
Serde support
Serde support is optional, and it is disabled by default.Enable serde
feature to use this function:
[dependencies]
bytes = { version = "0.1.0", features = ["serde"] }
Licnese
This project is licensed under MIT license
lib.rs
:
This crate provide a utility ByteStr
,a cheaply cloneable and sliceable immutable UTF-8 encoded string,which is using Bytes
as storage.
ByteStr
can be widely used in web programming,and reduce much unnecessary copy.
Dependencies
~135–340KB