Skip to content

Commit 77492d1

Browse files
committed
update
1 parent 6ee01a2 commit 77492d1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

crates/rs-tauri-vue/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
> cargo workspace 问题:
66
77
-`子 repo`, 尽量独立, 不要使用`父 workspace`, 会导致 tauri build 失败
8-
- case: sqlx 在 workspace 下, build 依赖报错, 但是单独 build 是可以的
8+
- case: sqlx 在 workspace 下, build [依赖报错(误报)](https://github.com/launchbadge/sqlx/issues/1604), 但是单独
9+
build 是可以的
910
- ❌ workspace 过大, 会导致 IDE 索引宏, 失效
1011
- ❌ 猜测: workspace 公共的lib, 版本(开启 feature)不一致, 在编译时, 会冲突.
1112
- 部分冲突, 是隐式的. cargo clean + build 就会发现很多问题

crates/rs-tauri-vue/src-tauri/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ rust-version = "1.57"
1313

1414
#
1515
# TODO X: 注意, 不作为上层 workspace 的子项目.
16-
#
16+
# - fix: 编译报错(误报)
17+
# - https://github.com/launchbadge/sqlx/issues/1604
1718
[workspace]
1819
members = []
1920

0 commit comments

Comments
 (0)