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

@@ -42,6 +42,7 @@ paste = "1.0.12"
env_logger = "0.10.0"
toml = "0.7.4"
static_assertions = "1.1.0"
allocator-api2 = "0.2.16"
log = { version = "0.4.17" }
clap = { version = "4.3.0", features = ["derive"] }
serde = { version = "1.0.163", features = ["derive"] }