3 releases

0.1.0 Feb 28, 2021
0.0.7-alpha Mar 7, 2021
0.0.2 Feb 28, 2021

#1213 in WebAssembly

23 downloads per month

MIT license

11KB
113 lines

Pouch - Rust bindings for PouchDB

PAY ATTENTION: NOT READY FOR USE

Rust bindings to make PouchDB available for usage with Yew and other browser-based Rust frameworks.

Current features, and such in progress:

  • Create/open database
  • Close database
  • Get database info
  • Create/update doc
  • Delete doc
  • Delete database

Quality aspects:

  • Example with Yew
  • API documentation
  • Regression tests with Node (problems with pouchdb js exports)
  • Regression tests with Chrome (problems with pouchdb js exports)

Test

Deactivated currently due to problems with pouchdb module exports

Launch all wasm-bindgen-test based tests with Node.js:

wasm-pack test --node

Examples

Yew

Take a look to the Yew example.

Dependencies

~1.4–4MB
~71K SLoC