-
I have a stream of data that may be split into parts and distributed across different nodes. I want to confirm the hash of the stream after splitting.
Then, a resonable solution is to serialize th…
-
```rust
// {"any_md5": "..."} ->
use serde::{Serialize, Deserialize};
#[derive(Serialize, Deserialize, Debug)]
pub struct Root {
#[serde(rename = "any_md5")]
pub any_md_5: String,
}
…
-
There is some debate about what benefit/costs serde's `derive` feature gives us. Before releasing `primitives` we should re-visit the topic and make a decision.
Original discussion is in https://gi…
-
### Describe the feature
these types are private and only used for conversions:
https://github.com/paradigmxyz/reth/blob/2b20a0dbfcbc57322702404cf016476e58aa34cf/crates/storage/codecs/src/alloy/mo…
-
The project has no licensing. Ideally, this needs to be a loyalty free license to easily allow the use of the program in other snaps.
However, this isn't possible right now, given that the Rust cod…
-
### Problem
If nothing can activate an optional dependency, cargo acts as if the dependency doesn't exist which creates poor error messages.
Also, with how things are arranged, the unused option…
epage updated
2 hours ago
-
### Problem
It is a bit surprising that the index metadata needs explicit `"optional": false` and `"default_features":true` for every dependency, even though these fields have defaults and are option…
-
Currently, if a message has a field that is an enumeration, the field is provided as an `i32` and tagged with something like the following:
```rust
#[prost(enumeration = "ENUMTYPE" tag = "1")]
fi…
-
- Rust version: 1.80.1
```rs
use criterion::{black_box, criterion_group, criterion_main, BenchmarkId, Criterion};
use serde::{de::Error, Deserialize, Deserializer};
use serde_with::{As, DefaultO…
-
I'm not sure how feasable this is, my experince with serde is very limited, but having implementations for Serialize/Deserialize would be helpful for many cases (e.g., where a crate has a serde featur…