asn1rs icon indicating copy to clipboard operation
asn1rs copied to clipboard

Generates Rust Code and optionally compatible Protobuf schema files from ASN.1 definitions.

Results 22 asn1rs issues
Sort by recently updated
recently updated
newest added

Hi, I tried to convert a LTE RRC ASN1 spec to PSQL. The ASN1 definition contains inner/nested structures such as `ENUMERATED` with the same name multiple times. Example ASN1 spec...

Hi, [I'm quite new to asn1 (I only used it, but not written anything in it). Are there any good references or books to get into the asn1 topic?] I've...

I can see that you have implemented `ITU-T X.680 | ISO/IEC 8824-1, G.2.12.3` here: https://github.com/kellerkindt/asn1rs/blob/5ab96c129c0cb8dfa4ea7797a58a513a7abe04b1/asn1rs-model/src/gen/rust/walker.rs#L861 But can you please implement `ITU-T X.680 | ISO/IEC 8824-1, G.2.12.5` too? There is a...

asn1c (https://github.com/vlm/asn1c) is arguably one of the most known and complete ASN.1 compilers. It has a few examples for common ASN.1 modules, such as X.509 and LDAPv3. If you compile...

I love this rustic implementation of parser using `TryFrom` but it needs a global state e.g. to support `IMPLICIT`/`EXPLICIT`/`AUTOMATIC` `TAGS` that will affect all sub structures

MessageFrameExt ::= SEQUENCE { messageId MESSAGE-ID-AND-TYPE.&id({MessageTypes}), value MESSAGE-ID-AND-TYPE.&Type({MessageTypes}{@.messageId}), ... } MESSAGE-ID-AND-TYPE ::= CLASS { &id ExtMsgID UNIQUE, &Type } WITH SYNTAX {&Type IDENTIFIED BY &id} MessageTypes MESSAGE-ID-AND-TYPE ::= { {...

For `OCTET STRING` allow the usage of (`Bytes` as serialize input and) `BytesMut` as alternative to `Vec` https://crates.io/crates/bytes

ValueReferences are the constants of ASN.1. With this PR constant definitions in ASN.1 are parsed. * [x] Parse and resolve basic Value References (Integers) #49 * [x] Add constant values...

This seems to be valid syntax but does not parse in asn1rs, yet (in contrast to `SIZE` for which this already works) ```asn1 BasicConstrainedFExtensible ::= SEQUENCE { abc INTEGER(8) }...

bug
enhancement

The asn1rs parser currently fails on this: ``` DRB-ToAddModList ::= SEQUENCE (SIZE (1..maxDRB)) OF DRB-ToAddMod ``` with this error: ``` Failed to load file /home/itk/itk/src/libitk/src/3gppasn1/asn1/rrc.asn: Model(At line 263, column 47...

enhancement