feat-bootstrap-Snaplet-Windows-screenshot-tool

This commit is contained in:
leefer
2026-08-25 21:04:14 +08:00
commit d8038d292d
78 changed files with 14835 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
[package]
name = "snaplet"
version = "0.1.0"
description = "A lightweight cross-platform screenshot tool"
authors = ["Snaplet"]
edition = "2021"
[lib]
name = "snaplet_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies]
tauri-build = { version = "2", features = [] }
[dependencies]
tauri = { version = "2", features = ["tray-icon", "image-png"] }
tauri-plugin-autostart = "2"
tauri-plugin-clipboard-manager = "2"
tauri-plugin-dialog = "2"
tauri-plugin-global-shortcut = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
base64 = "0.22"
image = "0.25"
xcap = "0.7"
[target.'cfg(windows)'.dependencies]
windows = { version = "0.61", features = ["Win32_UI_WindowsAndMessaging"] }