chore: rename quicproquo → quicprochat in docs, Docker, CI, and packaging
Rename all project references from quicproquo/qpq to quicprochat/qpc across documentation, Docker configuration, CI workflows, packaging scripts, operational configs, and build tooling. - Docker: crate paths, binary names, user/group, data dirs, env vars - CI: workflow crate references, binary names, artifact names - Docs: all markdown files under docs/, SDK READMEs, book.toml - Packaging: OpenWrt Makefile, init script, UCI config (file renames) - Scripts: justfile, dev-shell, screenshot, cross-compile, ai_team - Operations: Prometheus config, alert rules, Grafana dashboard - Config: .env.example (QPQ_* → QPC_*), CODEOWNERS paths - Top-level: README, CONTRIBUTING, ROADMAP, CLAUDE.md
This commit is contained in:
@@ -1,24 +1,24 @@
|
||||
# QuicProQuo Swift SDK
|
||||
# QuicProChat Swift SDK
|
||||
|
||||
Swift wrapper over `libquicproquo_ffi` for iOS and macOS.
|
||||
Swift wrapper over `libquicprochat_ffi` for iOS and macOS.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Xcode 15+ / Swift 5.9+
|
||||
- iOS 15+ or macOS 13+
|
||||
- `libquicproquo_ffi` built for the target architecture
|
||||
- `libquicprochat_ffi` built for the target architecture
|
||||
|
||||
## Building the Native Library
|
||||
|
||||
```sh
|
||||
# iOS (device)
|
||||
cargo build --release -p quicproquo-ffi --target aarch64-apple-ios
|
||||
cargo build --release -p quicprochat-ffi --target aarch64-apple-ios
|
||||
|
||||
# iOS Simulator (Apple Silicon)
|
||||
cargo build --release -p quicproquo-ffi --target aarch64-apple-ios-sim
|
||||
cargo build --release -p quicprochat-ffi --target aarch64-apple-ios-sim
|
||||
|
||||
# macOS
|
||||
cargo build --release -p quicproquo-ffi --target aarch64-apple-darwin
|
||||
cargo build --release -p quicprochat-ffi --target aarch64-apple-darwin
|
||||
```
|
||||
|
||||
## Installation
|
||||
@@ -37,13 +37,13 @@ Or add the library search path to your Xcode project:
|
||||
|
||||
```
|
||||
LIBRARY_SEARCH_PATHS = $(PROJECT_DIR)/../target/release
|
||||
OTHER_LDFLAGS = -lquicproquo_ffi
|
||||
OTHER_LDFLAGS = -lquicprochat_ffi
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```swift
|
||||
import QuicProQuo
|
||||
import QuicProChat
|
||||
|
||||
let client = try QpqClient(
|
||||
server: "127.0.0.1:5001",
|
||||
@@ -88,9 +88,9 @@ do {
|
||||
|
||||
## Structure
|
||||
|
||||
- `Sources/CQuicProQuo/` -- C module map and FFI header
|
||||
- `Sources/QuicProQuo/QpqClient.swift` -- High-level Swift client
|
||||
- `Sources/QuicProQuo/QpqError.swift` -- Error types
|
||||
- `Sources/CQuicProChat/` -- C module map and FFI header
|
||||
- `Sources/QuicProChat/QpqClient.swift` -- High-level Swift client
|
||||
- `Sources/QuicProChat/QpqError.swift` -- Error types
|
||||
|
||||
## Cross-Compilation
|
||||
|
||||
@@ -98,7 +98,7 @@ For iOS devices, add the Rust target and build:
|
||||
|
||||
```sh
|
||||
rustup target add aarch64-apple-ios
|
||||
cargo build --release -p quicproquo-ffi --target aarch64-apple-ios
|
||||
cargo build --release -p quicprochat-ffi --target aarch64-apple-ios
|
||||
```
|
||||
|
||||
Copy the library to your Xcode project's framework search path.
|
||||
|
||||
Reference in New Issue
Block a user