Skip to content

Commit

Permalink
Implement SQL storage using new p2panda_rs storage provider traits (#…
Browse files Browse the repository at this point in the history
…80)

* Update p2panda-rs in Cargo.toml

* Update p2panda-rs again

* Handle new SchemaId type

* Add basic storage traits for entry

* Request and response traits

* Conversion traits for log

* Add storage traits for log

* Implement EntryStore trait

* Implement StorageProvider trait for SqlStorage

* A lot of tidy up

* Implement high level API calls and update tests

* Change p2panda-rs to git target

* Fix typo

* Remove unused imports

* WIP: rework conversion traits

* Update storage provider API

* Update storage traits

* Cargo.lock update

* Update cargo lock again

* Fix after merge

* Import order

* Update for storage_provider API changes

* Bump bamboo-yasmf to 0.1.1

* Update storage provider API

* Bump axum

* Bump p2panda-rs

* Correctly return payload bytes

* Remove unused imports

* Update CHANGELOG

* Remove aquadoggo Entry struct

* Update p2panda-rs storage traits API

* Slightly restructure store methods

* Tidy imports

* Remove println

* Update p2panda-rs

* Reinstate missing tests

* Set p2panda-rs branch to main in Cargo.toml
  • Loading branch information
sandreae committed Apr 28, 2022
1 parent fb6e7d7 commit cbb3b50
Show file tree
Hide file tree
Showing 17 changed files with 879 additions and 1,008 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- Move to `tokio` async runtime [#75](https://github.com/p2panda/aquadoggo/pull/75)
- Implement SQL storage using `p2panda_rs` storage provider traits [#80](https://github.com/p2panda/aquadoggo/pull/80)

## [0.2.0]

Expand Down
Loading

0 comments on commit cbb3b50

Please sign in to comment.