From c1b41392c82ceecbccd742b22db6c531a6c18e3d Mon Sep 17 00:00:00 2001 From: "j.detchart" <jonathan.detchart@isae-supaero.fr> Date: Wed, 6 Nov 2024 09:53:48 +0100 Subject: [PATCH 1/2] enable kzg and aplonk by default --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index f7d1218f..d05aa9d7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,6 +39,7 @@ itertools = "0.13.0" rand = "0.8.5" [features] +default= ["kzg", "aplonk"] kzg = ["dep:ark-poly-commit"] aplonk = ["dep:ark-poly-commit"] fs = [] -- GitLab From 66573f8e50dc24db06b85eab336f651bc8480065 Mon Sep 17 00:00:00 2001 From: "j.detchart" <jonathan.detchart@isae-supaero.fr> Date: Wed, 6 Nov 2024 10:08:50 +0100 Subject: [PATCH 2/2] remove default features, and enable them only for docs --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index d05aa9d7..0c4ecd56 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,11 +39,13 @@ itertools = "0.13.0" rand = "0.8.5" [features] -default= ["kzg", "aplonk"] kzg = ["dep:ark-poly-commit"] aplonk = ["dep:ark-poly-commit"] fs = [] +[package.metadata.docs.rs] +features = ["kzg", "aplonk"] + [[example]] name = "kzg" required-features = ["kzg"] -- GitLab