Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "qfall-tools"
version = "0.1.0"
version = "0.2.0"
edition = "2024"
rust-version = "1.87" # due to wit_bindgen dependency
rust-version = "1.88"
description = "Common sub-modules and procedures in lattice-based constructions"
readme = "README.md"
homepage = "https://qfall.github.io"
Expand All @@ -15,12 +15,12 @@ autobenches = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
qfall-math = "0"
flint-sys = "0.7"
sha2 = "0"
qfall-math = "0.2"
flint3-sys = { version="3.6.0", features=["gmp-mpfr-sys"]}
sha2 = "0.11"
serde = {version="1", features=["derive"]}
serde_json = "1"
typetag = "0"
typetag = "0.2"
criterion = { version = "0.8", features = ["html_reports"] }

[profile.bench]
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This `tools`-crate collects common sub-modules and features used by lattice-base

## Quick-Start
First, ensure that you use a Unix-like distribution (Linux or MacOS). Setup [WSL](https://learn.microsoft.com/en-us/windows/wsl/install) if you're using Windows. This is required due to this crate's dependency on FLINT.
Then, make sure your `rustc --version` is `1.87` or newer.
Then, make sure your `rustc --version` is `1.88` or newer.

Furthermore, it's required that `m4`, a C-compiler such as `gcc`, and `make` are installed.
```bash
Expand Down Expand Up @@ -77,6 +77,10 @@ assert!(psf.check_domain(&preimage));
assert_eq!(a * preimage, target);
```

## SemVer and Backward Compatibility
While this library is not stable yet, i.e. pre-version 1.0.0, we may introduce API-breaking changes in MINOR version updates.
Therefore, we recommend to fix the used version `version = "0.y"` in your `Cargo.toml`.

## Bugs
Please report bugs through the [GitHub issue tracker](https://github.com/qfall/tools/issues).

Expand Down
2 changes: 1 addition & 1 deletion src/compression/lossy_compression_fips203.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

//! Implements lossy (de-)compression as specified in FIPS 203, i.e. ML-KEM / Kyber.

use flint_sys::fmpz_poly::fmpz_poly_set_coeff_fmpz;
use flint3_sys::fmpz_poly_set_coeff_fmpz;
use qfall_math::{
integer::{MatPolyOverZ, PolyOverZ, Z},
integer_mod_q::{MatPolynomialRingZq, ModulusPolynomialRingZq, PolynomialRingZq},
Expand Down
Loading