# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "crypter" version = "0.2.1" authors = ["Marcelo Lima "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A AES-GCM 256 encryption and decryption library." readme = "README.md" keywords = [ "cryptography", "aes", ] categories = ["cryptography"] license = "MIT" repository = "https://github.com/m-lima/crypter" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [profile.release] lto = true codegen-units = 1 strip = true [lib] name = "crypter" crate-type = [ "cdylib", "lib", ] path = "src/lib.rs" [dependencies.aead] version = "0.5.2" features = ["stream"] optional = true [dependencies.aes-gcm-siv] version = "0.11.1" [dependencies.base64] version = "0.22.1" [dependencies.getrandom] version = "0.2.15" features = ["js"] optional = true [dependencies.js-sys] version = "0.3.70" optional = true [dependencies.sha2] version = "0.10.8" [dependencies.wasm-bindgen] version = "0.2.93" optional = true [features] default = [] ffi = [] stream = ["dep:aead"] wasm = [ "dep:wasm-bindgen", "dep:js-sys", "dep:getrandom", ]