Repository navigation
Added
- Public
Store::pull()refreshes a remote store's local cache and reports whether remote changes were applied. It returnsOk(false)for local stores, matchingStore::push(). - Remote cache lifecycle methods:
Store::checkpoint()reclaims cache WAL space,Store::flush_cache()pushes pending changes and then checkpoints,Store::cache_stats()returns a crate-ownedCacheStats, andStore::cache_path()returns the local cache file path. These are no-ops or returnNonefor local stores. - Remote sync configuration on
Options:with_bootstrap_if_empty,with_long_poll_timeout,with_client_name,with_auth_token_fn,with_partial_sync_opts_experimental, andwith_logical_mvcc_pull.PartialSyncOptsandPartialBootstrapStrategyare re-exported from Turso. Local stores reject these options withError::UnsupportedOption. Error::RemotePull,Error::RemoteCheckpoint, andError::RemoteStatsidentify failures from the new cache methods.- Automated crates.io publishing on
v*tags, including tag/version and changelog checks, package-content checks, a publish dry run, and GitHub release creation. See RELEASING.md.
Changed
- Documented attribution for the
bdk_sqlitefork andbdk_redbtests, expectations for modified forks, and the risks of changing database tables, WAL files, or sync-cache files outside the supported APIs. - docs.rs now builds the crate with all features, so the
wallet,psbt, andremoteAPIs appear in the published documentation.
Fixed
- The blocking
WalletPersisternow returnsError::BlockingRuntimeinstead of panicking when its helper Tokio runtime cannot be built.
crates.io: https://crates.io/crates/bdk_turso/0.3.2
docs.rs: https://docs.rs/bdk_turso/0.3.2