Crates.io | cashweb-secp256k1-sys |
lib.rs | cashweb-secp256k1-sys |
version | 0.3.1 |
source | src |
created_at | 2020-07-01 02:23:54.963165 |
updated_at | 2020-12-31 10:51:33.427311 |
description | FFI for Pieter Wuille's `libsecp256k1` library. |
homepage | https://github.com/rust-bitcoin/rust-secp256k1/ |
repository | https://github.com/rust-bitcoin/rust-secp256k1/ |
max_upload_size | |
id | 260127 |
size | 1,233,275 |
This crate provides Rust definitions for the FFI structures and methods.
The default build process is to build using the vendored libsecp256k1 sources in
the depend folder. These sources are prefixed with a special
cashweb-secp256k1-sys-specific prefix rustsecp256k1_v1_2_3_
.
This prefix ensures that no symbol collision can happen:
To update the vendored sources, use the vendor-libsecp.sh
script:
$ ./vendor-libsecp.sh depend <version-code> <rev>
Where <version-code>
is the cashweb-secp256k1-sys version number underscored: 0_1_2
.
Where <rev>
is the git revision of libsecp256k1 to checkout.
If you want to compile this library without using the bundled symbols (which may
be required for integration into other build systems), you can do so by adding
--cfg=rust_secp_no_symbol_renaming'
to your RUSTFLAGS
variable.