[package] # General package information name = "encodex" version = "0.2.0" description = "Implementation of and cryptanalysis tool for legacy and modern codes, ciphers and hashes." edition = "2021" # Package information relevant for publishing the crate to crates.io publish = ["crates-io"] authors = ["Fabian Moos "] homepage = "https://gitlab.com/moose_dev/encodex" license = "GPL-3.0-or-later" readme = "README.md" # Build related information build = false repository = "https://gitlab.com/moose_dev/encodex.git" [features] all = ["all_crypto", "ui"] all_crypto = ["base16", "base32", "base32hex", "base64", "base64url", "caesar", "vigenere"] # Every feature enables a code, cipher or digest. base16 = ["base_encoding"] base32 = ["base_encoding"] base32hex = ["base_encoding"] base64 = ["base_encoding"] base64url = ["base_encoding"] caesar = ["shift_cipher"] hex = ["base_encoding"] sha256 = ["sha2"] ui = [] vigenere = ["shift_cipher"] # Add cryptanalysis for specific ciphers or digests. vigenere_ca = ["vigenere", "cryptanalysis"] # These features get enabled when required by the features above and are meant to reduce the size of # 'cfg' lines in code. They should not be activated directly. Most of them don't add functionality # anyway. base_encoding = ["code"] cipher = [] cryptanalysis = [] code = [] digest = [] sha2 = ["digest"] shift_cipher = ["cipher"] # Activate this feature doc_tests = []