Commit graph

11 commits

Author SHA1 Message Date
3df6a2b041 patch: remove ConditionallyNegatable for Aeneas/Charon transpilation
Upstream: betrusted-io/curve25519-dalek v4.1.2
Required for: formal verification via Aeneas bf13c42e + Charon 9dd7f23c
2026-06-30 17:30:36 +02:00
bunnie
077d5a1fba cleanup warning 2024-03-25 13:42:12 +08:00
bunnie
b486cda2a0
Merge branch 'main' into v4.1.1 2024-03-25 06:59:43 +08:00
David Kotval
5a9ef20763 wip: make tests compile 2024-03-02 14:36:19 -06:00
David Kotval
b40ec7135e wip: returning to cfg based dependency specification 2024-03-01 13:54:05 -06:00
pinkforest(she/her)
19c7f4a5d5
Fix new nightly redundant import lint warns (#638) 2024-02-29 18:56:52 -07:00
David Kotval
55c5a33411 Merge remote-tracking branch 'upstream/main' into update_to_v4 2023-12-13 17:45:20 -06:00
Michael Rosenberg
81d0756bdc
Made unnecessarily pub contents of field.rs pub(crate) 2023-10-29 22:06:47 -04:00
Michael Rosenberg
cd9378e6fd
Removed unnecessary 'pub use' 2023-10-29 21:53:08 -04:00
Tony Arcieri
c058cd9057
curve: Expand lints (#530)
Adds a lints section to the top of lib.rs with the following:

    #![warn(
        clippy::unwrap_used,
        missing_docs,
        rust_2018_idioms,
        unused_lifetimes,
        unused_qualifications
    )]

`warn` is used instead of `deny` to prevent the lints from firing during
local development, however we already configure `-D warnings` in CI so
if any lint fails on checked-in code, it will cause a CI failure.

This commit also fixes or explicitly allows any current violations of
these lints. The main ones were:

- `clippy::unwrap_used`: replaces usages of `unwrap` with `expect`
- `rust_2018_idioms`: no implicit lifetimes, which were present on
  usages of `core::fmt::Formatter`
2023-08-28 02:32:31 -04:00
pinkforest
40cf5aff99
Workspace curve25519 under curve25519-dalek 2023-06-27 04:00:12 +00:00
Renamed from src/field.rs (Browse further)