feat: Tauri Desktop App Integration with Rust Backend and Dependency Upgrades #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant updates to the project, including the addition of Tauri integration for building a desktop application, updates to dependencies in
package.json, and the configuration of Rust-based backend components. Below is a breakdown of the most important changes grouped by theme.Tauri Integration:
.gitignorefile in thesrc-tauridirectory to exclude compiled files and executables (/target/) and generated schemas (/gen/schemas).Cargo.tomlto define the Rust package for the Tauri application, specifying dependencies such asserde,log, andtauri.build.rsto handle build-related tasks usingtauri-build.src/lib.rswith arunfunction to initialize and run the Tauri application, including plugin setup for logging in debug mode.src/main.rsto serve as the entry point for the Tauri application, calling therunfunction fromlib.rs.tauri.conf.jsonto configure the Tauri application, including product details, build commands, and window settings.Dependency Updates:
package.jsonto add new dependencies:@astrojs/check,typescript, and@tauri-apps/cli. These updates support TypeScript development and Tauri integration. [1] [2]Capabilities Configuration:
src-tauri/capabilities/default.jsonto define default permissions and capabilities for the Tauri application, linking to a schema file.