diff --git a/CHANGELOG.md b/CHANGELOG.md index e4790c0b..d8b1c916 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,21 @@ +# 0.2.0-alpha3 (Oct 14, 2020) + +### Fixes +- Missing CI checks on non-default features + +### Added +- Support for `SET`s and `SET OF`s\* +- Support for extensible `SET`s +- Support for `SIZE` constraints for `SET OF`s +- `TagResolver` to properly resolve Tags of ASN.1 types +- `syn::common::Constraint` which has `const TAG: Tag` and implementation for all generated constraint types + +\* For `SET OF` only BASIC-PER encoding is supported currently, see [#20](https://github.com/kellerkindt/asn1rs/issues/20) + +### Changes +- The ASN.1 `OPTIONAL` type is now represented as `optional` instead of `option` in `#[asn(..)]` +- The protobuf serializer is now optional and can be enabled with the `protobuf` feature flag + # 0.2.0-alpha2 (Sep 03, 2020) This release includes a lot of refactoring and new features. diff --git a/Cargo.toml b/Cargo.toml index fbb9df1e..0ce79667 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "asn1rs" -version = "0.2.0-alpha2" +version = "0.2.0-alpha3" authors = ["Michael Watzko "] edition = "2018" description = "ASN.1 to Rust, Protobuf and SQL compiler/code generator. Supports ASN.1 UPER" @@ -44,8 +44,8 @@ futures = { version = "0.3.4", optional = true } bytes = { version = "0.5.4", optional = true } # feature asn1rs-* -asn1rs-model = { version = "0.2.0-alpha2", path = "asn1rs-model", optional = true } -asn1rs-macros = { version = "0.2.0-alpha2", path = "asn1rs-macros", optional = true } +asn1rs-model = { version = "0.2.0-alpha3", path = "asn1rs-model", optional = true } +asn1rs-macros = { version = "0.2.0-alpha3", path = "asn1rs-macros", optional = true } [dev-dependencies] syn = {version = "1.0.28", features = ["full"] } diff --git a/asn1rs-macros/Cargo.toml b/asn1rs-macros/Cargo.toml index 95de294f..578ea1c0 100644 --- a/asn1rs-macros/Cargo.toml +++ b/asn1rs-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "asn1rs-macros" -version = "0.2.0-alpha2" +version = "0.2.0-alpha3" authors = ["Michael Watzko "] edition = "2018" description = "Macros for asn1rs" @@ -20,6 +20,6 @@ debug-proc-macro = [] [dependencies] -asn1rs-model = { version = "0.2.0-alpha2", path = "../asn1rs-model" } +asn1rs-model = { version = "0.2.0-alpha3", path = "../asn1rs-model" } syn = {version = "1.0.17", features = ["full"] } quote = "1.0.3" diff --git a/asn1rs-model/Cargo.toml b/asn1rs-model/Cargo.toml index a51a3e59..0b9cee22 100644 --- a/asn1rs-model/Cargo.toml +++ b/asn1rs-model/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "asn1rs-model" -version = "0.2.0-alpha2" +version = "0.2.0-alpha3" authors = ["Michael Watzko "] edition = "2018" description = "Rust, Protobuf and SQL model definitions for asn1rs"