字节用于处理字节的实用程序库。-Rust开发

时间:2021-05-27 18:24:09
【文件属性】:
文件名称:字节用于处理字节的实用程序库。-Rust开发
文件大小:64KB
文件格式:ZIP
更新时间:2021-05-27 18:24:09
Rust Data structures 字节用于处理字节的实用程序库。 字节用于处理字节的实用程序库。 文档用法要使用字节,首先将其添加到Cargo.toml中:[dependencies] bytes =“ 0.5”接下来,将其添加到板条箱中:use bytes :: {Bytes,BytesMut,Buf,BufMut}; Serde支持Serde支持是可选的,默认情况下处于禁用状态。 要启用,请使用功能Serde。 [依存关系]字节= {版本=“ 0.5”,功能= [“ serde”]}许可证该项目是根据MIT许可证获得许可的。 贡献,除非您明确声明
【文件预览】:
bytes-master
----.gitignore(20B)
----benches()
--------bytes_mut.rs(5KB)
--------buf.rs(5KB)
--------bytes.rs(2KB)
----src()
--------bytes_mut.rs(44KB)
--------fmt()
--------loom.rs(786B)
--------serde.rs(3KB)
--------bytes.rs(30KB)
--------buf()
--------lib.rs(3KB)
----LICENSE(1KB)
----CHANGELOG.md(6KB)
----Cargo.toml(887B)
----.github()
--------workflows()
----README.md(1KB)
----tests()
--------test_reader.rs(730B)
--------test_chain.rs(4KB)
--------test_take.rs(875B)
--------test_buf.rs(3KB)
--------test_debug.rs(1KB)
--------test_iter.rs(412B)
--------test_bytes_odd_alloc.rs(2KB)
--------test_buf_mut.rs(3KB)
--------test_serde.rs(528B)
--------test_bytes_vec_alloc.rs(2KB)
--------test_bytes.rs(22KB)
----ci()
--------tsan.sh(410B)
--------test-stable.sh(596B)
--------miri.sh(350B)

网友评论