[package] authors = ["Sho Nakatani "] categories = ["no-std", "cryptography", "encoding"] description = "Encrypts all the Serialize" documentation = "https://docs.rs/serde-encrypt-core" edition = "2018" keywords = ["libsodium", "xsalsa20poly1305", "x25519", "serde", "serde-encrypt"] # up to 5 keywords, each keyword should have <= 20 chars license = "MIT OR Apache-2.0" name = "serde-encrypt-core" readme = "../README.md" repository = "https://github.com/laysakura/serde-encrypt" version = "0.7.0" [dependencies] chacha20poly1305 = {version = "0.8", default-features = false, features = ["alloc", "xchacha20poly1305"]} crypto_box = {version = "0.6"} rand = {version = "0.8", default-features = false} rand_chacha = {version = "0.3", default-features = false} [dev-dependencies] spin = {version = "0.9", default-features = false, features = ["spin_mutex", "lazy"]} [features] default = ["std"] std = [ "chacha20poly1305/std", "rand_chacha/std", ]