fix: UniFFI version 0.28→0.31 in docs
Some checks failed
CI/CD Pipeline / Lint (push) Has been cancelled
CI/CD Pipeline / Test (push) Has been cancelled
CI/CD Pipeline / Build (push) Has been cancelled
CI/CD Pipeline / Release (macos-15, aarch64-apple-ios, aarch64-apple-ios) (push) Has been cancelled
CI/CD Pipeline / Release (macos-15, aarch64-apple-ios-sim, aarch64-apple-ios-sim) (push) Has been cancelled
CI/CD Pipeline / Package xcframework (push) Has been cancelled

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
wangdl 2026-06-18 15:06:06 +08:00
parent bb0422682e
commit fcb01f29c3
2 changed files with 3 additions and 3 deletions

View File

@ -151,7 +151,7 @@ generated/
| `Cargo.toml` (workspace) | `workspace.package.version` | `0.1.0` | | `Cargo.toml` (workspace) | `workspace.package.version` | `0.1.0` |
| `ZxDocumentRuntime.xcframework/Info.plist` | `CFBundleVersion` | `0.1.0` | | `ZxDocumentRuntime.xcframework/Info.plist` | `CFBundleVersion` | `0.1.0` |
| Git tag | — | `v0.1.0` | | Git tag | — | `v0.1.0` |
| `zx_document.swift` | 注释头部 | `// UniFFI 0.28, zx_document v0.1.0` | | `zx_document.swift` | 注释头部 | `// UniFFI 0.31, zx_document v0.1.0` |
### 5.2 发布 Checklist ### 5.2 发布 Checklist

View File

@ -2,7 +2,7 @@
## 1. 概述 ## 1. 概述
UniFFIUniversal Foreign Function Interface是 Mozilla 开发的跨语言绑定生成工具。本项目使用 UniFFI 0.28 从 Rust 生成 Swift 绑定。 UniFFIUniversal Foreign Function Interface是 Mozilla 开发的跨语言绑定生成工具。本项目使用 UniFFI 0.31 从 Rust 生成 Swift 绑定。
UDLUniFFI Definition Language文件定义跨语言接口。 UDLUniFFI Definition Language文件定义跨语言接口。
@ -209,7 +209,7 @@ dictionary Foo {
| UniFFI 版本 | Rust crate | CLI | | UniFFI 版本 | Rust crate | CLI |
|:--:|------|-----| |:--:|------|-----|
| 0.28 | `uniffi = "0.28"` | `uniffi-bindgen 0.28` | | 0.31 | `uniffi = "0.31"` | `uniffi-bindgen 0.31` |
版本必须一致。检查: 版本必须一致。检查:
```bash ```bash