Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
428 changes: 15 additions & 413 deletions Cargo.lock

Large diffs are not rendered by default.

20 changes: 0 additions & 20 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -444,23 +444,3 @@ win-total-rls *allparam:
just win-bld-rls{{allparam}}
just win-run-rls

### Build and run the Kotlin example with
### auto-generated bindings for goose-llm
kotlin-example:
# Build Rust dylib and generate Kotlin bindings
cargo build -p goose-llm
cargo run --features=uniffi/cli --bin uniffi-bindgen generate \
--library ./target/debug/libgoose_llm.dylib --language kotlin --out-dir bindings/kotlin

# Compile and run the Kotlin example
cd bindings/kotlin/ && kotlinc \
example/Usage.kt \
uniffi/goose_llm/goose_llm.kt \
-classpath "libs/kotlin-stdlib-1.9.0.jar:libs/kotlinx-coroutines-core-jvm-1.7.3.jar:libs/jna-5.13.0.jar" \
-include-runtime \
-d example.jar

cd bindings/kotlin/ && java \
-Djna.library.path=$HOME/Development/goose/target/debug \
-classpath "example.jar:libs/kotlin-stdlib-1.9.0.jar:libs/kotlinx-coroutines-core-jvm-1.7.3.jar:libs/jna-5.13.0.jar" \
UsageKt
115 changes: 0 additions & 115 deletions bindings/kotlin/example/RuntimeStats.kt

This file was deleted.

228 changes: 0 additions & 228 deletions bindings/kotlin/example/Usage.kt

This file was deleted.

Loading
Loading