diff --git a/Cargo.lock b/Cargo.lock --- a/Cargo.lock +++ b/Cargo.lock @@ -106,6 +106,7 @@ "cfg-if", "cipher", "cpufeatures", + "zeroize", ] [[package]] @@ -118,6 +119,7 @@ "chacha20", "cipher", "poly1305", + "zeroize", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml --- a/Cargo.toml +++ b/Cargo.toml @@ -37,7 +37,7 @@ [dev-dependencies] getrandom = { version = "0.4.2", features = ["sys_rng"] } aead = { version = "0.6.0-rc.10", features = ["alloc"] } -chacha20poly1305 = "=0.11.0-rc.3" +chacha20poly1305 = { version = "=0.11.0-rc.3", features = ["zeroize"] } criterion = { version ="0.8.2", features = ["html_reports"] } [[bench]]