jonas-schievink/rubble

Try out `scroll` or `zerocopy` for de/encoding of PDUs

开放

#53 创建于 2019年4月28日

 (1 条评论) (0 个反应) (0 位负责人)Rust (61 个派生)user submission
area: utilsgood first issuestatus: needs codetype: enhancement

仓库指标

星标
 (403 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

scroll allows deriving decoding and encoding traits, which is just what I want. We should try porting rubble to use that instead of bytes.rs.

We can also try out the zerocopy crate, which allows C-like reinterpretation of arbitrary bytes in safe Rust. Unfortunately it's near impossible to contribute to zerocopy since it's part of fuchsia, but it looks promising.

贡献者指南