From 4b885f76c9287a71659c5401d5fbf1947136102c Mon Sep 17 00:00:00 2001 From: StackOverflowExcept1on <109800286+StackOverflowExcept1on@users.noreply.github.com> Date: Tue, 21 Jan 2025 09:52:03 +0300 Subject: [PATCH] chore: enable serde feature when serialization is enabled --- roast-core/Cargo.toml | 2 +- roast-ed25519/Cargo.toml | 2 +- roast-ed448/Cargo.toml | 2 +- roast-p256/Cargo.toml | 2 +- roast-ristretto255/Cargo.toml | 2 +- roast-secp256k1-evm/Cargo.toml | 2 +- roast-secp256k1-tr/Cargo.toml | 2 +- roast-secp256k1/Cargo.toml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/roast-core/Cargo.toml b/roast-core/Cargo.toml index a0546cd..cdab210 100644 --- a/roast-core/Cargo.toml +++ b/roast-core/Cargo.toml @@ -33,7 +33,7 @@ std = ["dep:thiserror"] ## `serde` (e.g. JSON with `serde_json`). serde = ["frost-core/serde"] ## Enable a default serialization format. Enables `serde`. -serialization = ["frost-core/serialization"] +serialization = ["serde", "frost-core/serialization"] ## Exposes ciphersuite-generic tests for other crates to use. test-impl = ["dep:rand"] ## Enable cheater detection. diff --git a/roast-ed25519/Cargo.toml b/roast-ed25519/Cargo.toml index 3e6870f..af0ac6b 100644 --- a/roast-ed25519/Cargo.toml +++ b/roast-ed25519/Cargo.toml @@ -31,6 +31,6 @@ std = ["roast-core/std"] ## `serde` (e.g. JSON with `serde_json`). serde = ["roast-core/serde"] ## Enable a default serialization format. Enables `serde`. -serialization = ["roast-core/serialization"] +serialization = ["serde", "roast-core/serialization"] ## Enable cheater detection. cheater-detection = ["roast-core/cheater-detection"] diff --git a/roast-ed448/Cargo.toml b/roast-ed448/Cargo.toml index 2426139..4a18477 100644 --- a/roast-ed448/Cargo.toml +++ b/roast-ed448/Cargo.toml @@ -31,6 +31,6 @@ std = ["roast-core/std"] ## `serde` (e.g. JSON with `serde_json`). serde = ["roast-core/serde"] ## Enable a default serialization format. Enables `serde`. -serialization = ["roast-core/serialization"] +serialization = ["serde", "roast-core/serialization"] ## Enable cheater detection. cheater-detection = ["roast-core/cheater-detection"] diff --git a/roast-p256/Cargo.toml b/roast-p256/Cargo.toml index dc6a189..883b0b1 100644 --- a/roast-p256/Cargo.toml +++ b/roast-p256/Cargo.toml @@ -31,6 +31,6 @@ std = ["roast-core/std"] ## `serde` (e.g. JSON with `serde_json`). serde = ["roast-core/serde"] ## Enable a default serialization format. Enables `serde`. -serialization = ["roast-core/serialization"] +serialization = ["serde", "roast-core/serialization"] ## Enable cheater detection. cheater-detection = ["roast-core/cheater-detection"] diff --git a/roast-ristretto255/Cargo.toml b/roast-ristretto255/Cargo.toml index 2793dac..875ed48 100644 --- a/roast-ristretto255/Cargo.toml +++ b/roast-ristretto255/Cargo.toml @@ -31,6 +31,6 @@ std = ["roast-core/std"] ## `serde` (e.g. JSON with `serde_json`). serde = ["roast-core/serde"] ## Enable a default serialization format. Enables `serde`. -serialization = ["roast-core/serialization"] +serialization = ["serde", "roast-core/serialization"] ## Enable cheater detection. cheater-detection = ["roast-core/cheater-detection"] diff --git a/roast-secp256k1-evm/Cargo.toml b/roast-secp256k1-evm/Cargo.toml index 624d7bb..a65461c 100644 --- a/roast-secp256k1-evm/Cargo.toml +++ b/roast-secp256k1-evm/Cargo.toml @@ -31,6 +31,6 @@ std = ["roast-core/std"] ## `serde` (e.g. JSON with `serde_json`). serde = ["roast-core/serde"] ## Enable a default serialization format. Enables `serde`. -serialization = ["roast-core/serialization"] +serialization = ["serde", "roast-core/serialization"] ## Enable cheater detection. cheater-detection = ["roast-core/cheater-detection"] diff --git a/roast-secp256k1-tr/Cargo.toml b/roast-secp256k1-tr/Cargo.toml index 300051f..030b4d7 100644 --- a/roast-secp256k1-tr/Cargo.toml +++ b/roast-secp256k1-tr/Cargo.toml @@ -31,6 +31,6 @@ std = ["roast-core/std"] ## `serde` (e.g. JSON with `serde_json`). serde = ["roast-core/serde"] ## Enable a default serialization format. Enables `serde`. -serialization = ["roast-core/serialization"] +serialization = ["serde", "roast-core/serialization"] ## Enable cheater detection. cheater-detection = ["roast-core/cheater-detection"] diff --git a/roast-secp256k1/Cargo.toml b/roast-secp256k1/Cargo.toml index c1ef52d..ef0488c 100644 --- a/roast-secp256k1/Cargo.toml +++ b/roast-secp256k1/Cargo.toml @@ -31,6 +31,6 @@ std = ["roast-core/std"] ## `serde` (e.g. JSON with `serde_json`). serde = ["roast-core/serde"] ## Enable a default serialization format. Enables `serde`. -serialization = ["roast-core/serialization"] +serialization = ["serde", "roast-core/serialization"] ## Enable cheater detection. cheater-detection = ["roast-core/cheater-detection"]