mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Add no_std support to transcript, dalek-ff-group, ed448, ciphersuite, multiexp, schnorr, and monero-generators
transcript, dalek-ff-group, ed449, and ciphersuite are all usable with no_std alone. The rest additionally require alloc. Part of #279.
This commit is contained in:
@@ -15,20 +15,22 @@ rustdoc-args = ["--cfg", "docsrs"]
|
||||
[dependencies]
|
||||
rustversion = "1"
|
||||
|
||||
zeroize = { version = "^1.5", features = ["zeroize_derive"] }
|
||||
subtle = "^2.4"
|
||||
zeroize = { version = "^1.5", default-features = false, features = ["zeroize_derive"] }
|
||||
subtle = { version = "^2.4", default-features = false }
|
||||
|
||||
rand_core = "0.6"
|
||||
rand_core = { version = "0.6", default-features = false }
|
||||
|
||||
digest = "0.10"
|
||||
digest = { version = "0.10", default-features = false }
|
||||
|
||||
ff = "0.13"
|
||||
group = "0.13"
|
||||
ff = { version = "0.13", default-features = false, features = ["bits"] }
|
||||
group = { version = "0.13", default-features = false }
|
||||
|
||||
crypto-bigint = "0.5"
|
||||
crypto-bigint = { version = "0.5", default-features = false }
|
||||
|
||||
sha2 = "0.9"
|
||||
curve25519-dalek = "^3.2"
|
||||
sha2 = { version = "0.9", default-features = false }
|
||||
# The default features are ["std", "u64_backend"]
|
||||
curve25519-dalek = { version = "^3.2", default-features = false, features = ["alloc", "u64_backend"] }
|
||||
|
||||
[dev-dependencies]
|
||||
rand_core = { version = "0.6", features = ["std"] }
|
||||
ff-group-tests = { path = "../ff-group-tests" }
|
||||
|
||||
@@ -8,3 +8,5 @@ This library was
|
||||
culminating in commit
|
||||
[669d2dbffc1dafb82a09d9419ea182667115df06](https://github.com/serai-dex/serai/tree/669d2dbffc1dafb82a09d9419ea182667115df06).
|
||||
Any subsequent changes have not undergone auditing.
|
||||
|
||||
This library is usable under no_std.
|
||||
|
||||
Reference in New Issue
Block a user