mirror of
https://github.com/logos-blockchain/sponges.git
synced 2026-07-30 10:33:21 +00:00
Impls the standard AEAD API from the `aead` crate. Eventually we can split this API out into a separate crate, e.g. `ascon-aead`, but for now this just gets things working initially. Uses weak/namespaced features which requires MSRV 1.60.
35 lines
994 B
TOML
35 lines
994 B
TOML
[package]
|
|
name = "ascon"
|
|
version = "0.2.0-pre"
|
|
description = """
|
|
Pure Rust implementation of Ascon, a family of authenticated encryption and
|
|
hashing algorithms designed to be lightweight and easy to implement
|
|
"""
|
|
authors = ["quininer kel <quininer@live.com>", "RustCrypto Developers"]
|
|
license = "Apache-2.0 OR MIT"
|
|
documentation = "https://docs.rs/ascon"
|
|
repository = "https://github.com/RustCrypto/sponges/tree/master/ascon"
|
|
keywords = ["crypto", "sponge"]
|
|
categories = ["cryptography", "no-std"]
|
|
readme = "README.md"
|
|
edition = "2021"
|
|
rust-version = "1.60"
|
|
|
|
[dependencies]
|
|
aead = { version = "0.5", optional = true, default-features = false }
|
|
subtle = { version = "2", optional = true, default-features = false }
|
|
|
|
[dev-dependencies]
|
|
hex-literal = "0.3"
|
|
|
|
[features]
|
|
default = ["aead"]
|
|
alloc = ["aead?/alloc"]
|
|
std = ["aead?/std"]
|
|
|
|
aead = ["dep:aead", "alloc", "subtle"] # TODO(tarcieri): remove alloc dependency
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|