Commit Graph

756 Commits

Author SHA1 Message Date
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 55fab77029
Add vendor script to prefix secp256k1 sources 2019-11-27 21:03:48 +00:00
Steven Roose 80e1935ca0
Add secp256k1-sys README and LICENSE files 2019-11-27 21:02:44 +00:00
Steven Roose 724c49fff9
Add secp256k1-sys 2019-11-27 21:02:42 +00:00
Steven Roose 9bd088233b
Add forgotten mention of upstream update 2019-11-27 21:02:05 +00:00
Andrew Poelstra 02f66177f0
Merge pull request #179 from elichai/2019-11-raw-context
Creating context from raw pointer
2019-11-27 20:34:43 +00:00
Elichai Turkel 9523e093c1
Add tests for raw context 2019-11-27 22:05:27 +02:00
Elichai Turkel 5f8096e8a8
Add functions to create from raw context 2019-11-27 22:05:23 +02:00
Andrew Poelstra cf22f60919
Merge pull request #162 from elichai/2019-09-ffi
Fixes and tests for the ffi
2019-11-27 20:01:17 +00:00
Andrew Poelstra 1e711f194c
Merge pull request #184 from elichai/2019-11-context
Fix a safety problem and make the Context trait unimplementable
2019-11-27 19:58:44 +00:00
Elichai Turkel 9522f7e4a4
Make Context::deallocate unsafe fn 2019-11-27 17:42:01 +02:00
Elichai Turkel fe688ada65
Make the Context trait unimplementable 2019-11-27 17:36:06 +02:00
Andrew Poelstra 47b2555e80
Merge pull request #182 from rodoufu/code_imp
Updating libraries and small code improvements
2019-11-22 16:02:33 +00:00
Jonas Nick 30ea7f8d4f
Merge #183: Remove trailing whitespace
1b0c57377a Remove trailing whitespace (Tony Jin)

Pull request description:

  Removes some trailing whitespace in the `macros.rs` file.

Top commit has no ACKs.

Tree-SHA512: cb0486f0c1660e56ce996e448315dc95799d9596657ea63fa3d1dc3fed83b4ed20ba42ea1e311a8a7da86982ee9bc5a61a6b874f0cfdd98bdda67ca762227c78
2019-11-21 18:14:58 +00:00
Tony Jin 1b0c57377a
Remove trailing whitespace 2019-11-20 20:36:18 +01:00
Rodolfo Araujo 97f74c2c06 Libraries versions 2019-11-20 11:44:53 -03:00
Rodolfo Araujo 825493bea9 Small code improvements. 2019-11-17 22:10:40 -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
Andrew Poelstra c883a983bd
Merge pull request #173 from elichai/2019-10-no-std-tests
Add tests for no-std
2019-11-05 18:35:00 +00:00
Andrew Poelstra 405a2ad8b4
Merge pull request #176 from elichai/2019-08-rand-std-feature
Reintroduce rand-std feature
2019-11-05 18:31:20 +00:00
Elichai Turkel 49391d62b0
DOC: Added documentation to no-std test 2019-11-03 16:32:30 +02: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
Andrew Poelstra d900dcd1c9
Merge pull request #177 from elichai/2019-10-csymbols
Add a feature to disable replacing C symbols with rust
2019-10-29 01:39:08 +00: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 0db164622f
Merge pull request #175 from TheBlueMatt/2019-10-useless-lints
Disable some useless lints
2019-10-28 20:02:45 +00:00
Matt Corallo f09ff2a9de Disable some useless lints 2019-10-28 15:20:04 -04:00
Elichai Turkel e5e22ee376
Test serde support in no-std crate 2019-10-24 21:10:33 +03:00
Elichai Turkel d0afb874a3
Test rand support in no std crate 2019-10-24 21:10:14 +03:00
Elichai Turkel c117114549
Added no_std_tests to travis 2019-10-24 21:09:47 +03:00
Elichai Turkel c3f5cce7ff
Add a simple crate without std to test no_std feature 2019-10-24 21:09:43 +03:00
Andrew Poelstra 8dfdb90c34
Merge pull request #166 from elichai/patch-1
Remove always debug mode
2019-10-11 17:29:53 +00:00
Elichai Turkel 79a1847c02
Remove always debug mode
This is checked automatically using the DEBUG env variable
2019-10-01 15:35:25 -04:00
Elichai Turkel 06b2bebce8
Add a test for the types 2019-09-14 22:59:36 +03:00
Elichai Turkel 5b10d1b226
Fix bad ffi declarations 2019-09-14 21:12:59 +03:00
Andrew Poelstra f5c8a005f9
Merge pull request #159 from rust-bitcoin/2019-09-0155
bump version to 0.15.5
2019-09-09 10:34:21 +00:00
Andrew Poelstra 0c901db9d4 bump version to 0.15.5 2019-09-09 10:04:10 +00:00
Andrew Poelstra 0e5e314afb
Merge pull request #158 from rust-bitcoin/revert-153-2019-08-rand-std-feature
Revert "Add a rand-std feature"
2019-09-09 10:02:10 +00:00
Andrew Poelstra bbab1c271a
Revert "Add a rand-std feature" 2019-09-09 07:30:30 +00:00
Jonas Nick 4bcb404746
Merge #156: Pin version of build dependency cc to <1.0.42
845bff25da Bump version to 0.15.4 (Steven Roose)
07ef3a1f45 Pin version of build dependency cc to <1.0.42 (Steven Roose)

Pull request description:

  Version 1.0.42 broke compatibility with rustc 1.22.0.

ACKs for top commit:
  jonasnick:
    ACK 845bff25da

Tree-SHA512: 21161e6e85494d064b45b9800baa0355784e3b47772dff2716f049b1b15c047832ceb756b2031ef73374952c21aa04a8852a333eb3edbb73f5608c7ce8344c12
2019-09-06 19:43:07 +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
Andrew Poelstra 4e69dccc2b
Merge pull request #153 from elichai/2019-08-rand-std-feature
Add a rand-std feature
2019-08-22 16:22:25 +00:00
Elichai Turkel b59f4ff589
Add a rand-std feature 2019-08-21 20:16:11 -04:00
Andrew Poelstra eddfe03dbc
Merge pull request #151 from elichai/2019-08-Cptr-null
Explicit checks for ZST + null fallbacks
2019-08-21 23:03:30 +00:00