I am punting on these for the forthcoming v0.11 release, but the next time we do make breaking changes it would be nice to get them resolved:
- PEM decoding: currently the whole
pem feature enables alloc, but it would be nice to support no_alloc decoding by way of the DecodePrivateKey trait, especially as the der crate is capable of on-the-fly PEM decoding
- Encoding: currently the whole
EncodePrivateKey trait is gated on alloc, but it would be nice to support a no_alloc encoder for both DER and PEM that can write into a supplied buffer and return a slice
I am punting on these for the forthcoming v0.11 release, but the next time we do make breaking changes it would be nice to get them resolved:
pemfeature enablesalloc, but it would be nice to supportno_allocdecoding by way of theDecodePrivateKeytrait, especially as thedercrate is capable of on-the-fly PEM decodingEncodePrivateKeytrait is gated onalloc, but it would be nice to support ano_allocencoder for both DER and PEM that can write into a supplied buffer and return a slice