# 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 = "br-crypto" version = "0.2.1" authors = [ "Doraemon <7991156@qq.com>", "lhy <1034753021@qq.com>", ] build = false exclude = [ "INSTALL.md", "examples", "tests", ] autobins = false autoexamples = false autotests = false autobenches = false description = "This is an crypto" readme = "README.md" keywords = [ "ba64", "jwt", "sha", "md5", "aes", ] license = "MIT" resolver = "1" [lib] name = "br_crypto" path = "src/lib.rs" [dependencies.base64] version = "0.22.1" features = ["std"] optional = true default-features = false [dependencies.chrono] version = "0.4.38" features = ["clock"] optional = true default-features = false [dependencies.encoding] version = "0.2.33" optional = true [dependencies.encoding_rs] version = "0.8.35" optional = true [dependencies.hex] version = "0.4.3" optional = true [dependencies.hmac] version = "0.12.1" features = ["std"] optional = true default-features = false [dependencies.json] version = "0.12.4" optional = true [dependencies.libaes] version = "0.7.0" optional = true [dependencies.log] version = "0.4.22" [dependencies.mail-parser] version = "0.9.1" optional = true [dependencies.md5] version = "0.7.0" optional = true [dependencies.openssl] version = "0.10" optional = true [dependencies.quoted_printable] version = "0.5.1" features = ["std"] optional = true default-features = false [dependencies.sha1] version = "0.10.6" features = ["std"] optional = true default-features = false [dependencies.sha2] version = "0.10.8" features = ["std"] optional = true default-features = false [dependencies.sha256-rs] version = "1.0.1" optional = true [dependencies.textcode] version = "0.2.2" optional = true [dependencies.urlencoding] version = "2.1.3" optional = true [dependencies.uuid] version = "1.11" features = ["v4"] [dev-dependencies.env_logger] version = "0.11.5" [features] br_aes = [ "br_base64", "libaes", ] br_base64 = [ "base64", "br_encoding", ] br_encoding = [ "textcode", "encoding", "urlencoding", "mail-parser", "encoding_rs", ] br_hash = [ "md5", "sha256-rs", "hex", ] br_hex = ["hex"] br_hmac = [ "hmac", "sha1", "sha2", ] br_jwt = [ "br_base64", "br_hmac", "chrono", "json", "br_pkey", ] br_pkey = [ "openssl", "br_base64", ] br_qp = ["quoted_printable"] default = [ "br_base64", "br_encoding", "br_aes", "br_hash", "br_hmac", "br_qp", "br_jwt", "br_hex", "br_pkey", ]