feat: add Tauri v2 architecture and backend abstraction#2
Closed
u-00a0 wants to merge 1 commit into
Closed
Conversation
Contributor
u-00a0
commented
Mar 9, 2026
- Initialize Tauri v2 project structure under web/src-tauri.
- Add Rust backend commands for bootstrap and solve IPC.
- Introduce Backend interface to abstract solver calls.
- Implement tauri-backend for desktop and wasm-backend for browser.
- Update Home.svelte to dynamically resolve the appropriate backend runtime.
- Conditionally skip the WASM builder in Vite when running in Tauri.
- Add web/src-tauri to the root Cargo workspace.
- Update package.json with Tauri dependencies and dev/build scripts.
- Update AGENTS.md with instructions for Tauri development.
- Initialize Tauri v2 project structure under web/src-tauri. - Add Rust backend commands for bootstrap and solve IPC. - Introduce Backend interface to abstract solver calls. - Implement tauri-backend for desktop and wasm-backend for browser. - Update Home.svelte to dynamically resolve the appropriate backend runtime. - Conditionally skip the WASM builder in Vite when running in Tauri. - Add web/src-tauri to the root Cargo workspace. - Update package.json with Tauri dependencies and dev/build scripts. - Update AGENTS.md with instructions for Tauri development.
Owner
|
非常不好意思,我以为你说太菜了是不想接任务,原来只是不好意思啊( 让你这边解决冲突工作量有点大,我先关了,我会合并你的 native bridge 部分的,并且带上Co-authored-by 欢迎review我的实现和提出后续改进!如果你想开新pr,记得rebase一下 superseded by main |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.