Commit 8425274
authored
der_derive v0.8.0 (#2226)
## Added
- `Sequence`, `Enumerated` and `Choice` macros now support `#[asn1(error = Ty)]`
attribute that provides a custom error type for `Decode`/`DecodeValue`
implementations (#1560)
- `BitString` macro (#1720, #1733)
- `DecodeValue`, `EncodeValue` macros (#1722)
- Derive support for `APPLICATION` and `PRIVATE` tags (#1825)
- Impl `DecodeValue` for `Choice` (#1986)
## Changed
- Use `TryFrom` conversions for `asn1(type = ...)` (#1562)
- Rewrite `EncodeValue::value_len` as simple addition (#1810)
- Change OctetStringRef `&` handling due to `der` type changes
(#1998, #2040, #2043)1 parent 70f94d1 commit 8425274
File tree
4 files changed
+12
-12
lines changed- .github/workflows
- der_derive
- der
4 files changed
+12
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
10 | 9 | | |
11 | | - | |
12 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments