v0.3.9
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-embeddedNode.js:
npm install spicedb-embedded.NET:
dotnet add package SpiceDbEmbeddedPython:
pip install spicedb-embeddedJava (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.9</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.9</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.9'
implementation 'com.borkfork:spicedb-embedded:0.3.9:linux-x86_64' // or linux-aarch_64, osx-aarch_64, windows-x86_64Kotlin DSL:
implementation("com.borkfork:spicedb-embedded:0.3.9")
implementation("com.borkfork:spicedb-embedded:0.3.9:linux-x86_64") // or linux-aarch_64, osx-aarch_64, windows-x86_64With 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.9"
implementation "com.borkfork:spicedb-embedded:0.3.9:${osdetector.classifier}"
}