diff --git a/CHANGELOG.md b/CHANGELOG.md index f2569282..946c9598 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.23.0](https://github.com/librasn/rasn/compare/rasn-v0.22.2...rasn-v0.23.0) - 2025-01-13 + +### Added + +- [**breaking**] Add basic support for REAL using f32/f64 with JER/OER rules (#406) +- add a convenience macro for parsing string literals into `&'static Oid`s (#404) + +### Fixed + +- some clippy lints causing CI to fail (#405) + ## [0.22.2](https://github.com/librasn/rasn/compare/rasn-v0.22.1...rasn-v0.22.2) - 2025-01-05 ### Other diff --git a/Cargo.lock b/Cargo.lock index a383cc5a..6283c065 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -878,7 +878,7 @@ dependencies = [ [[package]] name = "rasn" -version = "0.22.2" +version = "0.23.0" dependencies = [ "bitvec", "bitvec-nom2", @@ -911,42 +911,42 @@ dependencies = [ [[package]] name = "rasn-atn-cpdlc" -version = "0.22.2" +version = "0.23.0" dependencies = [ "rasn", ] [[package]] name = "rasn-atn-ulcs" -version = "0.22.2" +version = "0.23.0" dependencies = [ "rasn", ] [[package]] name = "rasn-cap" -version = "0.22.2" +version = "0.23.0" dependencies = [ "rasn", ] [[package]] name = "rasn-cbr" -version = "0.22.2" +version = "0.23.0" dependencies = [ "rasn", ] [[package]] name = "rasn-cdt" -version = "0.22.2" +version = "0.23.0" dependencies = [ "rasn", ] [[package]] name = "rasn-cms" -version = "0.22.2" +version = "0.23.0" dependencies = [ "pretty_assertions", "rasn", @@ -969,14 +969,14 @@ dependencies = [ [[package]] name = "rasn-credssp" -version = "0.22.2" +version = "0.23.0" dependencies = [ "rasn", ] [[package]] name = "rasn-derive" -version = "0.22.2" +version = "0.23.0" dependencies = [ "proc-macro2", "rasn-derive-impl", @@ -985,7 +985,7 @@ dependencies = [ [[package]] name = "rasn-derive-impl" -version = "0.22.2" +version = "0.23.0" dependencies = [ "either", "itertools 0.13.0", @@ -997,14 +997,14 @@ dependencies = [ [[package]] name = "rasn-h282" -version = "0.22.2" +version = "0.23.0" dependencies = [ "rasn", ] [[package]] name = "rasn-kerberos" -version = "0.22.2" +version = "0.23.0" dependencies = [ "pretty_assertions", "rasn", @@ -1013,14 +1013,14 @@ dependencies = [ [[package]] name = "rasn-ldap" -version = "0.22.2" +version = "0.23.0" dependencies = [ "rasn", ] [[package]] name = "rasn-mib" -version = "0.22.2" +version = "0.23.0" dependencies = [ "rasn", "rasn-smi", @@ -1028,7 +1028,7 @@ dependencies = [ [[package]] name = "rasn-ocsp" -version = "0.22.2" +version = "0.23.0" dependencies = [ "rasn", "rasn-pkix", @@ -1036,7 +1036,7 @@ dependencies = [ [[package]] name = "rasn-pkix" -version = "0.22.2" +version = "0.23.0" dependencies = [ "base64", "bitvec", @@ -1048,7 +1048,7 @@ dependencies = [ [[package]] name = "rasn-smi" -version = "0.22.2" +version = "0.23.0" dependencies = [ "chrono", "rasn", @@ -1056,7 +1056,7 @@ dependencies = [ [[package]] name = "rasn-smime" -version = "0.22.2" +version = "0.23.0" dependencies = [ "rasn", "rasn-cms", @@ -1065,7 +1065,7 @@ dependencies = [ [[package]] name = "rasn-snmp" -version = "0.22.2" +version = "0.23.0" dependencies = [ "hex", "pretty_assertions", diff --git a/Cargo.toml b/Cargo.toml index 0525fde1..bcc09bef 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.22.2" +version = "0.23.0" repository = "https://github.com/librasn/rasn.git" [workspace.dependencies] @@ -92,7 +92,7 @@ once_cell = { version = "1.20.2", default-features = false, features = [ "alloc", ] } rasn-compiler = { version = "0.5.3", optional = true } -rasn-derive = { version = "0.22", path = "macros" } +rasn-derive = { version = "0.23", path = "macros" } snafu = { version = "0.8.5", default-features = false, features = [ "rust_1_81", ] } diff --git a/macros/Cargo.toml b/macros/Cargo.toml index 6a7a4ea6..31f64430 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -15,4 +15,4 @@ proc-macro = true [dependencies] syn = { version = "2.0.79", features = ["extra-traits"] } proc-macro2 = "1.0.88" -rasn-derive-impl = { version = "0.22.2", path = "macros_impl" } +rasn-derive-impl = { version = "0.23.0", path = "macros_impl" } diff --git a/standards/atn-cpdlc/Cargo.toml b/standards/atn-cpdlc/Cargo.toml index 1169a353..ce965648 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.22" } +rasn = { path = "../..", version = "0.23" } diff --git a/standards/atn-ulcs/Cargo.toml b/standards/atn-ulcs/Cargo.toml index 85a788b2..ea93a2cc 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.22" } +rasn = { path = "../..", version = "0.23" } diff --git a/standards/cap/Cargo.toml b/standards/cap/Cargo.toml index 5b9c8e47..d55503db 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.22" } +rasn = { path = "../..", version = "0.23" } diff --git a/standards/cbr/Cargo.toml b/standards/cbr/Cargo.toml index aac61c8b..561d86ed 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.22" } +rasn = { path = "../..", version = "0.23" } diff --git a/standards/cdt/Cargo.toml b/standards/cdt/Cargo.toml index 39bc92a1..f7d6eb31 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.22" } +rasn = { path = "../..", version = "0.23" } diff --git a/standards/cms/Cargo.toml b/standards/cms/Cargo.toml index 2d9d9541..ce6c8d42 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.22" +version = "0.23" path = "../.." [dependencies.rasn-pkix] -version = "0.22" +version = "0.23" path = "../pkix" [dev-dependencies] diff --git a/standards/credssp/Cargo.toml b/standards/credssp/Cargo.toml index 32e90bcf..25b0568c 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.22" } +rasn = { path = "../..", version = "0.23" } diff --git a/standards/h282/Cargo.toml b/standards/h282/Cargo.toml index e7b22a64..d7636896 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.22" } +rasn = { path = "../..", version = "0.23" } diff --git a/standards/kerberos/Cargo.toml b/standards/kerberos/Cargo.toml index bfe1fcac..f9f17ea8 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.22" } -rasn-pkix = { path = "../pkix", version = "0.22", optional = true } +rasn = { path = "../..", version = "0.23" } +rasn-pkix = { path = "../pkix", version = "0.23", optional = true } [dev-dependencies] pretty_assertions.workspace = true diff --git a/standards/ldap/Cargo.toml b/standards/ldap/Cargo.toml index 6b0da7b0..a18c9197 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.22" } +rasn = { path = "../..", version = "0.23" } diff --git a/standards/mib/Cargo.toml b/standards/mib/Cargo.toml index 205ee687..ab5930c5 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.22" } -rasn = { path = "../..", version = "0.22" } +smi = { path = "../smi", package = "rasn-smi", version = "0.23" } +rasn = { path = "../..", version = "0.23" } diff --git a/standards/ocsp/Cargo.toml b/standards/ocsp/Cargo.toml index 9bbb04dd..7b6a6ee4 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.22" } -rasn-pkix = { path = "../pkix", version = "0.22" } +rasn = { path = "../..", version = "0.23" } +rasn-pkix = { path = "../pkix", version = "0.23" } diff --git a/standards/pkix/Cargo.toml b/standards/pkix/Cargo.toml index 46753344..841f0397 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.22" } +rasn = { path = "../..", version = "0.23" } [dev-dependencies] base64 = "0.22" diff --git a/standards/smi/Cargo.toml b/standards/smi/Cargo.toml index 72dd8fcd..99d55d14 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.22" } +rasn = { path = "../..", version = "0.23" } chrono.workspace = true diff --git a/standards/smime/Cargo.toml b/standards/smime/Cargo.toml index 75cc6131..7a2c2310 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.22" } -rasn-cms = { path = "../cms", version = "0.22" } -rasn-pkix = { path = "../pkix", version = "0.22" } +rasn = { path = "../..", version = "0.23" } +rasn-cms = { path = "../cms", version = "0.23" } +rasn-pkix = { path = "../pkix", version = "0.23" } diff --git a/standards/snmp/Cargo.toml b/standards/snmp/Cargo.toml index 90e297fb..48675d09 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.22" } -rasn = { path = "../..", version = "0.22" } +smi = { path = "../smi", package = "rasn-smi", version = "0.23" } +rasn = { path = "../..", version = "0.23" } [dev-dependencies] hex = "0.4.3"