Installation
Last updated
Last updated
This document provides instructions to set up TFHE-rs in your project.
First, add TFHE-rs as a dependency in your Cargo.toml
.
For x86_64
machine running a Unix-like OS:
For ARM
machine running a Unix-like OS:
For x86_64
machines with the rdseed instruction
running Windows:
Rust version: a minimum Rust version of 1.73 is required to compile TFHE-rs.
Performance: for optimal performance, it is highly recommended to run code that uses TFHE-rs
in release mode with cargo's --release
flag.
TFHE-rs currently supports the following platforms:
OS | x86 | aarch64 |
---|---|---|
Linux
x86_64-unix
aarch64-unix
*
macOS
x86_64-unix
aarch64-unix
*
Windows
x86_64
with RDSEED
instruction
Unsupported