feat: Wrap sodium_malloc as a custom allocator

This lets us get rid of quite a few unsafe blocks.
This commit is contained in:
Karolin Varner
2023-11-30 16:23:54 +01:00
committed by Karolin Varner
parent 85a61808de
commit 70fa9bd6d7
7 changed files with 175 additions and 158 deletions

View File

@@ -15,3 +15,4 @@ rosenpass-to = { workspace = true }
anyhow = { workspace = true }
libsodium-sys-stable = { workspace = true }
log = { workspace = true }
allocator-api2 = { workspace = true }