Skip to content

Commit f498673

Browse files
committed
Update installation instructions in README
Expanded the installation instructions for the Tauri plugin cache, including steps for using `cargo add` and additional package manager commands for `pnpm`, `npm`, and `yarn`.
1 parent f1454b7 commit f498673

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,14 @@ An advanced, versatile, and performance-focused disk caching solution for Tauri
2323

2424
### Rust Dependencies
2525

26-
Add this plugin as a dependency in your project's `Cargo.toml` file:
26+
Add this plugin to your project using one of these methods:
27+
28+
```bash
29+
# Using cargo add (recommended)
30+
cargo add tauri-plugin-cache
31+
```
32+
33+
Or manually add to your `Cargo.toml` file:
2734

2835
```toml
2936
[dependencies]
@@ -36,6 +43,8 @@ tauri-plugin-cache = "0.1.0"
3643
Add the plugin API package to your project:
3744

3845
```bash
46+
pnpm install tauri-plugin-cache
47+
# or
3948
npm install tauri-plugin-cache
4049
# or
4150
yarn add tauri-plugin-cache

0 commit comments

Comments
 (0)