speedy
speedy copied to clipboard
A fast binary serialization framework
Speedy segfaults on this one: ```rust use speedy::{Readable, Writable}; #[derive(Readable, Writable, Debug)] struct Item { // tags: Vec it works. ```bash ❯ uname -a Darwin MacBook-Pro.local 23.3.0 Darwin Kernel Version...
fixes https://github.com/koute/speedy/issues/57 The test case is the same as from the issue. That doesn't cover "consistency" fully but at least its a regression for this case. More tests should be...
fixes https://github.com/koute/speedy/issues/29 These are not implemented currently but I they seem pretty basic to me.
```toml speedy = "0.8.7" ``` ```rust use speedy::Readable; let _ = std::time::Duration::read_from_buffer(&[255; 12]); ``` Results in `thread 'main' panicked at 'overflow in Duration::new`. Could fix by checking `nanos < 1_000_000_000`...
https://github.com/koute/speedy/issues/16
Attempts at implementing SocketAddr and its variants while preserving the coding style of the project.
Currently, `u64` can't be used for length attributes in a `Writable` struct. `usize` can, so there's no reason `u64` should not.
Resolves: #53
trying to compile ```rust #[derive(speedy::Readable)] struct A { a: [u8;S], } ``` results in this error ``` --> src/main.rs:3:12 | 3 | a: [u8;S], | ^ not found in this...
See the following example: ```rs use speedy::Readable; use std::io; #[derive(Debug, Readable)] struct Test { #[speedy(default_on_eof)] list: Vec, #[speedy(default_on_eof)] value_kind: ValueKind, } #[derive(Debug, Default, Readable)] #[speedy(tag_type = u8)] enum ValueKind {...