xous-core/services/engine-sha512/Cargo.toml
bunnie c51c3cfe79 add std as a target for engine-sha512
we actually do have a `std` now in Xous, it wasn't there before
because we made this crate before we had `std`.

However, I'm not quite sure what apis we should be adding if we
have `std`...probably something else should be added, we'll probably
trip over it when someone tries to compile against a crate that
actually uses the `std`-specific APIs.
2024-01-05 16:19:05 +08:00

36 lines
1.2 KiB
TOML

[package]
name = "sha2"
version = "0.9.8"
authors = ["bunnie <bunnie@kosagi.com>"]
edition = "2018"
description = "Sha512 hardware accelerator engine"
# Dependency versions enforced by Cargo.lock.
[dependencies]
xous = "0.9.56"
log-server = { package = "xous-api-log", version = "0.1.52" }
ticktimer-server = { package = "xous-api-ticktimer", version = "0.9.52" }
xous-names = { package = "xous-api-names", version = "0.9.54" }
log = "0.4.14"
susres = {package = "xous-api-susres", version = "0.9.52"}
trng = { path = "../trng" }
xous-ipc = "0.9.56"
num-derive = {version = "0.3.3", default-features = false}
num-traits = {version = "0.2.14", default-features = false}
rkyv = {version = "0.4.3", default-features = false, features = ["const_generics"]}
# Rust-standard digest API dependencies
digest = "0.9.0"
block-buffer = "0.9.0"
opaque-debug = "0.3.0" # prevents internal hash state leakage from debug structures
utralib = { version = "0.1.23", optional = true, default-features = false }
[features]
precursor = ["utralib/precursor"]
hosted = ["utralib/hosted"]
renode = ["utralib/renode"]
event_wait = [] # in theory, event_wait should be more efficient, but the OS overhead is greater than the computation.
std = []
default = []