Skip to content

Commit

Permalink
fix: return bool, remove async from new
Browse files Browse the repository at this point in the history
  • Loading branch information
sebasti810 committed Dec 20, 2024
1 parent e5021f9 commit fe67e4e
Show file tree
Hide file tree
Showing 10 changed files with 588 additions and 612 deletions.
2 changes: 1 addition & 1 deletion node-uniffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ uniffi = { version = "0.28.3", features = ["bindgen", "tokio", "cli"] }
tokio = { version = "1.38.0", features = ["macros", "sync"] }

[target.'cfg(target_os = "ios")'.dependencies]
directories = "5.0.1"
directories = "5.0.1"
2 changes: 1 addition & 1 deletion node-uniffi/build-android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ cargo ndk -o ./app/src/main/jniLibs \

cargo run --bin uniffi-bindgen generate --library ../target/debug/liblumina_node_uniffi.dylib --language kotlin --out-dir ./app/src/main/java/tech/forgen/lumina_node_uniffi/rust

echo "Android build complete"
echo "Android build complete"
4 changes: 3 additions & 1 deletion node-uniffi/build-ios.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

cargo build

cd ..

for TARGET in \
Expand Down Expand Up @@ -34,4 +36,4 @@ cp ./bindings/*.swift ./ios/

rm -rf bindings

echo "iOS build complete"
echo "iOS build complete"
212 changes: 119 additions & 93 deletions node-uniffi/src/lib.rs

Large diffs are not rendered by default.

Loading

0 comments on commit fe67e4e

Please sign in to comment.