mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Correct various no_std definitions
This commit is contained in:
@@ -27,16 +27,17 @@ transcript = { package = "flexible-transcript", path = "../transcript", version
|
||||
chacha20 = { version = "0.9", default-features = false, features = ["zeroize"] }
|
||||
|
||||
ciphersuite = { path = "../ciphersuite", version = "0.3", default-features = false }
|
||||
multiexp = { path = "../multiexp", version = "0.3", default-features = false, features = ["batch"] }
|
||||
multiexp = { path = "../multiexp", version = "0.3", default-features = false }
|
||||
|
||||
schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "0.4" }
|
||||
dleq = { path = "../dleq", version = "0.3", default-features = false, features = ["serialize"] }
|
||||
schnorr = { package = "schnorr-signatures", path = "../schnorr", version = "0.4", default-features = false }
|
||||
dleq = { path = "../dleq", version = "0.3", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
rand_core = { version = "0.6", default-features = false, features = ["getrandom"] }
|
||||
ciphersuite = { path = "../ciphersuite", version = "0.3", default-features = false, features = ["ristretto"] }
|
||||
|
||||
[features]
|
||||
std = ["thiserror", "std-shims/std", "ciphersuite/std", "multiexp/std", "schnorr/std", "dleq/std"]
|
||||
std = ["thiserror", "rand_core/std", "std-shims/std", "ciphersuite/std", "multiexp/[batch, std]", "schnorr/std", "dleq/serialize"]
|
||||
serde = ["dep:serde"]
|
||||
tests = ["rand_core/getrandom"]
|
||||
default = ["std"]
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
|
||||
#![doc = include_str!("../README.md")]
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
|
||||
use core::fmt::{self, Debug};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user