use stdlib xchacha20poly1305

master
Edward Shen 2022-01-18 18:09:28 -08:00
parent 404d78c0ba
commit 111a9e9b98
Signed by: edward
GPG Key ID: 19182661E818369F
2 changed files with 2 additions and 1 deletions

1
Cargo.lock generated
View File

@ -15,6 +15,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b613b8e1e3cf911a086f53f03bf286f52fd7a7258e4fa606f0ef220d39d8877"
dependencies = [
"generic-array",
"rand_core",
]
[[package]]

View File

@ -11,7 +11,7 @@ license = "MIT"
[dependencies]
base64 = "0.13"
bytes = { version = "1", features = ["serde"] }
chacha20poly1305 = { version = "0.9", features = ["stream"] }
chacha20poly1305 = { version = "0.9", features = ["stream", "std"] }
chrono = { version = "0.4", features = ["serde"] }
headers = "0.3"
lazy_static = "1"