jonas-schievink/rubble

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

Open

#53 aperta il 28 apr 2019

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Rust (58 fork)user submission
area: utilsgood first issuestatus: needs codetype: enhancement

Metriche repository

Star
 (403 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor