https://github.com/akesson/uniffi-package
Build tool for packaging Rust UniFFI output into packages
https://github.com/akesson/uniffi-package
Last synced: about 2 months ago
JSON representation
Build tool for packaging Rust UniFFI output into packages
- Host: GitHub
- URL: https://github.com/akesson/uniffi-package
- Owner: akesson
- License: mpl-2.0
- Created: 2023-02-07T06:43:50.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-09T19:40:46.000Z (over 3 years ago)
- Last Synced: 2025-01-06T13:58:58.403Z (over 1 year ago)
- Language: Rust
- Size: 490 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Building
To build the example project, from the project root, run the following command:
```bash
cargo run -- --manifest-path example/rust-lib/Cargo.toml
```
This builds the `Mobile.framework` in the `example/rust-lib` directory.
To run an example of using the framework, in the `example/swift-cmd` run the following commands:
```bash
swift build
swift run
```
# Configuration
```toml
[package.metadata.swift]
# Wheter to use the nightly's option to include std-lib in the link-time optimizations
# `-Z build-std=std,panic_abort`
release-optimize-std-lib = true
```