bytes:使用字节的实用程序

时间:2021-04-30 01:47:29
【文件属性】:
文件名称:bytes:使用字节的实用程序
文件大小:64KB
文件格式:ZIP
更新时间:2021-04-30 01:47:29
Rust 字节数 一个用于处理字节的实用程序库。 用法 要使用bytes ,请首先将其添加到您的Cargo.toml : [ dependencies ] bytes = " 1 " 接下来,将其添加到您的板条箱中: use bytes :: {Bytes, BytesMut, Buf, BufMut}; Serde支持 Serde支持是可选的,默认情况下处于禁用状态。 要启用,请使用功能serde 。 [ dependencies ] bytes = { version = " 1 " , features = [ " serde " ] } 执照 该项目已获得。 贡献 除非您明确声明,否则您有意提交的任何贡献(以bytes为bytes均应被许可为MIT,而无需任何其他条款或条件。
【文件预览】:
bytes-master
----.github()
--------workflows()
----tests()
--------test_bytes_vec_alloc.rs(2KB)
--------test_chain.rs(4KB)
--------test_take.rs(875B)
--------test_serde.rs(528B)
--------test_buf_mut.rs(3KB)
--------test_iter.rs(412B)
--------test_buf.rs(3KB)
--------test_reader.rs(730B)
--------test_bytes_odd_alloc.rs(2KB)
--------test_debug.rs(1KB)
--------test_bytes.rs(22KB)
----ci()
--------tsan.sh(410B)
--------miri.sh(350B)
--------test-stable.sh(596B)
----LICENSE(1KB)
----src()
--------bytes.rs(30KB)
--------bytes_mut.rs(44KB)
--------loom.rs(786B)
--------fmt()
--------serde.rs(3KB)
--------lib.rs(3KB)
--------buf()
----Cargo.toml(887B)
----benches()
--------bytes.rs(2KB)
--------bytes_mut.rs(5KB)
--------buf.rs(5KB)
----.gitignore(20B)
----CHANGELOG.md(6KB)
----README.md(1KB)

网友评论