-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Felt serde #883
fix: Felt serde #883
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #883 +/- ##
=======================================
Coverage 72.05% 72.05%
=======================================
Files 149 149
Lines 33408 33408
=======================================
Hits 24073 24073
Misses 9335 9335 ☔ View full report in Codecov by Sentry. |
Can we add the examples to the compile pipeline? |
@@ -11,7 +11,7 @@ path = "src/main.rs" | |||
|
|||
[dependencies] | |||
clap = { version = "4.4.6", features = ["derive"] } | |||
lambdaworks-crypto = { workspace = true } | |||
lambdaworks-crypto = { workspace = true, features = ["serde"]} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This came up when building all other examples. The crate relies on serde and it fails to compile if it's not added.
@igamigo it seems the compiler updated and now there are new lints. The failing pipelines are due to missing indentation in some doc comments in the fft implementation. |
Felt serde fix
(Tested with Rust 1.79)
The
prove-miden
example was not compiling correctly due to a serde problem withFieldElement
.Description
Fixes compilation by making the type explicit to
&str
so that the type is Sized and it does not fail based on the serde bounds.To repro the problem on
main
:cd examples/prove-miden && cargo run
Type of change
Checklist