5 releases
0.1.4 | Sep 4, 2022 |
---|---|
0.1.3 | Sep 4, 2022 |
0.1.2 | Sep 4, 2022 |
0.1.1 | Sep 4, 2022 |
0.1.0 | Sep 4, 2022 |
#1121 in Encoding
35KB
960 lines
Serde Transmute
Transmute objects through serde!
This crate allows converting a Serialize
value into a Deserialize
type.
Caveats
The main caveat of note is that Serialize
is not lifetime-aware, so the
Deserialize
(or DeserializeSeed
) cannot borrow from it.
But we don't care because this crate was built to power parts of datafu
.
And it's pretty good at that.
lib.rs
:
Transmute objects through serde!
This crate allows converting a Serialize
value into a Deserialize
type.
Caveats
The main caveat of note is that Serialize
is not lifetime-aware, so the
Deserialize
(or DeserializeSeed
) cannot borrow from it.
But we don't care because this crate was built to power parts of datafu
.
And it's pretty good at that.
Dependencies
~100–335KB