docs.rs failed to build tauri-plugin-spotsearch-0.2.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
tauri-plugin-spotsearch-0.2.0
Tauri Plugin — SpotSearch
A Tauri plugin that indexes app content into iOS Core Spotlight, making it searchable via the system-level Spotlight search.
Platform Support
| Platform | Supported |
|---|---|
| iOS | ✅ |
| macOS | ✅ |
| Windows | ❌ (stub) |
| Linux | ❌ (stub) |
| Android | ❌ |
Installation
Add the plugin to your Cargo.toml:
[]
= "0.1"
Register the plugin in your Tauri app:
Commands
| Command | Description |
|---|---|
enable_indexing |
Enables or disables Spotlight indexing (reserved). |
index_items |
Indexes an array of items into Core Spotlight. |
delete_items |
Removes specific items from the index by ID. |
delete_domain |
Removes all items belonging to a domain. |
SpotItem
interface SpotItem {
id: string;
domain: string;
title: string;
snippet?: string;
keywords?: string[];
url?: string;
thumbnailBase64?: string;
}
JavaScript / TypeScript
import { indexItems, deleteItems, deleteDomain } from "tauri-plugin-spotsearch";
await indexItems({
items: [{
id: "note-1",
domain: "notes",
title: "Meeting Notes",
snippet: "Discussed Q3 roadmap...",
keywords: ["meeting", "roadmap"],
}],
});
await deleteItems({ ids: ["note-1"] });
await deleteDomain({ domain: "notes" });
License
MIT