From 5b653864b7e2c865c85c9d83efb2b85f08f53045 Mon Sep 17 00:00:00 2001 From: tmontaigu Date: Tue, 20 Feb 2024 19:46:20 +0100 Subject: [PATCH] chore(tfhe): bump version to 0.5.2 --- tfhe/Cargo.toml | 2 +- tfhe/docs/core_crypto/tutorial.md | 8 ++++---- tfhe/docs/getting_started/installation.md | 4 ++-- tfhe/docs/getting_started/quick_start.md | 2 +- tfhe/docs/how_to/migrate_data.md | 2 +- tfhe/docs/how_to/run_on_gpu.md | 4 ++-- tfhe/docs/how_to/serialization.md | 2 +- tfhe/docs/tutorials/ascii_fhe_string.md | 2 +- tfhe/docs/tutorials/parity_bit.md | 2 +- 9 files changed, 14 insertions(+), 14 deletions(-) diff --git a/tfhe/Cargo.toml b/tfhe/Cargo.toml index 4a0e56f796..7964ee3645 100644 --- a/tfhe/Cargo.toml +++ b/tfhe/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tfhe" -version = "0.5.1" +version = "0.5.2" edition = "2021" readme = "../README.md" keywords = ["fully", "homomorphic", "encryption", "fhe", "cryptography"] diff --git a/tfhe/docs/core_crypto/tutorial.md b/tfhe/docs/core_crypto/tutorial.md index 8a96546307..40769d7889 100644 --- a/tfhe/docs/core_crypto/tutorial.md +++ b/tfhe/docs/core_crypto/tutorial.md @@ -9,7 +9,7 @@ Welcome to this tutorial about `TFHE-rs` `core_crypto` module. To use `TFHE-rs`, it first has to be added as a dependency in the `Cargo.toml`: ```toml -tfhe = { version = "0.5.1", features = [ "x86_64-unix" ] } +tfhe = { version = "0.5.2", features = [ "x86_64-unix" ] } ``` This enables the `x86_64-unix` feature to have efficient implementations of various algorithms for `x86_64` CPUs on a Unix-like system. The 'unix' suffix indicates that the `UnixSeeder`, which uses `/dev/random` to generate random numbers, is activated as a fallback if no hardware number generator is available (like `rdseed` on `x86_64` or if the [`Randomization Services`](https://developer.apple.com/documentation/security/1399291-secrandomcopybytes?language=objc) on Apple platforms are not available). To avoid having the `UnixSeeder` as a potential fallback or to run on non-Unix systems (e.g., Windows), the `x86_64` feature is sufficient. @@ -19,19 +19,19 @@ For Apple Silicon, the `aarch64-unix` or `aarch64` feature should be enabled. `a In short: For `x86_64`-based machines running Unix-like OSes: ```toml -tfhe = { version = "0.5.1", features = ["x86_64-unix"] } +tfhe = { version = "0.5.2", features = ["x86_64-unix"] } ``` For Apple Silicon or aarch64-based machines running Unix-like OSes: ```toml -tfhe = { version = "0.5.1", features = ["aarch64-unix"] } +tfhe = { version = "0.5.2", features = ["aarch64-unix"] } ``` For `x86_64`-based machines with the [`rdseed instruction`](https://en.wikipedia.org/wiki/RDRAND) running Windows: ```toml -tfhe = { version = "0.5.1", features = ["x86_64"] } +tfhe = { version = "0.5.2", features = ["x86_64"] } ``` ### Commented code to double a 2-bit message in a leveled fashion and using a PBS with the `core_crypto` module. diff --git a/tfhe/docs/getting_started/installation.md b/tfhe/docs/getting_started/installation.md index ccbbb5e4cb..b0410cd43c 100644 --- a/tfhe/docs/getting_started/installation.md +++ b/tfhe/docs/getting_started/installation.md @@ -8,12 +8,12 @@ To use `TFHE-rs` in your project, you first need to add it as a dependency in yo If you are using an `x86` machine: ```toml -tfhe = { version = "0.5.1", features = [ "boolean", "shortint", "integer", "x86_64-unix" ] } +tfhe = { version = "0.5.2", features = [ "boolean", "shortint", "integer", "x86_64-unix" ] } ``` If you are using an `ARM` machine: ```toml -tfhe = { version = "0.5.1", features = [ "boolean", "shortint", "integer", "aarch64-unix" ] } +tfhe = { version = "0.5.2", features = [ "boolean", "shortint", "integer", "aarch64-unix" ] } ``` {% hint style="info" %} diff --git a/tfhe/docs/getting_started/quick_start.md b/tfhe/docs/getting_started/quick_start.md index aa9abb86a9..f775ad6d7e 100644 --- a/tfhe/docs/getting_started/quick_start.md +++ b/tfhe/docs/getting_started/quick_start.md @@ -44,7 +44,7 @@ fn main() { The default configuration for x86 Unix machines: ```toml -tfhe = { version = "0.5.1", features = ["integer", "x86_64-unix"]} +tfhe = { version = "0.5.2", features = ["integer", "x86_64-unix"]} ``` Configuration options for different platforms can be found [here](../getting_started/installation.md). Other rust and homomorphic types features can be found [here](../how_to/rust_configuration.md). diff --git a/tfhe/docs/how_to/migrate_data.md b/tfhe/docs/how_to/migrate_data.md index 836691f637..87033d75eb 100644 --- a/tfhe/docs/how_to/migrate_data.md +++ b/tfhe/docs/how_to/migrate_data.md @@ -1,3 +1,3 @@ -# Migrating Data to TFHE-rs 0.5.1 (This Release) +# Migrating Data to TFHE-rs 0.5.2 (This Release) Forward compatibility code to migrate data from TFHE-rs 0.4 to TFHE-rs 0.5 has been added in a minor release of TFHE-rs 0.4, the documentation about the process can be found [here](https://docs.zama.ai/tfhe-rs/v/0.4-1/how-to/migrate_data). diff --git a/tfhe/docs/how_to/run_on_gpu.md b/tfhe/docs/how_to/run_on_gpu.md index 8ad43d638b..5b50cb7eeb 100644 --- a/tfhe/docs/how_to/run_on_gpu.md +++ b/tfhe/docs/how_to/run_on_gpu.md @@ -13,12 +13,12 @@ To use the `TFHE-rs GPU backend` in your project, you first need to add it as a If you are using an `x86` machine: ```toml -tfhe = { version = "0.5.1", features = [ "boolean", "shortint", "integer", "x86_64-unix", "gpu" ] } +tfhe = { version = "0.5.2", features = [ "boolean", "shortint", "integer", "x86_64-unix", "gpu" ] } ``` If you are using an `ARM` machine: ```toml -tfhe = { version = "0.5.1", features = [ "boolean", "shortint", "integer", "aarch64-unix", "gpu" ] } +tfhe = { version = "0.5.2", features = [ "boolean", "shortint", "integer", "aarch64-unix", "gpu" ] } ``` diff --git a/tfhe/docs/how_to/serialization.md b/tfhe/docs/how_to/serialization.md index 745f9d0880..8eace5486c 100644 --- a/tfhe/docs/how_to/serialization.md +++ b/tfhe/docs/how_to/serialization.md @@ -11,7 +11,7 @@ To serialize our data, a [data format](https://serde.rs/#data-formats) should be [dependencies] # ... -tfhe = { version = "0.5.1", features = ["integer","x86_64-unix"]} +tfhe = { version = "0.5.2", features = ["integer","x86_64-unix"]} bincode = "1.3.3" ``` diff --git a/tfhe/docs/tutorials/ascii_fhe_string.md b/tfhe/docs/tutorials/ascii_fhe_string.md index 8bc969ab18..3e4ebc3077 100644 --- a/tfhe/docs/tutorials/ascii_fhe_string.md +++ b/tfhe/docs/tutorials/ascii_fhe_string.md @@ -24,7 +24,7 @@ To use the `FheUint8` type, the `integer` feature must be activated: [dependencies] # Default configuration for x86 Unix machines: -tfhe = { version = "0.5.1", features = ["integer", "x86_64-unix"]} +tfhe = { version = "0.5.2", features = ["integer", "x86_64-unix"]} ``` Other configurations can be found [here](../getting_started/installation.md). diff --git a/tfhe/docs/tutorials/parity_bit.md b/tfhe/docs/tutorials/parity_bit.md index 6eae5860d2..dcbec5d543 100644 --- a/tfhe/docs/tutorials/parity_bit.md +++ b/tfhe/docs/tutorials/parity_bit.md @@ -19,7 +19,7 @@ This function returns a Boolean that will be either `true` or `false` so that th # Cargo.toml # Default configuration for x86 Unix machines: -tfhe = { version = "0.5.1", features = ["integer", "x86_64-unix"]} +tfhe = { version = "0.5.2", features = ["integer", "x86_64-unix"]} ``` Other configurations can be found [here](../getting_started/installation.md).