Skip to content

Commit bdb0d7d

Browse files
chore: Update Plonky3 dependency and adapt to breaking API changes: (#43)
- AirBuilder: replace type M with PreprocessedWindow, MainWindow, PublicVar - Use RowWindow/WindowAccess instead of VerticalPair for preprocessed traces - MerkleTreeMmcs: add arity generic parameter and cap_height constructor arg - FriParameters: add max_log_arity field - MerkleCap no longer Copy: add .clone() where needed - Remove PreprocessedBuilder, AirBuilderWithPublicValues, BaseAirWithPublicValues (functionality merged into AirBuilder/BaseAir) - Expose cap_height and max_log_arity in public CommitmentParameters/FriParameters - Add documentation to public types and fix stale doc comments
1 parent 14b7060 commit bdb0d7d

15 files changed

Lines changed: 281 additions & 220 deletions

Cargo.lock

Lines changed: 68 additions & 55 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ rust-version = "1.88"
1111
[dependencies]
1212
serde = { version = "1", features = ["derive"] }
1313
bincode = { version = "2", features = ["serde"] }
14-
p3-air = { git = "https://github.com/Plonky3/Plonky3", rev = "0835481398d2b481bef0c6d0e8188b484ab9a636" }
15-
p3-goldilocks = { git = "https://github.com/Plonky3/Plonky3", rev = "0835481398d2b481bef0c6d0e8188b484ab9a636" }
16-
p3-challenger = { git = "https://github.com/Plonky3/Plonky3", rev = "0835481398d2b481bef0c6d0e8188b484ab9a636" }
17-
p3-commit = { git = "https://github.com/Plonky3/Plonky3", rev = "0835481398d2b481bef0c6d0e8188b484ab9a636" }
18-
p3-dft = { git = "https://github.com/Plonky3/Plonky3", rev = "0835481398d2b481bef0c6d0e8188b484ab9a636" }
19-
p3-field = { git = "https://github.com/Plonky3/Plonky3", rev = "0835481398d2b481bef0c6d0e8188b484ab9a636" }
20-
p3-fri = { git = "https://github.com/Plonky3/Plonky3", rev = "0835481398d2b481bef0c6d0e8188b484ab9a636" }
21-
p3-keccak = { git = "https://github.com/Plonky3/Plonky3", rev = "0835481398d2b481bef0c6d0e8188b484ab9a636" }
22-
p3-matrix = { git = "https://github.com/Plonky3/Plonky3", rev = "0835481398d2b481bef0c6d0e8188b484ab9a636" }
23-
p3-maybe-rayon = { git = "https://github.com/Plonky3/Plonky3", rev = "0835481398d2b481bef0c6d0e8188b484ab9a636" }
24-
p3-merkle-tree = { git = "https://github.com/Plonky3/Plonky3", rev = "0835481398d2b481bef0c6d0e8188b484ab9a636" }
25-
p3-symmetric = { git = "https://github.com/Plonky3/Plonky3", rev = "0835481398d2b481bef0c6d0e8188b484ab9a636" }
26-
p3-util = { git = "https://github.com/Plonky3/Plonky3", rev = "0835481398d2b481bef0c6d0e8188b484ab9a636" }
14+
p3-air = { git = "https://github.com/Plonky3/Plonky3", rev = "e52636ec09663fd7d3bd4eaabb21dba8698f129a" }
15+
p3-goldilocks = { git = "https://github.com/Plonky3/Plonky3", rev = "e52636ec09663fd7d3bd4eaabb21dba8698f129a" }
16+
p3-challenger = { git = "https://github.com/Plonky3/Plonky3", rev = "e52636ec09663fd7d3bd4eaabb21dba8698f129a" }
17+
p3-commit = { git = "https://github.com/Plonky3/Plonky3", rev = "e52636ec09663fd7d3bd4eaabb21dba8698f129a" }
18+
p3-dft = { git = "https://github.com/Plonky3/Plonky3", rev = "e52636ec09663fd7d3bd4eaabb21dba8698f129a" }
19+
p3-field = { git = "https://github.com/Plonky3/Plonky3", rev = "e52636ec09663fd7d3bd4eaabb21dba8698f129a" }
20+
p3-fri = { git = "https://github.com/Plonky3/Plonky3", rev = "e52636ec09663fd7d3bd4eaabb21dba8698f129a" }
21+
p3-keccak = { git = "https://github.com/Plonky3/Plonky3", rev = "e52636ec09663fd7d3bd4eaabb21dba8698f129a" }
22+
p3-matrix = { git = "https://github.com/Plonky3/Plonky3", rev = "e52636ec09663fd7d3bd4eaabb21dba8698f129a" }
23+
p3-maybe-rayon = { git = "https://github.com/Plonky3/Plonky3", rev = "e52636ec09663fd7d3bd4eaabb21dba8698f129a" }
24+
p3-merkle-tree = { git = "https://github.com/Plonky3/Plonky3", rev = "e52636ec09663fd7d3bd4eaabb21dba8698f129a" }
25+
p3-symmetric = { git = "https://github.com/Plonky3/Plonky3", rev = "e52636ec09663fd7d3bd4eaabb21dba8698f129a" }
26+
p3-util = { git = "https://github.com/Plonky3/Plonky3", rev = "e52636ec09663fd7d3bd4eaabb21dba8698f129a" }
2727

2828
[features]
2929
parallel = ["p3-maybe-rayon/parallel"]

deny.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ feature-depth = 1
7171
# output a note when they are encountered.
7272
ignore = [
7373
"RUSTSEC-2024-0436", # `paste` crate is unmaintained
74+
"RUSTSEC-2025-0141", # `bincode` crate is unmaintained
7475
#"RUSTSEC-0000-0000",
7576
#{ id = "RUSTSEC-0000-0000", reason = "you can specify a reason the advisory is ignored" },
7677
#"a-crate-that-is-yanked@0.1.1", # you can also ignore yanked crate versions if you wish
@@ -95,7 +96,7 @@ allow = [
9596
"Unicode-3.0",
9697
"CC0-1.0",
9798
#"Apache-2.0 WITH LLVM-exception",
98-
"BSD-2-Clause",
99+
#"BSD-2-Clause",
99100
]
100101
# The confidence threshold for detecting a license from license text.
101102
# The higher the value, the more closely the license text must be to the

0 commit comments

Comments
 (0)