relay-crypto 0.1.0

The crypto library for the Relay Ecosystem.
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"
name = "relay-crypto"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The crypto library for the Relay Ecosystem."
readme = "README.md"
license = "Apache-2.0"
repository = "https://gitlab.com/relay-mail/rust/protocol"

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

[[test]]
name = "e2e"
path = "tests/e2e.rs"

[[test]]
name = "sign"
path = "tests/sign.rs"

[[test]]
name = "sign_e2e"
path = "tests/sign_e2e.rs"

[dependencies.chacha20poly1305]
version = "0.10.1"

[dependencies.chrono]
version = "0.4.43"
features = ["serde"]

[dependencies.ciborium]
version = "0.2.2"

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

[dependencies.hex]
version = "0.4.3"
features = ["serde"]

[dependencies.hkdf]
version = "0.12.4"

[dependencies.rand_chacha]
version = "=0.3.1"

[dependencies.rand_core]
version = "=0.6.4"

[dependencies.relay-core]
version = "0.1.0"

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

[dependencies.sha2]
version = "0.10.9"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.x25519-dalek]
version = "2.0.1"
features = [
    "static_secrets",
    "serde",
]