behzad nouri
528a03f32a
removes outdated matches crate from dependencies ( #33172 )
...
removes outdated matches crate from the dependencies
std::matches has been stable since rust 1.42.0.
Other use-cases are covered by assert_matches crate.
2023-09-07 12:52:57 +00:00
Alexander Meißner
9e703f85de
Upgrades Rust to 1.72.0 & nightly-2023-08-25 ( #32961 )
...
* allow pedantic invalid cast lint
* allow lint with false-positive triggered by `test-case` crate
* nightly `fmt` correction
* adapt to rust layout changes
* remove dubious test
* Use transmute instead of pointer cast and de/ref when check_aligned is false.
* Renames clippy::integer_arithmetic to clippy::arithmetic_side_effects.
* bump rust nightly to 2023-08-25
* Upgrades Rust to 1.72.0
---------
Co-authored-by: Trent Nelson <trent@solana.com>
2023-09-01 07:26:13 +00:00
Alexander Meißner
a8be70fa7a
General cleanup ( #32980 )
...
* Fixes `cargo::` in build.rs
* Fixes overshadowing reexports.
* Removes unnecessary `as *const u8`.
* Removes unnecessary `.into_iter()`.
* cargo clippy
2023-08-24 21:44:19 +02:00
steviez
53149a18ad
Fix partialeq_to_none clippy lint ( #27696 )
2022-09-09 22:27:05 -05:00
Michael Vines
b05c7d91ed
Fix derive_partial_eq_without_eq clippy lint
2022-05-22 22:22:21 -07:00
Dmitri Makarov
569b00025c
fix: replace rust cfg annotations that use bpf by target_os solana
2022-05-18 20:39:43 -07:00
Trent Nelson
a44c32694f
merkle-tree: Use `matches` crate when targeting eBPF
2021-04-03 12:09:36 -06:00
Trent Nelson
ddc0a16cec
merkle-tree: Get `Hash` et. al from program instead of sdk
2021-04-03 12:09:36 -06:00
Trent Nelson
7f7370c306
Re-allow clippy::integer_arithmetic at crate-level
2021-02-17 13:55:08 -07:00
Michael Vines
eefcf484cb
clippy
2020-08-03 18:35:15 +00:00
Greg Fitzgerald
0550b893b0
Fix typos ( #10675 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-17 20:54:52 -07:00
Kristofer Peterson
58ef02f02b
9951 clippy errors in the test suite ( #10030 )
...
automerge
2020-05-15 09:35:43 -07:00
sakridge
63ed892502
Remove flaky merkle timing test ( #8602 )
2020-03-03 19:26:38 -08:00
Ryan Zhu
edb18349c9
Improve merkle-tree nodes capacity computing ( #8273 )
...
* Improve merkle-tree nodes capacity computing
* Add test cases for math compute of merkle-tree nodes capacity
2020-02-22 11:12:37 -07:00
Trent Nelson
5698d48dc8
merkle-tree: Make instantiation a little less painful ( #5037 )
...
automerge
2019-07-11 15:15:08 -07:00
Trent Nelson
1feb9bea21
Harden Merkle Tree against second pre-image attacks ( #4925 )
...
* merkle-tree: Harden against second pre-image attacks
* core/chacha: Bump test golden hash
2019-07-08 19:00:06 -06:00
Trent Nelson
06c547094a
Add Merkle Tree implementation ( #4749 )
...
automerge
2019-06-21 10:22:21 -07:00