Skip to content

v0.3.5

Choose a tag to compare

@github-actions github-actions released this 15 Feb 06:48
· 103 commits to main since this release

Packages have been published to the following registries:

Package Registry Link
Rust crates.io spicedb-embedded
Java Maven Central com.borkfork:spicedb-embedded
Node.js npm spicedb-embedded
.NET NuGet SpiceDbEmbedded
Python PyPI spicedb-embedded

Installation

Rust:

cargo add spicedb-embedded

Node.js:

npm install spicedb-embedded

.NET:

dotnet add package SpiceDbEmbedded

Python:

pip install spicedb-embedded

Java (Maven). Add the main artifact and the matching classifier JAR for your platform (linux-x86_64, linux-aarch_64, osx-aarch_64, windows-x86_64):

<dependency>
  <groupId>com.borkfork</groupId>
  <artifactId>spicedb-embedded</artifactId>
  <version>0.3.5</version>
</dependency>
<!-- Platform native library (use one: linux-x86_64, linux-aarch_64, osx-aarch_64, windows-x86_64) -->
<dependency>
  <groupId>com.borkfork</groupId>
  <artifactId>spicedb-embedded</artifactId>
  <version>0.3.5</version>
  <classifier>linux-x86_64</classifier>
</dependency>

With os-maven-plugin you can use ${os.detected.classifier} directly:

<extensions>
  <extension>
    <groupId>kr.motd.maven</groupId>
    <artifactId>os-maven-plugin</artifactId>
    <version>1.7.1</version>
  </extension>
</extensions>

Then add the native dependency with <classifier>${os.detected.classifier}</classifier>.

Java (Gradle). Add the main artifact and the classifier for your platform (linux-x86_64, linux-aarch_64, osx-aarch_64, or windows-x86_64):

implementation 'com.borkfork:spicedb-embedded:0.3.5'
implementation 'com.borkfork:spicedb-embedded:0.3.5:linux-x86_64'  // or linux-aarch_64, osx-aarch_64, windows-x86_64

Kotlin DSL:

implementation("com.borkfork:spicedb-embedded:0.3.5")
implementation("com.borkfork:spicedb-embedded:0.3.5:linux-x86_64")  // or linux-aarch_64, osx-aarch_64, windows-x86_64

With osdetector-gradle-plugin you can use the classifier dynamically:

plugins { id "com.google.osdetector" version "1.7.3" }
dependencies {
  implementation "com.borkfork:spicedb-embedded:0.3.5"
  implementation "com.borkfork:spicedb-embedded:0.3.5:${osdetector.classifier}"
}