From 0bbededd0880d5c9162d69dfaefb6632c34f8946 Mon Sep 17 00:00:00 2001 From: Dan Cline <6798349+Rjected@users.noreply.github.com> Date: Wed, 7 Feb 2024 07:07:20 -0500 Subject: [PATCH] chore: make standalone portable feature, enabled by default (#391) --- bindings/rust/Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bindings/rust/Cargo.toml b/bindings/rust/Cargo.toml index 012b2231e..be3a968df 100644 --- a/bindings/rust/Cargo.toml +++ b/bindings/rust/Cargo.toml @@ -8,11 +8,15 @@ links = "ckzg" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] -default = ["std", "blst/portable"] +default = ["std", "portable"] std = ["hex/std", "libc/std", "serde?/std"] serde = ["dep:serde"] generate-bindings = ["dep:bindgen"] +# This is a standalone feature so that crates that disable default features can +# enable blst/portable without having to add it as a dependency +portable = ["blst/portable"] + # BLST Compilation: # Suppress multi-threading. # Engaged on wasm32 target architecture automatically.