Skip to content

[bug] cannot find function with_store in crate tauri_plugin_store #1908

@nooblyf

Description

@nooblyf

After updating tauri-plugin-store from release candidate to v2.0.1 i'm getting this error on rust side

tauri_plugin_store::with_store(app_handle, stores, app_data_dir, |store| {
    return Ok(store
            .get("my_key")
            .and_then(|value| {
                ...
            }
        );
}
tauri_plugin_store::with_store(app_handle, stores, app_data_dir, |store| {
   |                ^^^^^^^^^^ not found in `tauri_plugin_store`

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions