2023-08-17 15:46:39 +00:00
|
|
|
[package]
|
|
|
|
name = "flowy-encrypt"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
2024-01-22 05:34:15 +00:00
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "rlib"]
|
2023-08-17 15:46:39 +00:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
aes-gcm = "0.10.2"
|
|
|
|
rand = "0.8"
|
|
|
|
pbkdf2 = "0.12.2"
|
|
|
|
hmac = "0.12.1"
|
|
|
|
sha2 = "0.10.7"
|
2023-11-12 13:18:27 +00:00
|
|
|
anyhow.workspace = true
|
2024-01-22 05:34:15 +00:00
|
|
|
base64 = "0.21.2"
|
|
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
2024-01-30 01:33:34 +00:00
|
|
|
getrandom = { version = "0.2", features = ["js"]}
|