Lucas Nogueira
|
8a8bdcac23
|
rename createOrLoad to newOrExisting
|
2024-10-15 10:28:22 -03:00 |
|
Lucas Nogueira
|
028d6661ca
|
reintroduce "get existing store" behavior for create_or_load
|
2024-10-15 09:52:56 -03:00 |
|
Lucas Nogueira
|
afbb5aae05
|
fmt
|
2024-10-15 08:08:52 -03:00 |
|
Lucas Nogueira
|
ff9bddd95c
|
make api consistent with the JS implementation, add examples
|
2024-10-15 08:06:27 -03:00 |
|
Lucas Nogueira
|
083c165543
|
rename createOrExistingStore to createOrLoad
|
2024-10-15 07:31:54 -03:00 |
|
Tony
|
7aca255209
|
Update readme
|
2024-10-15 09:34:52 +08:00 |
|
Tony
|
1c401f7cb0
|
Fix wrong jsdoc param
|
2024-10-14 22:35:54 +08:00 |
|
Tony
|
99321ddbfa
|
Remove StoreInner from pub and expose is_empty
|
2024-10-14 20:34:43 +08:00 |
|
Tony
|
02d077ea3b
|
Remove with_store
|
2024-10-14 15:32:47 +08:00 |
|
Tony
|
1498eb5404
|
Expose resolve_store_path
|
2024-10-14 09:58:52 +08:00 |
|
Tony
|
a020ae38e2
|
Remove unused pub(crate)
|
2024-10-11 13:24:47 +08:00 |
|
Tony
|
3f470a7a67
|
Clean up
|
2024-10-10 17:15:13 +08:00 |
|
Tony
|
39dec5d5b4
|
Change to close_resource and take &self
|
2024-10-10 16:12:57 +08:00 |
|
Tony
|
d88fcb5c8a
|
Return result in resolve_store_path
|
2024-10-10 15:53:32 +08:00 |
|
Tony
|
7c24d4a939
|
Merge remote-tracking branch 'upstream/v2' into store-rework-2
|
2024-10-10 14:19:37 +08:00 |
|
Tony
|
3413d2a0f7
|
Use close instead
|
2024-10-10 14:05:54 +08:00 |
|
Tony
|
230e6bbdf3
|
Apply suggestions from code review
|
2024-10-10 13:59:07 +08:00 |
|
renovate[bot]
|
0058583583
|
fix(deps): update tauri monorepo to v2.0.2 (#1874)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
2024-10-08 15:29:28 +08:00 |
|
Tony
|
c7094473eb
|
Update readme
|
2024-10-08 10:31:28 +08:00 |
|
Tony
|
a00cb15224
|
Rename inner store's inset method to set
|
2024-10-08 10:22:58 +08:00 |
|
Tony
|
92196ee927
|
Build
|
2024-10-08 10:18:43 +08:00 |
|
Tony
|
dc5be009b7
|
Add create or existing
|
2024-10-05 16:21:27 +08:00 |
|
Tony
|
7faf8c31e0
|
Differentiate json null from no value for events
|
2024-10-04 17:09:41 +08:00 |
|
Tony
|
831105d7a8
|
Use undefined for empty value in get
|
2024-10-04 10:11:13 +08:00 |
|
Tony
|
1ef9f6a487
|
Use pretty json by default
|
2024-10-04 09:40:33 +08:00 |
|
Tony
|
4037589000
|
Add default (de)serialize fn
|
2024-10-04 08:47:30 +08:00 |
|
Tony
|
fc51b3d132
|
More docs for StoreBuilder::build
|
2024-10-03 22:36:51 +08:00 |
|
Tony
|
bfe2b38f8e
|
Merge branch 'v2' into store-rework-2
|
2024-10-03 22:17:52 +08:00 |
|
Tony
|
120f39fd9b
|
Build
|
2024-10-03 22:17:40 +08:00 |
|
github-actions[bot]
|
fd785ab5de
|
publish new versions (#1878)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
|
2024-10-03 10:58:13 -03:00 |
|
Lucas Fernandes Nogueira
|
a1a82208ed
|
chore: change MSRV to 1.77.2 to support Windows 7 (#1873)
* chore: change MSRV to 1.77.2 to support Windows 7
* fmt
|
2024-10-03 10:31:13 -03:00 |
|
Tony
|
7723f48f39
|
Use store instead of store_builder in example
|
2024-10-03 20:49:33 +08:00 |
|
Tony
|
2718722422
|
Update readme
|
2024-10-03 20:46:07 +08:00 |
|
Tony
|
73f365d3f0
|
Show case how to use pretty json
|
2024-10-03 20:35:19 +08:00 |
|
Tony
|
4f13a03401
|
Fix js get and close store
|
2024-10-03 20:10:15 +08:00 |
|
Tony
|
718f5dc90d
|
Allow js to use pre-stored (de)serialize functions
|
2024-10-03 16:46:06 +08:00 |
|
Tony
|
a3bef84382
|
more docs
|
2024-10-03 16:22:07 +08:00 |
|
Tony
|
d22de0257d
|
Use absolute path for store
|
2024-10-03 16:11:53 +08:00 |
|
Tony
|
45b2af4cfe
|
Docs
|
2024-10-03 15:23:22 +08:00 |
|
Tony
|
42c5a1cb56
|
try get first
|
2024-10-03 13:56:43 +08:00 |
|
Tony
|
3acf66ee57
|
Revert "Add get-or-create-store"
This reverts commit 7ffd769240.
|
2024-10-03 13:53:59 +08:00 |
|
Tony
|
7ffd769240
|
Add get-or-create-store
|
2024-10-03 13:34:38 +08:00 |
|
Tony
|
bbd34b16f4
|
Add init to lazy store
|
2024-10-03 11:48:19 +08:00 |
|
Tony
|
79bc8d08f4
|
Add lazy store
|
2024-10-03 10:52:12 +08:00 |
|
Tony
|
6cdaa31959
|
Add store function
|
2024-10-03 10:17:47 +08:00 |
|
Tony
|
4cb9d8de5e
|
Add close store
|
2024-10-03 10:09:43 +08:00 |
|
Tony
|
e0bbc6d72b
|
Merge remote-tracking branch 'upstream/v2' into store-rework-2
|
2024-10-03 09:45:06 +08:00 |
|
Tony
|
8975d10bb7
|
Clean up
|
2024-10-03 09:44:46 +08:00 |
|
Tony
|
98d4fc4e9b
|
Remove share store
|
2024-10-03 09:33:42 +08:00 |
|
Tony
|
ea9c101da8
|
Store to resource table by default
|
2024-10-03 09:33:21 +08:00 |
|