Skip to content

Commit

Permalink
Persister for IndexDB (#25)
Browse files Browse the repository at this point in the history
* indexdb working impl

* downgrade leptos version from 0.6.6 to 0.6.5 to fix resource transition

* breakup persister with feature flags

* initialize index_db with spawn local instead of waiting for first access.

* add async trait sized option to LocalStoragePersister server impl

* add comment on QueryPersister trait

* eager initialization of index_db with once_cell

* move db into struct instead of threadlocal

* update lock file for example

* remove comments

* allow dead code in CacheSize trait

* minor comment typo
  • Loading branch information
nicoburniske committed Feb 21, 2024
1 parent ebfd706 commit 1d5bec0
Show file tree
Hide file tree
Showing 9 changed files with 3,193 additions and 95 deletions.
113 changes: 111 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions example/start-axum/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# will have compiled files and executables
/target/
pkg
Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

Expand Down

0 comments on commit 1d5bec0

Please sign in to comment.