mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-22 21:30:44 +02:00
`WatchEvent` now follows notify v8's format: the event kind is flattened
into the event, with `type` holding the top-level kind and `kind`/`mode`
refining it, e.g. `{ type: 'modify', kind: 'data', mode: 'content' }`
instead of `{ type: { modify: { kind: 'data', mode: 'content' } } }`.
`attrs` is now typed as `WatchEventAttributes` and its `flag` is
`rescan` instead of `Rescan`.
51 lines
1.7 KiB
TOML
51 lines
1.7 KiB
TOML
[package]
|
|
name = "tauri-plugin-fs"
|
|
version = "3.0.0-alpha.1"
|
|
description = "Access the file system."
|
|
authors = { workspace = true }
|
|
license = { workspace = true }
|
|
edition = { workspace = true }
|
|
rust-version = { workspace = true }
|
|
repository = { workspace = true }
|
|
links = "tauri-plugin-fs"
|
|
exclude = [
|
|
"/banner.png",
|
|
"/guest-js",
|
|
"/package.json",
|
|
"/rollup.config.js",
|
|
"/tsconfig.json",
|
|
]
|
|
|
|
[package.metadata.platforms.support]
|
|
windows = { level = "full", notes = "Apps installed via MSI or NSIS in `perMachine` and `both` mode require admin permissions for write access in `$RESOURCES` folder" }
|
|
linux = { level = "full", notes = "No write access to `$RESOURCES` folder" }
|
|
macos = { level = "full", notes = "No write access to `$RESOURCES` folder" }
|
|
android = { level = "partial", notes = "Access is restricted to Application folder by default" }
|
|
ios = { level = "partial", notes = "Access is restricted to Application folder by default" }
|
|
|
|
[build-dependencies]
|
|
tauri-plugin = { workspace = true, features = ["build"] }
|
|
schemars = { workspace = true }
|
|
serde = { workspace = true }
|
|
|
|
[dependencies]
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
serde_repr = "0.1"
|
|
tauri = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
url = { workspace = true }
|
|
log = { workspace = true }
|
|
anyhow = "1"
|
|
glob = { workspace = true }
|
|
notify = { version = "8", optional = true, features = ["serde"] }
|
|
notify-debouncer-full = { version = "0.6", optional = true }
|
|
dunce = { workspace = true }
|
|
percent-encoding = "2"
|
|
|
|
[target.'cfg(target_os = "ios")'.dependencies]
|
|
objc2-foundation = { version = "0.3", features = ["NSURL", "NSString"] }
|
|
|
|
[features]
|
|
watch = ["notify", "notify-debouncer-full"]
|