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.
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.