diff --git a/.github/workflows/lint-fmt.yml b/.github/workflows/lint-fmt.yml index 9c2b460..27364c4 100644 --- a/.github/workflows/lint-fmt.yml +++ b/.github/workflows/lint-fmt.yml @@ -42,7 +42,6 @@ jobs: toolchain: stable override: true components: clippy - - uses: arduino/setup-protoc@v2 - uses: actions-rs/cargo@v1 with: command: clippy diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 1b0e305..89e1259 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -27,7 +27,6 @@ jobs: profile: minimal toolchain: stable override: true - - uses: arduino/setup-protoc@v2 - uses: actions-rs/cargo@v1 with: command: check @@ -45,7 +44,6 @@ jobs: profile: minimal toolchain: stable override: true - - uses: arduino/setup-protoc@v2 - uses: actions-rs/cargo@v1 with: command: test @@ -63,7 +61,6 @@ jobs: profile: minimal toolchain: nightly override: true - - uses: arduino/setup-protoc@v2 - uses: actions-rs/cargo@v1 with: command: test diff --git a/Cargo.lock b/Cargo.lock index 1f98230..afbc0af 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,9 +4,9 @@ version = 3 [[package]] name = "aho-corasick" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea5d730647d4fadd988536d06fecce94b7b4f2a7efdae548f1cf4b63205518ab" +checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" dependencies = [ "memchr", ] @@ -95,15 +95,6 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" -[[package]] -name = "cc" -version = "1.0.83" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" -dependencies = [ - "libc", -] - [[package]] name = "cfg-if" version = "1.0.0" @@ -309,25 +300,14 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "errno" -version = "0.3.4" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "add4f07d43996f76ef320709726a556a9d4f965d9410d8d0271132d2f8293480" +checksum = "ac3e13f66a2f95e32a39eaa81f6b95d42878ca0e1db0c7543723dfe12557e860" dependencies = [ - "errno-dragonfly", "libc", "windows-sys 0.48.0", ] -[[package]] -name = "errno-dragonfly" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" -dependencies = [ - "cc", - "libc", -] - [[package]] name = "ethnum" version = "1.4.0" @@ -342,7 +322,7 @@ checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" [[package]] name = "fhe" -version = "0.1.0-beta.6" +version = "0.1.0-beta.7" dependencies = [ "console", "criterion", @@ -366,7 +346,7 @@ dependencies = [ [[package]] name = "fhe-math" -version = "0.1.0-beta.6" +version = "0.1.0-beta.7" dependencies = [ "criterion", "crypto-bigint", @@ -390,14 +370,14 @@ dependencies = [ [[package]] name = "fhe-traits" -version = "0.1.0-beta.6" +version = "0.1.0-beta.7" dependencies = [ "rand", ] [[package]] name = "fhe-util" -version = "0.1.0-beta.6" +version = "0.1.0-beta.7" dependencies = [ "itertools 0.11.0", "num-bigint-dig", @@ -559,9 +539,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.148" +version = "0.2.149" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cdc71e17332e86d2e1d38c1f99edcb6288ee11b815fb1a4b049eaa2114d369b" +checksum = "a08173bc88b7955d1b3145aa561539096c421ac8debde8cbc3612ec635fee29b" [[package]] name = "libm" @@ -571,9 +551,9 @@ checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" [[package]] name = "linux-raw-sys" -version = "0.4.8" +version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3852614a3bd9ca9804678ba6be5e3b8ce76dfc902cae004e3e0c44051b6e88db" +checksum = "da2479e8c062e40bf0066ffa0bc823de0a9368974af99c9f6df941d2c231e03f" [[package]] name = "log" @@ -773,9 +753,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.68" +version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b1106fec09662ec6dd98ccac0f81cef56984d0b49f75c92d8cbad76e20c005c" +checksum = "134c189feb4956b20f6f547d2cf727d4c0fe06722b20a0eec87ed445a97f92da" dependencies = [ "unicode-ident", ] @@ -794,7 +774,7 @@ dependencies = [ "rand", "rand_chacha", "rand_xorshift", - "regex-syntax", + "regex-syntax 0.7.5", "rusty-fork", "tempfile", "unarray", @@ -945,25 +925,25 @@ dependencies = [ [[package]] name = "regex" -version = "1.9.6" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebee201405406dbf528b8b672104ae6d6d63e6d118cb10e4d51abbc7b58044ff" +checksum = "d119d7c7ca818f8a53c300863d4f87566aac09943aef5b355bb83969dae75d87" dependencies = [ "aho-corasick", "memchr", "regex-automata", - "regex-syntax", + "regex-syntax 0.8.1", ] [[package]] name = "regex-automata" -version = "0.3.9" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59b23e92ee4318893fa3fe3e6fb365258efbfe6ac6ab30f090cdcbb7aa37efa9" +checksum = "465c6fc0621e4abc4187a2bda0937bfd4f722c2730b29562e19689ea796c9a4b" dependencies = [ "aho-corasick", "memchr", - "regex-syntax", + "regex-syntax 0.8.1", ] [[package]] @@ -972,11 +952,17 @@ version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" +[[package]] +name = "regex-syntax" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56d84fdd47036b038fc80dd333d10b6aab10d5d31f4a366e20014def75328d33" + [[package]] name = "rustix" -version = "0.38.17" +version = "0.38.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f25469e9ae0f3d0047ca8b93fc56843f38e6774f0914a107ff8b41be8be8e0b7" +checksum = "745ecfa778e66b2b63c88a61cb36e0eea109e803b0b86bf9879fbc77c70e86ed" dependencies = [ "bitflags 2.4.0", "errno", diff --git a/Cargo.toml b/Cargo.toml index 473d224..614fb19 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ authors = ["Tancrède Lepoint"] documentation = "https://fhe.rs" edition = "2021" repository = "https://github.com/tlepoint/fhe.rs" -version = "0.1.0-beta.6" +version = "0.1.0-beta.7" license-file = "LICENSE" [workspace.dependencies] diff --git a/README.md b/README.md index bf25574..8b35aa9 100644 --- a/README.md +++ b/README.md @@ -31,8 +31,8 @@ To install, add the following to your project's `Cargo.toml` file: ```toml [dependencies] -fhe = "0.1.0-beta.6" -fhe-traits = "0.1.0-beta.6" +fhe = "0.1.0-beta.7" +fhe-traits = "0.1.0-beta.7" ``` ## Minimum supported version / toolchain diff --git a/crates/fhe-math/Cargo.toml b/crates/fhe-math/Cargo.toml index 34c43fc..ca7d55c 100644 --- a/crates/fhe-math/Cargo.toml +++ b/crates/fhe-math/Cargo.toml @@ -12,8 +12,8 @@ version.workspace = true bench = false # Disable default bench (we use criterion) [dependencies] -fhe-traits = { version = "^0.1.0-beta.6", path = "../fhe-traits" } -fhe-util = { version = "^0.1.0-beta.6", path = "../fhe-util" } +fhe-traits = { version = "^0.1.0-beta.7", path = "../fhe-traits" } +fhe-util = { version = "^0.1.0-beta.7", path = "../fhe-util" } crypto-bigint.workspace = true ethnum.workspace = true diff --git a/crates/fhe/Cargo.toml b/crates/fhe/Cargo.toml index 95b03d6..f4304a6 100644 --- a/crates/fhe/Cargo.toml +++ b/crates/fhe/Cargo.toml @@ -12,9 +12,9 @@ version.workspace = true bench = false # Disable default bench (we use criterion) [dependencies] -fhe-math = { version = "^0.1.0-beta.6", path = "../fhe-math" } -fhe-traits = { version = "^0.1.0-beta.6", path = "../fhe-traits" } -fhe-util = { version = "^0.1.0-beta.6", path = "../fhe-util" } +fhe-math = { version = "^0.1.0-beta.7", path = "../fhe-math" } +fhe-traits = { version = "^0.1.0-beta.7", path = "../fhe-traits" } +fhe-util = { version = "^0.1.0-beta.7", path = "../fhe-util" } itertools.workspace = true num-bigint.workspace = true