Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crmf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ rust-version = "1.65"

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

Expand Down
36 changes: 36 additions & 0 deletions der/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,42 @@ 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).

## 0.7.0 (2023-02-26)
### Added
- `OwnedtoRef`/`RefToOwned` traits; MSRV 1.65 ([#797])
- `OctetStringRef::decode_into` ([#817])
- `Int` and `IntRef` types ([#823])
- `IndefiniteLength` type ([#830])
- `Any::value` accessor ([#833])
- Buffered PEM reader ([#839])
- `OctetString::into_bytes` ([#845])
- Blanket impls on `Box<T>` for `DecodeValue`, `EncodeValue`, and `Sequence` ([#860])

### Changed
- Rename `UIntRef` => `UintRef` ([#786])
- Replace use of `dyn Writer` with `impl Writer` ([#828])
- Rename `AnyRef::decode_into` -> `::decode_as` ([#829])
- Bump `pem-rfc7468` dependency to v0.7 ([#894])
- Rename `Encode::to_vec` => `::to_der` ([#898])

### Removed
- `Sequence::fields` method ([#828])
- Inherent `AnyRef` decoding methods ([#829])

[#786]: https://github.com/RustCrypto/formats/pull/786
[#797]: https://github.com/RustCrypto/formats/pull/797
[#817]: https://github.com/RustCrypto/formats/pull/817
[#823]: https://github.com/RustCrypto/formats/pull/823
[#828]: https://github.com/RustCrypto/formats/pull/828
[#829]: https://github.com/RustCrypto/formats/pull/829
[#830]: https://github.com/RustCrypto/formats/pull/830
[#833]: https://github.com/RustCrypto/formats/pull/833
[#839]: https://github.com/RustCrypto/formats/pull/839
[#845]: https://github.com/RustCrypto/formats/pull/845
[#860]: https://github.com/RustCrypto/formats/pull/860
[#894]: https://github.com/RustCrypto/formats/pull/894
[#898]: https://github.com/RustCrypto/formats/pull/898

## 0.6.1 (2022-12-05)
### Added
- Rudimentary implementation of `TeletexString` and `VideotexString` ([#691])
Expand Down
13 changes: 7 additions & 6 deletions der/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "der"
version = "0.7.0-pre"
version = "0.7.0"
description = """
Pure Rust embedded-friendly implementation of the Distinguished Encoding Rules
(DER) for Abstract Syntax Notation One (ASN.1) as described in ITU X.690 with
Expand All @@ -16,9 +16,9 @@ edition = "2021"
rust-version = "1.65"

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

[features]
alloc = []
arbitrary = [ "dep:arbitrary", "const-oid?/arbitrary", "std"]
std = ["alloc"]

arbitrary = ["dep:arbitrary", "const-oid?/arbitrary", "std"]
derive = ["dep:der_derive"]
oid = ["dep:const-oid"]
pem = ["dep:pem-rfc7468", "alloc", "zeroize", ]
pem = ["dep:pem-rfc7468", "alloc", "zeroize"]
real = []
std = ["alloc"]

[package.metadata.docs.rs]
all-features = true
Expand Down
6 changes: 6 additions & 0 deletions der/derive/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ 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).

## 0.7.0 (2023-02-26)
### Changed
- Eliminate dynamism from encoding ([#828])

[#828]: https://github.com/RustCrypto/formats/pull/828

## 0.6.1 (2022-12-05)
### Added
- Support for deriving `ValueOrd` on `Choice` enums ([#723])
Expand Down
2 changes: 1 addition & 1 deletion der/derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "der_derive"
version = "0.7.0-pre"
version = "0.7.0"
description = "Custom derive support for the `der` crate's `Choice` and `Sequence` traits"
authors = ["RustCrypto Developers"]
license = "Apache-2.0 OR MIT"
Expand Down
2 changes: 1 addition & 1 deletion pkcs1/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ edition = "2021"
rust-version = "1.60"

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

# optional dependencies
Expand Down
2 changes: 1 addition & 1 deletion pkcs5/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ edition = "2021"
rust-version = "1.65"

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

# optional dependencies
Expand Down
2 changes: 1 addition & 1 deletion pkcs7/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ edition = "2021"
rust-version = "1.65"

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

Expand Down
2 changes: 1 addition & 1 deletion pkcs8/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ edition = "2021"
rust-version = "1.65"

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

# optional dependencies
Expand Down
2 changes: 1 addition & 1 deletion sec1/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ rust-version = "1.65"

[dependencies]
base16ct = { version = "0.2", optional = true, default-features = false, path = "../base16ct" }
der = { version = "=0.7.0-pre", optional = true, features = ["oid"], path = "../der" }
der = { version = "0.7", optional = true, features = ["oid"], path = "../der" }
generic-array = { version = "0.14.6", optional = true, default-features = false }
pkcs8 = { version = "=0.10.0-pre", optional = true, default-features = false, path = "../pkcs8" }
serdect = { version = "0.2", optional = true, default-features = false, features = ["alloc"], path = "../serdect" }
Expand Down
2 changes: 1 addition & 1 deletion spki/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ edition = "2021"
rust-version = "1.65"

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

# Optional dependencies
arbitrary = { version = "1.2.3", features = ["derive"], optional = true }
Expand Down
2 changes: 1 addition & 1 deletion x509-cert/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ rust-version = "1.65"

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

# optional dependencies
Expand Down
2 changes: 1 addition & 1 deletion x509-ocsp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ edition = "2021"
rust-version = "1.65"

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

Expand Down