mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Fixes `no-std` builds for packages which intended to be `no-std` (without `alloc`). Updates a variety of MSRVs to 1.73 due to `flexible-transcript` no longer using `std-shims` to achieve 1.66 (as `std-shims` requires `alloc`). A future improvement would be for `std-shims` to have an `alloc` feature and only provide MSRV shims without it.
64 lines
2.1 KiB
TOML
64 lines
2.1 KiB
TOML
[package]
|
|
name = "serai-no-std-tests"
|
|
version = "0.1.0"
|
|
description = "A crate to test no-std builds of Serai crates work"
|
|
license = "MIT"
|
|
repository = "https://github.com/kayabaNerve/serai/tree/develop/tests/no-std"
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
keywords = ["nostd", "no_std", "alloc"]
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
flexible-transcript = { path = "../../crypto/transcript", default-features = false, features = ["recommended", "merlin"] }
|
|
|
|
multiexp = { path = "../../crypto/multiexp", default-features = false, features = ["batch"], optional = true }
|
|
|
|
dalek-ff-group = { path = "../../crypto/dalek-ff-group", default-features = false }
|
|
minimal-ed448 = { path = "../../crypto/ed448", default-features = false }
|
|
|
|
ciphersuite = { path = "../../crypto/ciphersuite", default-features = false }
|
|
|
|
schnorr-signatures = { path = "../../crypto/schnorr", default-features = false, optional = true }
|
|
|
|
prime-field = { path = "../../crypto/prime-field", default-features = false }
|
|
short-weierstrass = { path = "../../crypto/short-weierstrass", default-features = false }
|
|
secq256k1 = { path = "../../crypto/secq256k1", default-features = false }
|
|
embedwards25519 = { path = "../../crypto/embedwards25519", default-features = false }
|
|
|
|
dkg = { path = "../../crypto/dkg", default-features = false, optional = true }
|
|
dkg-evrf = { path = "../../crypto/dkg/evrf", default-features = false, features = ["secp256k1", "ed25519", "ristretto"], optional = true }
|
|
# modular-frost = { path = "../../crypto/frost", default-features = false }
|
|
# frost-schnorrkel = { path = "../../crypto/schnorrkel", default-features = false }
|
|
|
|
bitcoin-serai = { path = "../../networks/bitcoin", default-features = false, features = ["hazmat"], optional = true }
|
|
|
|
[features]
|
|
alloc = [
|
|
"multiexp",
|
|
|
|
"dalek-ff-group/alloc",
|
|
"minimal-ed448/alloc",
|
|
|
|
"ciphersuite/alloc",
|
|
|
|
"schnorr-signatures",
|
|
|
|
"prime-field/alloc",
|
|
"short-weierstrass/alloc",
|
|
"secq256k1/alloc",
|
|
"embedwards25519/alloc",
|
|
|
|
"dkg",
|
|
"dkg-evrf",
|
|
|
|
"bitcoin-serai",
|
|
]
|