Luke Parker
d25c668ee4
Replace lazy_static with OnceLock inside monero-serai
...
lazy_static, if no_std environments were used, effectively required always
using spin locks. This resolves the ergonomics of that while adopting Rust std
code.
no_std does still use a spin based solution. Theoretically, we could use
atomics, yet writing our own Mutex wasn't a priority.
2023-06-28 21:45:57 -04:00
Luke Parker
1e448dec21
Add no_std support to transcript, dalek-ff-group, ed448, ciphersuite, multiexp, schnorr, and monero-generators
...
transcript, dalek-ff-group, ed449, and ciphersuite are all usable with no_std
alone. The rest additionally require alloc.
Part of #279 .
2023-04-22 04:38:47 -04:00
Luke Parker
2e2bc59703
Support reloading the mempool from disk
2023-04-14 15:51:56 -04:00
Luke Parker
c032f66f8a
must_use annotations on DbTxn
2023-04-14 15:04:26 -04:00
Luke Parker
6f6c9f7cdf
Add a dedicated db crate with a basic DB trait
...
It's needed by the processor and tributary (coordinator).
2023-04-14 11:47:43 -04:00
Luke Parker
caf37527eb
Merge branch 'develop' into crypto-tweaks
2023-03-16 16:43:04 -04:00
Luke Parker
c37cc0b4e2
Update Zeroize pin to ^1.5 from 1.5
2023-03-07 02:29:59 -05:00
Luke Parker
375887bb29
Update licenses
2023-01-11 23:05:31 -05:00
Luke Parker
35ca220bcc
Comment the allocator feature
...
Prevents it from turning on with --all-features, forcing nightly.
2022-11-11 01:23:35 -05:00
Luke Parker
3d9b9b178c
Zeroizing allocator ( #154 )
...
* Add a zeroizing allocator
* Also implement the allocator API
* Add misisng license file to zalloc
* Slight change to zalloc description
2022-11-10 23:34:40 -06:00