herolib-crypt 0.3.13

Simple and secure asymmetric cryptography: signing and encryption using Ed25519
Documentation
# 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 = "2024"
rust-version = "1.92.0"
name = "herolib-crypt"
version = "0.3.13"
authors = ["PlanetFirst <info@incubaid.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Simple and secure asymmetric cryptography: signing and encryption using Ed25519"
readme = "README.md"
keywords = [
    "crypto",
    "ed25519",
    "signing",
    "encryption",
    "asymmetric",
]
categories = ["cryptography"]
license = "Apache-2.0"
repository = "https://github.com/herolib/herolib_rust"
resolver = "2"

[features]
default = ["httpsig"]
full = [
    "httpsig",
    "rhai",
]
httpsig = ["dep:http"]

[lib]
name = "herolib_crypt"
path = "src/lib.rs"

[[example]]
name = "asymmetric"
path = "examples/rust/asymmetric.rs"

[[example]]
name = "run_rhai"
path = "examples/rust/run_rhai.rs"
required-features = ["rhai"]

[[example]]
name = "symmetric"
path = "examples/rust/symmetric.rs"

[dependencies.argon2]
version = "0.5"

[dependencies.base64]
version = "0.22"

[dependencies.chacha20poly1305]
version = "0.10"

[dependencies.ed25519-dalek]
version = "2.1"
features = [
    "rand_core",
    "serde",
]

[dependencies.hex]
version = "0.4"

[dependencies.hkdf]
version = "0.12"

[dependencies.http]
version = "1.0"
optional = true

[dependencies.rand]
version = "0.8"

[dependencies.rhai]
version = "1.23.6"
features = ["sync"]
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.sha2]
version = "0.10"

[dependencies.sha3]
version = "0.10"

[dependencies.subtle]
version = "2.5"

[dependencies.thiserror]
version = "2.0"

[dependencies.x25519-dalek]
version = "2.0"
features = ["static_secrets"]

[dependencies.zeroize]
version = "1.8"
features = [
    "derive",
    "alloc",
]

[dev-dependencies]