Commit Graph

119 Commits

Author SHA1 Message Date
Matt Corallo d9d398ccc9 Re-support WASM via simple stub headers
libsecp256k1 really only barely uses libc at all, and in practice,
things like memcpy/memcmp get optimized into something other than a
libc call. Thus, if we provide simple stub headers, things seem to
work with wasm-pack just fine.
2020-04-29 15:32:54 -04:00
Elichai Turkel b2edf157cd
Fix broken benchmarks 2020-04-05 11:08:29 +03:00
Elichai Turkel 8f52bacb4a
Bump version to 0.17.2 2020-01-09 17:08:39 +02:00
Steven Roose ebc660bf94
Bump to v0.17.1 2019-12-11 18:57:21 +01:00
Steven Roose 18c511fd38
Bump version to v0.17.0 2019-11-27 21:04:34 +00:00
Steven Roose bf3fba71cb
Add external-symbols feature to support external libsecp
This feature disables using the bundles sources and will link into
existing libsecp256k1 symbols.
2019-11-27 21:04:32 +00:00
Steven Roose 724c49fff9
Add secp256k1-sys 2019-11-27 21:02:42 +00:00
Rodolfo Araujo 97f74c2c06 Libraries versions 2019-11-20 11:44:53 -03:00
Rodolfo Araujo a4ccab7431 Libraries. 2019-11-17 22:04:11 -03:00
Andrew Poelstra 5de62f80f3
Merge pull request #174 from elichai/2019-10-examples
Adding usage examples
2019-11-05 18:36:49 +00:00
Elichai Turkel 56753b1444
Bump version to 0.16 2019-10-29 11:13:06 +02:00
Elichai Turkel 2b50e02d7a
Add a rand-std feature 2019-10-29 11:13:05 +02:00
Elichai Turkel fe8ac1e583
Add warnings to Cargo.toml features 2019-10-28 23:23:46 +02:00
Elichai Turkel 349b2eac06
Add a 'dont_replace_c_symbols' feature for not replacing C's symbols with rust. isn't compatible with no-std 2019-10-28 23:05:38 +02:00
Elichai Turkel 7e5916b61f
Aded an example for recoverable signatures and recovering the pubkey 2019-10-28 22:23:56 +02:00
Elichai Turkel e28f756788
Added an example for signing and verification 2019-10-28 22:09:59 +02:00
Elichai Turkel 5ee0afbde4
Added an example for generating keys using OsRng 2019-10-28 22:09:18 +02:00
Andrew Poelstra 0c901db9d4 bump version to 0.15.5 2019-09-09 10:04:10 +00:00
Andrew Poelstra bbab1c271a
Revert "Add a rand-std feature" 2019-09-09 07:30:30 +00:00
Steven Roose 845bff25da
Bump version to 0.15.4 2019-09-06 17:15:49 +01:00
Steven Roose 07ef3a1f45
Pin version of build dependency cc to <1.0.42
Version 1.0.42 broke compatibility with rustc 1.22.0.
2019-09-06 17:11:18 +01:00
Elichai Turkel b59f4ff589
Add a rand-std feature 2019-08-21 20:16:11 -04:00
Elichai Turkel f75772b385
Bump version to 0.15.3 2019-08-16 14:15:31 -04:00
Wladimir J. van der Laan 62e5178638 Bump version to 0.15.2
And fill in release date for 0.15.2.
2019-08-12 19:21:28 +02:00
Wladimir J. van der Laan 62b9f06104 build.rs: Add feature 'lowmemory' to reduce memory usage
Currently, this only set `ECMULT_WINDOW_SIZE` to 4 instead of 15.

Fixes #139.

fixup
2019-08-12 19:21:22 +02:00
Elichai Turkel d820988d8b
Bump version to 0.15.1 2019-08-01 13:00:22 -04:00
Elichai Turkel 9fd088c21d
Removed the fuzztarget feature from the docs 2019-08-01 13:00:04 -04:00
Elichai Turkel e081a98005
Propagating std to rand dependency 2019-08-01 12:46:16 -04:00
Jonas Nick 58e820014e bump version to 0.15.0 2019-07-25 13:06:07 +00:00
Jonas Nick cf6f95d105
Merge pull request #131 from elichai/cc
Relax cc requirements more
2019-07-25 12:55:48 +00:00
Tim Ruffing 84345f2923
Merge pull request #129 from jonasnick/add-links
Add links manifest key to prevent cross-version linkage
2019-07-18 12:08:35 +02:00
Elichai Turkel c13183bc53
Relax cc requirements more 2019-07-16 16:46:28 -04:00
Elichai Turkel a4f6b2786a Bump version to 0.14.1 2019-07-14 16:35:51 -04:00
Jonas Nick d62c1371ef Add links manifest key to prevent cross-version linkage 2019-07-12 14:31:11 +00:00
Andrew Poelstra a92a63081b bump version to 0.14.0 2019-07-08 13:57:52 +00:00
Jonas Nick 179f35e0ba Move libsecp USE_ENDOMORPHISM option behind non-default feature flag 2019-06-13 06:38:18 +00:00
Jonas Nick ce7b03952b Bump version to 0.13.0 2019-05-21 18:35:28 +00:00
Jonas Nick c7eecd159e Feature gate recovery module 2019-05-21 07:02:11 +00:00
Tim Ruffing ab4320f8cc
Merge pull request #100 from elichai/master
Add no-std support
2019-05-10 23:32:52 +02:00
Andrew Poelstra 90faf434c9
Merge pull request #104 from alekseysidorov/fix_rand
Fix `Rand` trait bounds.
2019-05-01 01:47:43 +00:00
Aleksei Sidorov 733755d19e Relax cc dependency requirements.
- set allowed versions range for the `cc` dependency
2019-04-24 17:20:11 +03:00
Aleksei Sidorov 2536c5a3c4 Fix rand trait bounds. 2019-04-16 16:35:33 +03:00
Elichai Turkel 11ce86681f
Replaced std with core, and made std::error::Error optional through feature 2019-04-14 12:09:36 +03:00
François Garillot e69eabb36f
Bumping minimum Rust version 1.14.0 -> 1.22.0, as per https://git.io/fhDLO 2019-02-25 20:09:44 -08:00
François Garillot bafef68c56
Bumps rand to 0.6.3 & associated updates 2019-02-25 20:09:43 -08:00
Andrew Poelstra 432face734 bump version to 0.12.2 2019-01-18 15:35:44 +00:00
Andrew Poelstra 0466b5ed75
Merge pull request #93 from rust-bitcoin/2019-0.12.1
bump version to 0.12.1
2019-01-15 17:27:49 +00:00
Andrew Poelstra dd8866c144 bump version to 0.12.1 2019-01-15 16:32:55 +00:00
Pierre Krieger 9c45944a5f
Remove dependency on libc 2018-12-27 14:39:54 +01:00
Matt Corallo 34aadb72d4 Fix cc dep as the rust ecosystem is terrible 2018-12-19 15:25:47 -05:00