Skip to content

Commit cbf0a21

Browse files
chore: release v0.19.2 (#610)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 94b5671 commit cbf0a21

File tree

4 files changed

+35
-5
lines changed

4 files changed

+35
-5
lines changed

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,36 @@
22

33
## [Unreleased]
44

5+
## [0.20.0](https://github.com/sharksforarms/deku/compare/deku-v0.19.1...deku-v0.20.0) - 2025-10-15
6+
7+
### Fixed
8+
9+
- remove unsafe slice MaybeUninit::uninit().assume_init() ([#601](https://github.com/sharksforarms/deku/pull/601))
10+
11+
### Other
12+
13+
- update deps ([#612](https://github.com/sharksforarms/deku/pull/612))
14+
- Fix #571: Add more documentation about ctx in the first example ([#574](https://github.com/sharksforarms/deku/pull/574))
15+
- introduce release-plz
16+
- Fix reading little endian fields in LSB order when not aligned to byte boundaries ([#604](https://github.com/sharksforarms/deku/pull/604))
17+
- Ensure bits fit in container ([#598](https://github.com/sharksforarms/deku/pull/598))
18+
- Fix big endian bit_order lsb writing ([#597](https://github.com/sharksforarms/deku/pull/597))
19+
- Improve error message for id_type and missing repr ([#596](https://github.com/sharksforarms/deku/pull/596))
20+
- Fix bit order padding logic in Writer::finalize and update tests ([#595](https://github.com/sharksforarms/deku/pull/595))
21+
- Expose `alloc` as a selectable feature ([#582](https://github.com/sharksforarms/deku/pull/582))
22+
- Removed duplicate `bits` entry from the 'List of attributes' section of attributes docs ([#588](https://github.com/sharksforarms/deku/pull/588))
23+
- Fix DekuRead for #[repr(...)] enums constructed using `id` via `ctx` and whose variants assign discriminant values ([#577](https://github.com/sharksforarms/deku/pull/577))
24+
- Change arc/cow/cstring requirements from std to alloc ([#579](https://github.com/sharksforarms/deku/pull/579))
25+
- deku_read: Use checked slice for remaining data ([#581](https://github.com/sharksforarms/deku/pull/581))
26+
- Implements From<DekuError> for no_std_io::io::Error in no_std context ([#578](https://github.com/sharksforarms/deku/pull/578))
27+
- Warnings and clippy fixes ([#575](https://github.com/sharksforarms/deku/pull/575))
28+
- hashset: tests: Handle arbitrary iteration order of HashSet ([#573](https://github.com/sharksforarms/deku/pull/573))
29+
- add map attribute to list ([#570](https://github.com/sharksforarms/deku/pull/570))
30+
- Return empty vec for read_to_end ZST ([#566](https://github.com/sharksforarms/deku/pull/566))
31+
- Bugfix/signed values in bitfields ([#565](https://github.com/sharksforarms/deku/pull/565))
32+
- Fix writer dropping count of bytes written for unaligned writes ([#561](https://github.com/sharksforarms/deku/pull/561))
33+
- Fix CString byte length reading ([#563](https://github.com/sharksforarms/deku/pull/563))
34+
535
## Added
636

737
- The `alloc` feature, allowing use in environments lacking a heap [#582](https://github.com/sharksforarms/deku/pull/582)

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
authors = ["sharks <sharks@sharks>"]
33
edition = "2021"
44
name = "deku"
5-
version = "0.19.1"
5+
version = "0.20.0"
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/sharksforarms/deku"
88
keywords = ["deku", "bits", "serialization", "deserialization", "struct"]
@@ -28,7 +28,7 @@ bits = ["dep:bitvec", "deku_derive/bits", "alloc" ]
2828
descriptive-errors = ["alloc"]
2929

3030
[dependencies]
31-
deku_derive = { version = "^0.19.1", path = "deku-derive", default-features = false}
31+
deku_derive = { version = "^0.20.0", path = "deku-derive", default-features = false}
3232
bitvec = { version = "1.0.1", default-features = false, optional = true }
3333
log = { version = "0.4.28", optional = true }
3434
no_std_io = { version = "0.9.1", default-features = false, package = "no_std_io2" }

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ for binary structs or network headers
2121

2222
```toml
2323
[dependencies]
24-
deku = "0.19"
24+
deku = "0.20"
2525
```
2626

2727
no_std:
2828
```toml
2929
[dependencies]
30-
deku = { version = "0.19", default-features = false, features = ["alloc"] }
30+
deku = { version = "0.20", default-features = false, features = ["alloc"] }
3131
```
3232

3333
## Example

deku-derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
authors = ["sharks <sharks@sharks>"]
33
edition = "2021"
44
name = "deku_derive"
5-
version = "0.19.1"
5+
version = "0.20.0"
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/sharksforarms/deku"
88
description = "bit level serialization/deserialization proc-macro for structs"

0 commit comments

Comments
 (0)