Skip to content

refactor: lift crates to the repo root and rename native to apps - #128

Merged
fannnzhang merged 1 commit into
mainfrom
refactor/flatten-workspace-layout
Sep 25, 2026
Merged

fannnzhang merged 1 commit into
mainfrom
refactor/flatten-workspace-layout

Conversation

@fannnzhang

Copy link
Copy Markdown
Contributor

Summary

  • 去掉 rust/ 这一层,把 workspace crates 提到仓库根目录的 crates/。
  • 把宿主目录 native/ 改名为 apps/,iOS / Android 工程路径随之更新。
  • 同步 Cargo 成员、构建产物目录、UniFFI 同步脚本、CI 和文档中的路径。

Test plan

  • cargo metadata --offline --no-deps 能解析全部 workspace 成员
  • xcodegen generate --spec apps/ios-app/project.yml 后 iOS 工程路径指向 apps/ 与 crates/
  • Android sync_uniffi_bindings.sh 能在 apps/android-app 下找到 crates/fire-uniffi/uniffi.toml 和 target/
  • CI 的 Rust target 缓存路径为仓库根目录 target/

Made with Cursor

Remove the extra rust/ wrapper and rename the host directory so workspace paths match the actual layout.

Co-authored-by: Cursor <cursoragent@cursor.com>
@fannnzhang
fannnzhang merged commit b7bf1f7 into main Sep 25, 2026
11 checks passed
@fannnzhang
fannnzhang deleted the refactor/flatten-workspace-layout branch September 25, 2026 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant