let mut file = File::options().read(true).open("file").unwrap();
let ec = EcHdr::from_reader((&mut file, 0)).unwrap();
The more internal (with context) read(..) was replaced with from_reader_with_ctx(..).
With the switch to internal streaming, the variables deku::input, deku::input_bits, and deku::rest are now not possible and were removed.
deku::reader is a replacement for some of the functionality.
See https://github.com/sharksforarms/deku/blob/HEAD/examples/deku_input.rs for a new example of caching all reads.
let mut file = File::options().read(true).open("file").unwrap();
let ec = EcHdr::from_reader((&mut file, 0)).unwrap();
The more internal (with context) read(..) was replaced with from_reader_with_ctx(..).
With the switch to internal streaming, the variables deku::input, deku::input_bits, and deku::rest are now not possible and were removed.
deku::reader is a replacement for some of the functionality.
See https://github.com/sharksforarms/deku/blob/master/examples/deku_input.rs for a new example of caching all reads.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps deku from 0.16.0 to 0.17.0.
Release notes
Sourced from deku's releases.
... (truncated)
Changelog
Sourced from deku's changelog.
... (truncated)
Commits
7ce4d86
release: deku and deku-derive releasee8ee418
prep for 0.17 release184dca4
Update deps (#438)bd352e5
Remove unused DekuWrite trait (#419)75f9ecf
Add diagnostic::on_unimplemented attribute on rust >=1.78 (#437)e92700a
Add reader::read_bytes_const (#429)1079ada
Bump edition in deku-derive to 2021 (#436)b6a46d5
Fix error for invalid deku_id generation on generic enum (#411)d6bf743
Update changelog (#432)ba76deb
writer: Remove one allocation (#430)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show