[package]
name = "nu_plugin_hashes"
description = "A Nushell plugin that adds 63 cryptographic hash functions from Hashes project"
keywords = ["nu", "plugin", "hash"]
categories = ["algorithms"]
repository = "https://github.com/ArmoredPony/nu_plugin_hashes"
license = "MIT"
version = "0.1.8"
edition = "2024"

[features]
default = [
    "ascon-hash",
    "belt-hash",
    "blake2",
    "blake3",
    "fsb",
    "gost94",
    "groestl",
    "jh",
    "md2",
    "md4",
    "ripemd",
    "sha1",
    "sha2",
    "sha3",
    "shabal",
    "skein",
    "sm3",
    "streebog",
    "tiger",
    "whirlpool",
]

[dependencies]
nu-cmd-base = { version = "0.105.2", path = "../nushell/crates/nu-cmd-base" }
nu-plugin = { version = "0.105.2", path = "../nushell/crates/nu-plugin" }
nu-protocol = { version = "0.105.2", path = "../nushell/crates/nu-protocol" }
digest = "0.10.7"
ascon-hash = { version = "0.2.0", optional = true }
belt-hash = { version = "0.1.1", optional = true }
blake2 = { version = "0.10.6", optional = true }
blake3 = { version = "1.6.1", optional = true, default-features = false, features = [
    "std",
    "traits-preview",
] }
fsb = { version = "0.1.3", optional = true }
gost94 = { version = "0.10.4", optional = true }
groestl = { version = "0.10.1", optional = true }
jh = { version = "0.1.0", optional = true }
md2 = { version = "0.10.2", optional = true }
md4 = { version = "0.10.2", optional = true }
ripemd = { version = "0.1.3", optional = true }
sha1 = { version = "0.10.6", optional = true }
sha2 = { version = "0.10.9", optional = true }
sha3 = { version = "0.10.8", optional = true }
shabal = { version = "0.4.1", optional = true }
skein = { version = "0.1.0", optional = true }
sm3 = { version = "0.4.2", optional = true }
streebog = { version = "0.10.2", optional = true }
tiger = { version = "0.2.1", optional = true }
whirlpool = { version = "0.10.4", optional = true }

[build-dependencies]
digest = "0.10.7"
ascon-hash = { version = "0.2.0", optional = true }
belt-hash = { version = "0.1.1", optional = true }
blake2 = { version = "0.10.6", optional = true }
blake3 = { version = "1.6.1", optional = true, default-features = false, features = [
    "std",
    "traits-preview",
] }
fsb = { version = "0.1.3", optional = true }
gost94 = { version = "0.10.4", optional = true }
groestl = { version = "0.10.1", optional = true }
jh = { version = "0.1.0", optional = true }
md2 = { version = "0.10.2", optional = true }
md4 = { version = "0.10.2", optional = true }
ripemd = { version = "0.1.3", optional = true }
sha1 = { version = "0.10.6", optional = true }
sha2 = { version = "0.10.8", optional = true }
sha3 = { version = "0.10.8", optional = true }
shabal = { version = "0.4.1", optional = true }
skein = { version = "0.1.0", optional = true }
sm3 = { version = "0.4.2", optional = true }
streebog = { version = "0.10.2", optional = true }
tiger = { version = "0.2.1", optional = true }
whirlpool = { version = "0.10.4", optional = true }

[dev-dependencies]
nu-plugin-test-support = { version = "0.105.2", path = "../nushell/crates/nu-plugin-test-support" }

[profile.release]
strip = true
lto = true
codegen-units = 1
