From 8e86d53794c9038c374b2004653a20a14ad07b33 Mon Sep 17 00:00:00 2001 From: Arthur Meyre Date: Fri, 4 Jul 2025 15:32:17 +0200 Subject: [PATCH] chore(docs): add features to the rust_configuration page --- tfhe/docs/configuration/rust_configuration.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/tfhe/docs/configuration/rust_configuration.md b/tfhe/docs/configuration/rust_configuration.md index 204bf2cac..c2e0639eb 100644 --- a/tfhe/docs/configuration/rust_configuration.md +++ b/tfhe/docs/configuration/rust_configuration.md @@ -54,13 +54,17 @@ rustup show ### Homomorphic types -This crate provides 3 kinds of data types. Each kind is enabled by activating the corresponding feature in the TOML line and has multiple types: +This crate provides 4 kinds of data types. Each kind is enabled by activating the corresponding feature in the TOML line and has multiple types: -| Kind | Features | Type (s) | -| --------- | ---------- | ------------------------ | -| Booleans | `boolean` | Booleans | -| ShortInts | `shortint` | Short integers | -| Integers | `integer` | Arbitrary-sized integers | +| Kind | Features | Type (s) | +| --------- | ---------------- | --------------------------- | +| Booleans | `boolean` | Booleans | +| ShortInts | `shortint` | Short integers | +| Integers | `integer` | Arbitrary-sized integers | +| Integers+ | `extended-types` | Non-standard sized integers | +| Strings | `strings` | ASCII strings | + +The `Integers+` kind refers to types which have non-standard bit-width like `FheUint24` for example. Having more granular types can allow to improve performance. The feature is not enabled by default to avoid very long compile times if users don't need the extended-types. ### AVX-512