LFDT-Lockness / generic-ec

Generic elliptic curve cryptography in Rust
Apache License 2.0
2 stars 2 forks source link

Add `generic_ec::serde::PreferCompact` #28

Closed survived closed 7 months ago

survived commented 7 months ago

Note: I couldn't make Compact to accept both compact and non-compact formats, as there are some limitations to parsing the ambiguous data, specifically, PreferCompact can't accept list-encoded structs (see the PreferCompact docs)