build-rust
Build Rust moq-ffi for iOS/Android targets
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-28
- Stars
- ★ 32
- Forks
- 6
01 前言 Front Matter
- name
- build-rust
- description
- Build Rust moq-ffi for iOS/Android targets
03 SKILL.md 正文
Build Rust
All commands run from the moq-kit root directory.
iOS targets
cargo build --release --package moq-ffi --target aarch64-apple-ios
cargo build --release --package moq-ffi --target aarch64-apple-ios-sim
Android targets
cargo ndk -t arm64-v8a build --release --package moq-ffi
C bindings only (libmoq)
cargo build --release --package libmoq
Debug symbols
Use --profile release-with-debug instead of --release to include DWARF debug info.
Lint and test
mise run rust:check # tests + linting
mise run rust:fix # auto-format
04 同仓库更多 Skills
moq-kit
Software Mansion's moq-kit — native Swift (iOS) and Kotlin (Android) SDKs for Media over QUIC (moq-lite) live streaming: sub-second-latency playback, camera/microphone/screen publishing, and realtime data tracks over a MoQ relay. MUST USE before writing, reviewing, or debugging ANY code that imports MoQKit (Swift) or com.swmansion.moqkit (Kotlin); for React Native apps use the react-native-moq skill instead. Trigger on: 'moq-kit', 'MoQKit', 'Media over QUIC', 'moq-lite', 'MoQ relay', 'moq-ffi', 'BroadcastSubscription', 'DataTrackEmitter', 'CameraCapture', 'MicrophoneCapture', 'MultiCameraCapture', 'ScreenCapture', 'TrackSubscription', 'AudioDataStream', 'MoQReplayKitBroadcastSampleHandler', or a Session/Player/Publisher/Catalog from moq-kit.
run-ios
Build and run the iOS MoQ Demo on a connected device
run-android
Build and run the Android subscriber demo on a connected device
commit
Analyzes the staged/unstaged git files and commits them
build-ios
Build iOS Swift package
build-android
Build Android Kotlin bindings, moq library and final library AAR file