Tony Arcieri

Results 2560 comments of Tony Arcieri

Why are you exposing `BytesRef`/`BytesOwned`? Why not `OctetString`/`OctetStringRef` ala `spki` (i.e. the ASN.1 type, though it's BIT STRING there), or if not that then `&'a [u8]` and `Vec`? Really `BytesRef`...

@dishmaker this crate is designed to support heapless targets that don’t have `alloc` available, which `OctetStringRef` is capable of working on

But then you haven't actually gotten rid of the `*Ref` type, and since it's immutable anyway, there's no "write" case to worry about, so `Cow` doesn't buy you anything. Anyway,...

@baloo are you going to redo this? I think it would be great to get in before the next stable release series

Aah ok, I'm down to take it then. Seems like it will be a bit of a mess but worth it.

Some way of generating code from ASN.1 schemas would be nice. It sounds like you're requesting the other direction, though? I'm not aware of any implementation of schema-driven data formats...

> I've decided to use ASN.1 and this crate is one of the most popular for Rust. Note that DER is a special encoding of ASN.1 known as the distinguished...

I don't think we're going to end up implementing anything like this, at least in the near future