Skip to content

Commit 510b74a

Browse files
authored
der v0.7.0 (#899)
1 parent e10afe6 commit 510b74a

File tree

14 files changed

+61
-18
lines changed

14 files changed

+61
-18
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crmf/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ rust-version = "1.65"
1616

1717
[dependencies]
1818
cms = { version = "0.0.0", path = "../cms"}
19-
der = { version = "=0.7.0-pre", features = ["alloc", "derive"], path = "../der" }
19+
der = { version = "0.7", features = ["alloc", "derive"], path = "../der" }
2020
spki = { version = "=0.7.0-pre", path = "../spki" }
2121
x509-cert = { version = "=0.2.0-pre", default-features = false, path = "../x509-cert" }
2222

der/CHANGELOG.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,42 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## 0.7.0 (2023-02-26)
8+
### Added
9+
- `OwnedtoRef`/`RefToOwned` traits; MSRV 1.65 ([#797])
10+
- `OctetStringRef::decode_into` ([#817])
11+
- `Int` and `IntRef` types ([#823])
12+
- `IndefiniteLength` type ([#830])
13+
- `Any::value` accessor ([#833])
14+
- Buffered PEM reader ([#839])
15+
- `OctetString::into_bytes` ([#845])
16+
- Blanket impls on `Box<T>` for `DecodeValue`, `EncodeValue`, and `Sequence` ([#860])
17+
18+
### Changed
19+
- Rename `UIntRef` => `UintRef` ([#786])
20+
- Replace use of `dyn Writer` with `impl Writer` ([#828])
21+
- Rename `AnyRef::decode_into` -> `::decode_as` ([#829])
22+
- Bump `pem-rfc7468` dependency to v0.7 ([#894])
23+
- Rename `Encode::to_vec` => `::to_der` ([#898])
24+
25+
### Removed
26+
- `Sequence::fields` method ([#828])
27+
- Inherent `AnyRef` decoding methods ([#829])
28+
29+
[#786]: https://github.com/RustCrypto/formats/pull/786
30+
[#797]: https://github.com/RustCrypto/formats/pull/797
31+
[#817]: https://github.com/RustCrypto/formats/pull/817
32+
[#823]: https://github.com/RustCrypto/formats/pull/823
33+
[#828]: https://github.com/RustCrypto/formats/pull/828
34+
[#829]: https://github.com/RustCrypto/formats/pull/829
35+
[#830]: https://github.com/RustCrypto/formats/pull/830
36+
[#833]: https://github.com/RustCrypto/formats/pull/833
37+
[#839]: https://github.com/RustCrypto/formats/pull/839
38+
[#845]: https://github.com/RustCrypto/formats/pull/845
39+
[#860]: https://github.com/RustCrypto/formats/pull/860
40+
[#894]: https://github.com/RustCrypto/formats/pull/894
41+
[#898]: https://github.com/RustCrypto/formats/pull/898
42+
743
## 0.6.1 (2022-12-05)
844
### Added
945
- Rudimentary implementation of `TeletexString` and `VideotexString` ([#691])

der/Cargo.toml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "der"
3-
version = "0.7.0-pre"
3+
version = "0.7.0"
44
description = """
55
Pure Rust embedded-friendly implementation of the Distinguished Encoding Rules
66
(DER) for Abstract Syntax Notation One (ASN.1) as described in ITU X.690 with
@@ -16,9 +16,9 @@ edition = "2021"
1616
rust-version = "1.65"
1717

1818
[dependencies]
19-
arbitrary = { version = "1.2.3", features = ["derive"], optional = true }
19+
arbitrary = { version = "1.2", features = ["derive"], optional = true }
2020
const-oid = { version = "0.9.2", optional = true } # TODO: path = "../const-oid"
21-
der_derive = { version = "=0.7.0-pre", optional = true, path = "derive" }
21+
der_derive = { version = "0.7", optional = true, path = "derive" }
2222
flagset = { version = "0.4.3", optional = true }
2323
pem-rfc7468 = { version = "0.7", optional = true, features = ["alloc"], path = "../pem-rfc7468" }
2424
time = { version = "0.3.4", optional = true, default-features = false }
@@ -30,12 +30,13 @@ proptest = "1"
3030

3131
[features]
3232
alloc = []
33-
arbitrary = [ "dep:arbitrary", "const-oid?/arbitrary", "std"]
33+
std = ["alloc"]
34+
35+
arbitrary = ["dep:arbitrary", "const-oid?/arbitrary", "std"]
3436
derive = ["dep:der_derive"]
3537
oid = ["dep:const-oid"]
36-
pem = ["dep:pem-rfc7468", "alloc", "zeroize", ]
38+
pem = ["dep:pem-rfc7468", "alloc", "zeroize"]
3739
real = []
38-
std = ["alloc"]
3940

4041
[package.metadata.docs.rs]
4142
all-features = true

der/derive/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## 0.7.0 (2023-02-26)
8+
### Changed
9+
- Eliminate dynamism from encoding ([#828])
10+
11+
[#828]: https://github.com/RustCrypto/formats/pull/828
12+
713
## 0.6.1 (2022-12-05)
814
### Added
915
- Support for deriving `ValueOrd` on `Choice` enums ([#723])

der/derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "der_derive"
3-
version = "0.7.0-pre"
3+
version = "0.7.0"
44
description = "Custom derive support for the `der` crate's `Choice` and `Sequence` traits"
55
authors = ["RustCrypto Developers"]
66
license = "Apache-2.0 OR MIT"

pkcs1/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ edition = "2021"
1515
rust-version = "1.60"
1616

1717
[dependencies]
18-
der = { version = "=0.7.0-pre", features = ["oid"], path = "../der" }
18+
der = { version = "0.7", features = ["oid"], path = "../der" }
1919
spki = { version = "=0.7.0-pre", path = "../spki" }
2020

2121
# optional dependencies

pkcs5/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ edition = "2021"
1515
rust-version = "1.65"
1616

1717
[dependencies]
18-
der = { version = "=0.7.0-pre", features = ["oid"], path = "../der" }
18+
der = { version = "0.7", features = ["oid"], path = "../der" }
1919
spki = { version = "=0.7.0-pre", path = "../spki" }
2020

2121
# optional dependencies

pkcs7/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ edition = "2021"
1515
rust-version = "1.65"
1616

1717
[dependencies]
18-
der = { version = "=0.7.0-pre", features = ["oid"], path = "../der" }
18+
der = { version = "0.7", features = ["oid"], path = "../der" }
1919
spki = { version = "=0.7.0-pre", path = "../spki" }
2020
x509-cert = { version = "=0.2.0-pre", default-features = false, path = "../x509-cert" }
2121

pkcs8/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ edition = "2021"
1616
rust-version = "1.65"
1717

1818
[dependencies]
19-
der = { version = "=0.7.0-pre", features = ["oid"], path = "../der" }
19+
der = { version = "0.7", features = ["oid"], path = "../der" }
2020
spki = { version = "=0.7.0-pre", path = "../spki" }
2121

2222
# optional dependencies

sec1/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ rust-version = "1.65"
1717

1818
[dependencies]
1919
base16ct = { version = "0.2", optional = true, default-features = false, path = "../base16ct" }
20-
der = { version = "=0.7.0-pre", optional = true, features = ["oid"], path = "../der" }
20+
der = { version = "0.7", optional = true, features = ["oid"], path = "../der" }
2121
generic-array = { version = "0.14.6", optional = true, default-features = false }
2222
pkcs8 = { version = "=0.10.0-pre", optional = true, default-features = false, path = "../pkcs8" }
2323
serdect = { version = "0.2", optional = true, default-features = false, features = ["alloc"], path = "../serdect" }

spki/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ edition = "2021"
1515
rust-version = "1.65"
1616

1717
[dependencies]
18-
der = { version = "=0.7.0-pre", features = ["oid"], path = "../der" }
18+
der = { version = "0.7", features = ["oid"], path = "../der" }
1919

2020
# Optional dependencies
2121
arbitrary = { version = "1.2.3", features = ["derive"], optional = true }

x509-cert/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ rust-version = "1.65"
1616

1717
[dependencies]
1818
const-oid = { version = "0.9.2", features = ["db"] } # TODO: path = "../const-oid"
19-
der = { version = "=0.7.0-pre", features = ["derive", "alloc", "flagset", "oid"], path = "../der" }
19+
der = { version = "0.7", features = ["derive", "alloc", "flagset", "oid"], path = "../der" }
2020
spki = { version = "=0.7.0-pre", path = "../spki", features = ["alloc"] }
2121

2222
# optional dependencies

x509-ocsp/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ edition = "2021"
1515
rust-version = "1.65"
1616

1717
[dependencies]
18-
der = { version = "=0.7.0-pre", features = ["alloc", "derive", "oid"], path = "../der" }
18+
der = { version = "0.7", features = ["alloc", "derive", "oid"], path = "../der" }
1919
spki = { version = "=0.7.0-pre", path = "../spki" }
2020
x509-cert = { version = "=0.2.0-pre", default-features = false, path = "../x509-cert" }
2121

0 commit comments

Comments
 (0)