Skip to content

Commit

Permalink
feat: generalize stable storage API by adding 64-bit support for std:…
Browse files Browse the repository at this point in the history
…:io traits

* Implement io::Seek
* Add StableIO structure that implements both io::Read, and io::Write
  • Loading branch information
ncpenke committed Nov 5, 2022
1 parent 14267d8 commit 20a65e7
Show file tree
Hide file tree
Showing 3 changed files with 326 additions and 71 deletions.
10 changes: 10 additions & 0 deletions src/ic-cdk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [unreleased]

### Added

- Added `StableIO` to implement both `io::Write` and `io::Read` for stable memory.
- Added 64-bit support for `io::Write` and `io::Read` via `StableIO`.
- Implement `io::Seek` for stable storage.

### Changed

- `StableWriter` and `StableReader` are now wrappers around `StableIO`.

## [0.6.5] - 2022-11-04

### Changed
Expand Down
Loading

0 comments on commit 20a65e7

Please sign in to comment.