Java bindings for the Zstandard compression library.
dev.hallock.zstdis higher level bindings (Module)dev.hallock.zstd.bindingsthe underlying native bindings (Module)
- Java 25 or higher
- Zstandard library (zstd)
Adding to Gradle (kts):
repositories {
mavenCentral()
}
dependencies {
implementation("dev.hallock.zstd:zstd:<version>")
}where <version> is the latest tag.
Ideally you want your project to be using JPMS as running on the module path allows nicer syntax to open native access.
--enable-native-access=dev.hallock.zstd.bindings should be used to allow native access to the native Zstandard library.
Running in the unnamed module should be supported but is not recommended.