- Swift 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github | ||
| .swiftpm/xcode/package.xcworkspace/xcshareddata | ||
| Examples | ||
| Sources/MatrixRustSDK | ||
| Tools/Release | ||
| .gitignore | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| Package.swift | ||
| README.md | ||
| SECURITY.md | ||
Swift package for Matrix Rust components
This repository is a Swift Package for distributing releases of the Matrix Rust SDK. It provides the Swift source code packaged in a format understood by the Swift package manager, and depends on a pre-compiled binary release of the underlying Rust code published from Matrix Rust SDK. The currently supported platforms can be found in the package's manifest.
Usage
A brief walkthrough of the SDK is available in the Examples directory. You can find more information about the API by browsing the FFI crate in the SDK's repository.
Please note: The Swift components for the Rust SDK are unstable meaning that the API could change at any point.
Releasing
Whenever a new release of the underlying components is available, we need to tag a new release in this repo to make them available to Swift components. This is done with the release script found in the Tools directory.
Testing locally
As the package vendors a pre-built binary of the SDK, all local development is done via the SDK's repo instead of this one.