Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: make standalone portable feature, enabled by default #391

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

Rjected
Copy link
Contributor

@Rjected Rjected commented Feb 6, 2024

This way crates can do:

c-kzg = { version = "0.4.x", default-features = false }

[features]
default = ["portable"]
std = ["c-kzg/std"] # common pattern w/ std
portable = ["c-kzg/portable"]

instead of

c-kzg = { version = "0.4.1", default-features = false }
blst = { version = "0.3.11", default-features = false, optional = true }

[features]
default = ["portable"]
std = ["c-kzg/std"] # common pattern w/ std
portable = ["dep:blst", "blst?/portable"]

Copy link
Member

@jtraglia jtraglia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@jtraglia jtraglia merged commit 0bbeded into ethereum:main Feb 7, 2024
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants