diff --git a/CHANGELOG.md b/CHANGELOG.md index 03f0cbac..982ba3e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,44 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.21.0](https://github.com/librasn/rasn/compare/rasn-v0.20.2...rasn-v0.21.0) - 2024-11-03 + +### Added + +- Implement Algorithms and Identifiers PKIX module + +### Fixed + +- split iai and criterion benches, use correct adapters ([#366](https://github.com/librasn/rasn/pull/366)) +- cleanup some unnecessary dependencies ([#362](https://github.com/librasn/rasn/pull/362)) +- remove version pin from release-plz ([#356](https://github.com/librasn/rasn/pull/356)) +- Don't override generics impl in proc-macros on encode impl ([#354](https://github.com/librasn/rasn/pull/354)) +- pin release-plz version until fixed ([#353](https://github.com/librasn/rasn/pull/353)) +- decoding of extended fields in sequence in BER ([#351](https://github.com/librasn/rasn/pull/351)) +- Fix most issues related to dependency update, except hashbrown version ([#349](https://github.com/librasn/rasn/pull/349)) + +### Other + +- Update README.md +- Update README.md +- Update README.md +- Remove dependency on rayon ([#363](https://github.com/librasn/rasn/pull/363)) +- Extract proc macro into own crate ([#364](https://github.com/librasn/rasn/pull/364)) +- Update base_benchmarks.yml +- Attempt to fix base benchmarks on CI ([#365](https://github.com/librasn/rasn/pull/365)) +- Update base_benchmarks.yml +- Update base_benchmarks.yml +- Create base_benchmarks.yml +- Update from iai to iai-callgrind ([#358](https://github.com/librasn/rasn/pull/358)) +- black box integer test, use macros ([#360](https://github.com/librasn/rasn/pull/360)) +- Optimize field presence tracking of default/optional/extended fields ([#324](https://github.com/librasn/rasn/pull/324)) +- run x509 benches only on x86_64 or aarch64 ([#355](https://github.com/librasn/rasn/pull/355)) +- Add other X.509 libraries to bench +- update dependencies +- update lockfile +- update lockfile +- Create FUNDING.yml + ## [0.20.2](https://github.com/librasn/rasn/compare/rasn-v0.20.1...rasn-v0.20.2) - 2024-10-18 ### Fixed diff --git a/Cargo.lock b/Cargo.lock index 7a9be854..05ca3a44 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "addr2line" @@ -878,7 +878,7 @@ dependencies = [ [[package]] name = "rasn" -version = "0.20.2" +version = "0.21.0" dependencies = [ "bitvec", "bitvec-nom2", @@ -907,42 +907,42 @@ dependencies = [ [[package]] name = "rasn-atn-cpdlc" -version = "0.20.2" +version = "0.21.0" dependencies = [ "rasn", ] [[package]] name = "rasn-atn-ulcs" -version = "0.20.2" +version = "0.21.0" dependencies = [ "rasn", ] [[package]] name = "rasn-cap" -version = "0.20.2" +version = "0.21.0" dependencies = [ "rasn", ] [[package]] name = "rasn-cbr" -version = "0.20.2" +version = "0.21.0" dependencies = [ "rasn", ] [[package]] name = "rasn-cdt" -version = "0.20.2" +version = "0.21.0" dependencies = [ "rasn", ] [[package]] name = "rasn-cms" -version = "0.20.2" +version = "0.21.0" dependencies = [ "pretty_assertions", "rasn", @@ -965,14 +965,14 @@ dependencies = [ [[package]] name = "rasn-credssp" -version = "0.20.2" +version = "0.21.0" dependencies = [ "rasn", ] [[package]] name = "rasn-derive" -version = "0.20.2" +version = "0.21.0" dependencies = [ "proc-macro2", "rasn-derive-impl", @@ -981,7 +981,7 @@ dependencies = [ [[package]] name = "rasn-derive-impl" -version = "0.20.2" +version = "0.21.0" dependencies = [ "either", "itertools 0.13.0", @@ -993,14 +993,14 @@ dependencies = [ [[package]] name = "rasn-h282" -version = "0.20.2" +version = "0.21.0" dependencies = [ "rasn", ] [[package]] name = "rasn-kerberos" -version = "0.20.2" +version = "0.21.0" dependencies = [ "pretty_assertions", "rasn", @@ -1009,14 +1009,14 @@ dependencies = [ [[package]] name = "rasn-ldap" -version = "0.20.2" +version = "0.21.0" dependencies = [ "rasn", ] [[package]] name = "rasn-mib" -version = "0.20.2" +version = "0.21.0" dependencies = [ "rasn", "rasn-smi", @@ -1024,7 +1024,7 @@ dependencies = [ [[package]] name = "rasn-ocsp" -version = "0.20.2" +version = "0.21.0" dependencies = [ "rasn", "rasn-pkix", @@ -1032,7 +1032,7 @@ dependencies = [ [[package]] name = "rasn-pkix" -version = "0.20.2" +version = "0.21.0" dependencies = [ "base64", "bitvec", @@ -1044,7 +1044,7 @@ dependencies = [ [[package]] name = "rasn-smi" -version = "0.20.2" +version = "0.21.0" dependencies = [ "chrono", "rasn", @@ -1052,7 +1052,7 @@ dependencies = [ [[package]] name = "rasn-smime" -version = "0.20.2" +version = "0.21.0" dependencies = [ "rasn", "rasn-cms", @@ -1061,7 +1061,7 @@ dependencies = [ [[package]] name = "rasn-snmp" -version = "0.20.2" +version = "0.21.0" dependencies = [ "hex", "pretty_assertions", diff --git a/Cargo.toml b/Cargo.toml index 5905386c..05ae703c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ exclude = ["fuzzing"] [workspace.package] edition = "2021" license = "MIT OR Apache-2.0" -version = "0.20.2" +version = "0.21.0" repository = "https://github.com/librasn/rasn.git" [workspace.dependencies] @@ -78,7 +78,7 @@ once_cell = { version = "1.20.2", default-features = false, features = [ "alloc", ] } rasn-compiler = { version = "0.5.3", optional = true } -rasn-derive = { version = "0.20", path = "macros" } +rasn-derive = { version = "0.21", path = "macros" } snafu = { version = "0.8.5", default-features = false, features = [ "rust_1_81", ] } diff --git a/macros/CHANGELOG.md b/macros/CHANGELOG.md index 10edfc38..2cfc7b77 100644 --- a/macros/CHANGELOG.md +++ b/macros/CHANGELOG.md @@ -6,6 +6,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.21.0](https://github.com/librasn/rasn/compare/rasn-derive-v0.20.2...rasn-derive-v0.21.0) - 2024-11-03 + +### Fixed + +- cleanup some unnecessary dependencies ([#362](https://github.com/librasn/rasn/pull/362)) +- Don't override generics impl in proc-macros on encode impl ([#354](https://github.com/librasn/rasn/pull/354)) +- decoding of extended fields in sequence in BER ([#351](https://github.com/librasn/rasn/pull/351)) + +### Other + +- Extract proc macro into own crate ([#364](https://github.com/librasn/rasn/pull/364)) +- Optimize field presence tracking of default/optional/extended fields ([#324](https://github.com/librasn/rasn/pull/324)) +- Disallow structs without fields for a `set` ([#352](https://github.com/librasn/rasn/pull/352)) +- update dependencies + ## [0.20.2](https://github.com/librasn/rasn/compare/rasn-derive-v0.20.1...rasn-derive-v0.20.2) - 2024-10-18 ### Fixed diff --git a/macros/macros_impl/CHANGELOG.md b/macros/macros_impl/CHANGELOG.md index c38cf692..0847978b 100644 --- a/macros/macros_impl/CHANGELOG.md +++ b/macros/macros_impl/CHANGELOG.md @@ -1,3 +1,11 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] +# Changelog +All notable changes to this project will be documented in this file. + diff --git a/standards/atn-cpdlc/Cargo.toml b/standards/atn-cpdlc/Cargo.toml index 80ff939b..20dcbd16 100644 --- a/standards/atn-cpdlc/Cargo.toml +++ b/standards/atn-cpdlc/Cargo.toml @@ -9,4 +9,4 @@ repository.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -rasn = { path = "../..", version = "0.20" } +rasn = { path = "../..", version = "0.21" } diff --git a/standards/atn-ulcs/Cargo.toml b/standards/atn-ulcs/Cargo.toml index bdecbf16..0490a201 100644 --- a/standards/atn-ulcs/Cargo.toml +++ b/standards/atn-ulcs/Cargo.toml @@ -9,4 +9,4 @@ repository.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -rasn = { path = "../..", version = "0.20" } +rasn = { path = "../..", version = "0.21" } diff --git a/standards/cap/Cargo.toml b/standards/cap/Cargo.toml index dbf822bf..871e71dc 100644 --- a/standards/cap/Cargo.toml +++ b/standards/cap/Cargo.toml @@ -9,4 +9,4 @@ repository.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -rasn = { path = "../..", version = "0.20" } +rasn = { path = "../..", version = "0.21" } diff --git a/standards/cbr/Cargo.toml b/standards/cbr/Cargo.toml index 0834f955..0179d7d2 100644 --- a/standards/cbr/Cargo.toml +++ b/standards/cbr/Cargo.toml @@ -9,4 +9,4 @@ repository.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -rasn = { path = "../..", version = "0.20" } +rasn = { path = "../..", version = "0.21" } diff --git a/standards/cdt/Cargo.toml b/standards/cdt/Cargo.toml index ea58f0ef..b5d708bf 100644 --- a/standards/cdt/Cargo.toml +++ b/standards/cdt/Cargo.toml @@ -9,4 +9,4 @@ repository.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -rasn = { path = "../..", version = "0.20" } +rasn = { path = "../..", version = "0.21" } diff --git a/standards/cms/CHANGELOG.md b/standards/cms/CHANGELOG.md index cc718ef3..6e91eddc 100644 --- a/standards/cms/CHANGELOG.md +++ b/standards/cms/CHANGELOG.md @@ -6,6 +6,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.21.0](https://github.com/librasn/rasn/compare/rasn-cms-v0.20.2...rasn-cms-v0.21.0) - 2024-11-03 + +### Fixed + +- Fix most issues related to dependency update, except hashbrown version ([#349](https://github.com/librasn/rasn/pull/349)) + +### Other + +- Optimize field presence tracking of default/optional/extended fields ([#324](https://github.com/librasn/rasn/pull/324)) + ## [0.20.2](https://github.com/librasn/rasn/compare/rasn-cms-v0.20.1...rasn-cms-v0.20.2) - 2024-10-18 ### Fixed diff --git a/standards/cms/Cargo.toml b/standards/cms/Cargo.toml index 9a1de02e..8d90ccc0 100644 --- a/standards/cms/Cargo.toml +++ b/standards/cms/Cargo.toml @@ -7,11 +7,11 @@ license.workspace = true repository.workspace = true [dependencies.rasn] -version = "0.20" +version = "0.21" path = "../.." [dependencies.rasn-pkix] -version = "0.20" +version = "0.21" path = "../pkix" [dev-dependencies] diff --git a/standards/credssp/Cargo.toml b/standards/credssp/Cargo.toml index 8597b2a8..0b2b18b4 100644 --- a/standards/credssp/Cargo.toml +++ b/standards/credssp/Cargo.toml @@ -9,4 +9,4 @@ repository.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -rasn = { path = "../..", version = "0.20" } +rasn = { path = "../..", version = "0.21" } diff --git a/standards/h282/Cargo.toml b/standards/h282/Cargo.toml index 5cdd8e5e..10691e2a 100644 --- a/standards/h282/Cargo.toml +++ b/standards/h282/Cargo.toml @@ -9,4 +9,4 @@ repository.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -rasn = { path = "../..", version = "0.20" } +rasn = { path = "../..", version = "0.21" } diff --git a/standards/kerberos/Cargo.toml b/standards/kerberos/Cargo.toml index bda302ad..15dec993 100644 --- a/standards/kerberos/Cargo.toml +++ b/standards/kerberos/Cargo.toml @@ -14,8 +14,8 @@ features = ["otp"] otp = ["rasn-pkix"] [dependencies] -rasn = { path = "../..", version = "0.20" } -rasn-pkix = { path = "../pkix", version = "0.20", optional = true } +rasn = { path = "../..", version = "0.21" } +rasn-pkix = { path = "../pkix", version = "0.21", optional = true } [dev-dependencies] pretty_assertions.workspace = true diff --git a/standards/ldap/Cargo.toml b/standards/ldap/Cargo.toml index 38a97820..5fc6800d 100644 --- a/standards/ldap/Cargo.toml +++ b/standards/ldap/Cargo.toml @@ -9,4 +9,4 @@ repository.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -rasn = { path = "../..", version = "0.20" } +rasn = { path = "../..", version = "0.21" } diff --git a/standards/mib/Cargo.toml b/standards/mib/Cargo.toml index c826bf7f..1147b8d6 100644 --- a/standards/mib/Cargo.toml +++ b/standards/mib/Cargo.toml @@ -9,5 +9,5 @@ repository.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -smi = { path = "../smi", package = "rasn-smi", version = "0.20" } -rasn = { path = "../..", version = "0.20" } +smi = { path = "../smi", package = "rasn-smi", version = "0.21" } +rasn = { path = "../..", version = "0.21" } diff --git a/standards/ocsp/Cargo.toml b/standards/ocsp/Cargo.toml index 26a7bb8a..de65e7ce 100644 --- a/standards/ocsp/Cargo.toml +++ b/standards/ocsp/Cargo.toml @@ -9,5 +9,5 @@ repository.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -rasn = { path = "../..", version = "0.20" } -rasn-pkix = { path = "../pkix", version = "0.20" } +rasn = { path = "../..", version = "0.21" } +rasn-pkix = { path = "../pkix", version = "0.21" } diff --git a/standards/pkix/CHANGELOG.md b/standards/pkix/CHANGELOG.md index 00e4aad3..1a7ef38d 100644 --- a/standards/pkix/CHANGELOG.md +++ b/standards/pkix/CHANGELOG.md @@ -6,6 +6,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.21.0](https://github.com/librasn/rasn/compare/rasn-pkix-v0.20.2...rasn-pkix-v0.21.0) - 2024-11-03 + +### Added + +- Implement Algorithms and Identifiers PKIX module + +### Fixed + +- fmt +- Fix most issues related to dependency update, except hashbrown version ([#349](https://github.com/librasn/rasn/pull/349)) + +### Other + +- Optimize field presence tracking of default/optional/extended fields ([#324](https://github.com/librasn/rasn/pull/324)) +- update dependencies + ## [0.20.2](https://github.com/librasn/rasn/compare/rasn-pkix-v0.20.1...rasn-pkix-v0.20.2) - 2024-10-18 ### Fixed diff --git a/standards/pkix/Cargo.toml b/standards/pkix/Cargo.toml index 27a3808f..4b0d8d00 100644 --- a/standards/pkix/Cargo.toml +++ b/standards/pkix/Cargo.toml @@ -9,7 +9,7 @@ repository.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -rasn = { path = "../..", version = "0.20" } +rasn = { path = "../..", version = "0.21" } [dev-dependencies] base64 = "0.22" diff --git a/standards/smi/Cargo.toml b/standards/smi/Cargo.toml index 24a8f79d..8981c0b3 100644 --- a/standards/smi/Cargo.toml +++ b/standards/smi/Cargo.toml @@ -9,5 +9,5 @@ repository.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -rasn = { path = "../..", version = "0.20" } +rasn = { path = "../..", version = "0.21" } chrono.workspace = true diff --git a/standards/smime/Cargo.toml b/standards/smime/Cargo.toml index 8076ac54..f6b6c9ce 100644 --- a/standards/smime/Cargo.toml +++ b/standards/smime/Cargo.toml @@ -9,6 +9,6 @@ repository.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -rasn = { path = "../..", version = "0.20" } -rasn-cms = { path = "../cms", version = "0.20" } -rasn-pkix = { path = "../pkix", version = "0.20" } +rasn = { path = "../..", version = "0.21" } +rasn-cms = { path = "../cms", version = "0.21" } +rasn-pkix = { path = "../pkix", version = "0.21" } diff --git a/standards/snmp/CHANGELOG.md b/standards/snmp/CHANGELOG.md index 6149b3c1..90b9a91d 100644 --- a/standards/snmp/CHANGELOG.md +++ b/standards/snmp/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.21.0](https://github.com/librasn/rasn/compare/rasn-snmp-v0.20.2...rasn-snmp-v0.21.0) - 2024-11-03 + +### Other + +- Optimize field presence tracking of default/optional/extended fields ([#324](https://github.com/librasn/rasn/pull/324)) + ## [0.20.2](https://github.com/librasn/rasn/compare/rasn-snmp-v0.20.1...rasn-snmp-v0.20.2) - 2024-10-18 ### Fixed diff --git a/standards/snmp/Cargo.toml b/standards/snmp/Cargo.toml index 4386cdcc..3e8162b1 100644 --- a/standards/snmp/Cargo.toml +++ b/standards/snmp/Cargo.toml @@ -8,8 +8,8 @@ license.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -smi = { path = "../smi", package = "rasn-smi", version = "0.20" } -rasn = { path = "../..", version = "0.20" } +smi = { path = "../smi", package = "rasn-smi", version = "0.21" } +rasn = { path = "../..", version = "0.21" } [dev-dependencies] hex = "0.4.3"