Install
Apache Fory™ releases are available both as source artifacts and language-specific packages.
For source downloads, see the Apache Fory™ download page.
Java
Use Maven to add Apache Fory™:
<dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-core</artifactId>
<version>0.16.0</version>
</dependency>
<!-- Optional row format support -->
<!--
<dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-format</artifactId>
<version>0.16.0</version>
</dependency>
-->
<!-- SIMD acceleration for array compression (Java 16+) -->
<!--
<dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-simd</artifactId>
<version>0.16.0</version>
</dependency>
-->
Scala
Scala 2.13 with Maven:
<dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-scala_2.13</artifactId>
<version>0.16.0</version>
</dependency>
Scala 3 with Maven:
<dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-scala_3</artifactId>
<version>0.16.0</version>
</dependency>
Scala 2.13 with sbt:
libraryDependencies += "org.apache.fory" % "fory-scala_2.13" % "0.16.0"
Scala 3 with sbt:
libraryDependencies += "org.apache.fory" % "fory-scala_3" % "0.16.0"
Kotlin
Add Apache Fory™ Kotlin with Maven:
<dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-kotlin</artifactId>
<version>0.16.0</version>
</dependency>
Python
python -m pip install --upgrade pip
pip install pyfory==0.16.0
Go
Use the full Go module path github.com/apache/fory/go/fory:
go get github.com/apache/fory/go/fory@v0.16.0
If your Go proxy has not picked up the new submodule tag yet, retry later or use GOPROXY=direct temporarily.
Rust
[dependencies]
fory = "0.16.0"
Or use cargo add:
cargo add fory@0.16.0