devolutions-crypto 0.3.0

An abstraction layer for the cryptography used by Devolutions
Documentation
[package]
name = "devolutions-crypto"
version = "0.3.0"
authors = ["Philippe Dugre <pdugre@devolutions.net>", "Mathieu Morrissette <mmorrissette@devolutions.net>"]
edition = "2018"
readme = "../README.md"
license = "MIT/Apache-2.0"
homepage = "https://github.com/devolutions/devolutions-crypto"
repository = "https://github.com/devolutions/devolutions-crypto"
description = "An abstraction layer for the cryptography used by Devolutions"

[lib]
name="devolutions_crypto"
crate-type = ["cdylib", "rlib"]

[dependencies]
aes = "0.3.2"
block-modes = "0.3.3"
byteorder="1.3.2"
cfg-if = "0.1.10"
hmac = "0.7.1"
pbkdf2 = { version = "0.3.0", default-features = false }
sha2 = "0.8.0"
x25519-dalek = "0.6.0"
subtle = "2.2.2"
zeroize = "1.1.0"
zeroize_derive = "1.0.0"
base64 = "0.11.0"
chacha20poly1305 = "0.3.0"
aead = "0.2.0"

[target.'cfg(target_arch="wasm32")'.dependencies]
rand = { version = "0.7.2", features = ["wasm-bindgen"] }
wasm-bindgen = "0.2.55"
js-sys = "0.3.32"

[target.'cfg(not(target_arch="wasm32"))'.dependencies]
rand = { version = "0.7.2" }

[target.'cfg(target_arch="wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3.5"