add tauri v2 for local app

This commit is contained in:
Song Li 2024-10-28 11:59:05 +08:00
parent 0b1b98f93e
commit 55f8809d13
24 changed files with 4662 additions and 0 deletions

25
src-tauri/Cargo.toml Normal file
View file

@ -0,0 +1,25 @@
[package]
name = "IT-Tools"
version = "0.1.0"
description = "Useful tools for developer and people working in IT"
authors = ["Corentin Thomasset"]
license = "GPLv3"
repository = "https://github.com/CorentinTh/it-tools"
edition = "2021"
rust-version = "1.82.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "app_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies]
tauri-build = { version = "2.0", features = [] }
[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
log = "0.4"
tauri = { version = "2.0", features = [] }
tauri-plugin-log = "2.0"