Crates.io | libsecp256k1 |
lib.rs | libsecp256k1 |
version | 0.7.1 |
source | src |
created_at | 2017-11-10 18:33:33.897453 |
updated_at | 2022-07-14 16:24:51.862891 |
description | Pure Rust secp256k1 implementation. |
homepage | |
repository | https://github.com/paritytech/libsecp256k1 |
max_upload_size | |
id | 38879 |
size | 298,677 |
SECP256K1 implementation with no_std
support. Currently we have implementation for:
std
: If disabled, works in no_std
environment. Enabled by default.hmac
: Add certain features that requires the HMAC-DRBG. This includes
signing. Enabled by default.static-context
: To speed up computation, the library uses a pre-computed
table context for many ecmult
operations. This feature flag puts the context
directly as static variables. If disabled, the context must be created from
heap manually. Increases binary size, enabled by default.lazy-static-context
: Instead of storing the pre-computed table context as
static variables, store it as a variable that dynamically allocates the
context in heap via lazy_static
. It overwrites static-context
. Impact
bootstrap performance and only available in std
, disabled by default.This repository uses develop
branch for development. Changes are periodically
merged to master
branch.
All changes (except new releases) are handled through pull requests. Please open
your PR against develop
branch.
libsecp256k1
follows Semantic Versioning. An unreleased crate
in the repository will have the -dev
suffix in the end, and we do rolling
releases.
When you make a pull request against this repository, please also update the
affected crates' versions, using the following rules. Note that the rules should
be applied recursively -- if a change modifies any upper crate's dependency
(even just the Cargo.toml
file), then the upper crate will also need to apply
those rules.
Additionally, if your change is notable, then you should also modify the
corresponding CHANGELOG.md
file, in the "Unreleased" section.
If the affected crate already has -dev
suffix:
If the affected crate does not yet have -dev
suffix:
-dev
suffix.-dev
suffix.-dev
suffix.If your pull request introduces a new crate, please set its version to
1.0.0-dev
.