tendermint / yubihsm-rs

Pure Rust client for YubiHSM2 devices
https://docs.rs/yubihsm/
70 stars 10 forks source link

Declarative command/response parsers/serializers (using serde?) #3

Closed tarcieri closed 6 years ago

tarcieri commented 6 years ago

Right now the serialization logic for serializing/deserializing commands and responses is all hand-written.

It would be nice to replace this with some kind of procedural macro which can generate these serializers/deserializers automatically from a struct definition.

The YubiHSM2 serialization format might not be a good fit for serde, in which case we could write our own procedural macro.

tarcieri commented 6 years ago

Switched to Serde in #5