Make uniffi an optional feature#32
Conversation
b4865c4 to
9452b43
Compare
9452b43 to
6ccaea6
Compare
notmandatory
left a comment
There was a problem hiding this comment.
ACK 6ccaea6
Thanks, good to have this feature flagged!
|
this broke swift bindings, messed around with trying to fix properly, but figured I should ask for more context from you all on what this fixed/unblocked so that my fix didn't then break something you all needed from this change |
|
What sort of error did you get? it may not be related to this PR since #28 also touched swift stuff. |
|
@reez might need to add # Target architectures
# macOS Intel
cargo build --package rust-cktap --profile release-smaller --target x86_64-apple-darwin
# macOS Apple Silicon
cargo build --package rust-cktap --profile release-smaller --target aarch64-apple-darwin
# Simulator on Intel Macs
cargo build --package rust-cktap --profile release-smaller --target x86_64-apple-ios
# Simulator on Apple Silicon Mac
cargo build --package rust-cktap --profile release-smaller --target aarch64-apple-ios-sim
# iPhone devices
cargo build --package rust-cktap --profile release-smaller --target aarch64-apple-ios |
tried that earlier this morning in #33 but did not work for me (let me know if it somehow worked for you though?) |
error is that it doesnt generate It's not #28 , I verified by testing that earlier today by checking out from commit Its definitely this PR changes And I've tried a good amount of ways today to try to get around it, that's why I figured I'd check with you all on context to maybe see if it sparked another idea for how to fix the swift bindings while not breaking what you all needed it for |
f23819a chore: project restructure (Matthew) Pull request description: <!-- You can erase any parts of this template not applicable to your Pull Request. --> ### Description This PR restructures the project, separating core library functionality from FFI bindings. The goal is to support what was needed for PR #32 while still allowing the swift bindings to be built successfully. ### Notes to the reviewers - created dedicated cktap-ffi crate - removed ffi specific code from main library ### Changelog notice <!-- Notice the release manager should include in the release tag message changelog --> <!-- See https://keepachangelog.com/en/1.0.0/ for examples --> ### Checklists #### All Submissions: * [x] I've signed all my commits * [x] I followed the [contribution guidelines](https://github.com/notmandatory/rust-cktap/blob/master/CONTRIBUTING.md) * [x] I ran `cargo fmt` and `cargo clippy` before committing #### New Features: * [ ] I've added tests for the new feature * [ ] I've added docs for the new feature #### Bugfixes: * [ ] This pull request breaks the existing API * [ ] I've added tests to reproduce the issue which are now passing * [ ] I'm linking the issue being fixed by this PR ACKs for top commit: notmandatory: ACK f23819a Tree-SHA512: 36e9eeedf8b0df3351a261a03d65757bd66f602413d48d524cfb0959873f7a965c323aa03b114063ae992fd3eaacfb0e3841c7e6cb6a2c3db5a5a5d5030196ce
No description provided.