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

Documents feature flags in README and add support for lazy-static-context #48

Merged
merged 7 commits into from
Jun 18, 2021

Conversation

sorpaas
Copy link
Member

@sorpaas sorpaas commented Mar 31, 2020

This adds new feature lazy-static-context, which uses lazy_static for context allocation in heap. It's technically mostly the same as disabling both static-context and lazy-static-context, just that this allows users to use the same interface as static-context.

src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Show resolved Hide resolved
@LLFourn
Copy link

LLFourn commented May 6, 2020

Just an FYI on lazy_static: rust-lang-nursery/lazy-static.rs#163. Apparently is causes cargo audit to fail which might be undesirable for a crypto library.

[edit] maybe this: https://docs.rs/conquer-once/0.2.0/conquer_once/

@sorpaas sorpaas changed the base branch from master to develop June 18, 2021 22:51
@sorpaas sorpaas merged commit d053fdd into develop Jun 18, 2021
trevor-crypto pushed a commit to monacohq/libsecp256k1 that referenced this pull request May 31, 2022
…text (paritytech#48)

* Documents feature flags in README and add support for lazy-static-context

* Fix lazy static context feature flag

* Add compile error

* Bump version to 0.6.0-dev

* More all -> any feature flag fixes

* Fix clippy feature flags
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.

3 participants