Java and Kotlin bindings for Minigraf. Run bi-temporal Datalog queries in an embedded, single-file graph database.
dependencies {
implementation("io.github.project-minigraf:minigraf-jvm:2.0.12")
}<dependency>
<groupId>io.github.project-minigraf</groupId>
<artifactId>minigraf-jvm</artifactId>
<version>2.0.12</version>
</dependency>import uniffi.minigraf_ffi.MiniGrafDb
val db = MiniGrafDb.openInMemory()
val result = db.execute("""(transact [[:alice :name "Alice"]])""")
println(result) // {"transacted":<tx id>}Requires Rust stable toolchain and JDK 17.
cargo build --release
cd java
./gradlew generateKotlinBindings copyLocalNative testAfter a core release, the cascade sends this repository a core-release event.
The workflow on main selects main for 3.x and v2.x for 2.x. It pins the
exact core version, builds the native libraries and tests the JAR, then commits
and tags the prepared source and publishes the fat JAR to Maven Central.
Retry from main with gh workflow run release.yml --ref main -f version=<full-tag>.
Do not delete or move the tag. For details on retries and partial publication,
see the release guide on the default branch.
MIT OR Apache-2.0