The above definition compiles successfully with asn1c v0.9.29.
While I can leave this unconstrained as a work around, the ASN.1 spec allows for value ranges larger than those that can be represented in 64 bits. The maximum upper bound I'm able to use successfully with asn1rs appears to be equivalent to i64::MAX.
I'm trying to use asn1rs 0.2.2 with the following ASN.1 subtype definition:
when I run asn1rs from the shell I get:
The above definition compiles successfully with
asn1c
v0.9.29.While I can leave this unconstrained as a work around, the ASN.1 spec allows for value ranges larger than those that can be represented in 64 bits. The maximum upper bound I'm able to use successfully with asn1rs appears to be equivalent to
i64::MAX
.