Commit Graph

386 Commits

Author SHA1 Message Date
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
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
Elichai Turkel d7461e4cdc
Add zst tests and some other parsing tests 2019-08-21 18:06:02 -04:00
Elichai Turkel ddb8e4fdf2
Explicit checks for empty slices 2019-08-21 13:09:36 -04:00
Elichai Turkel b7e20c5b12
Changed all as_*ptr() to the safer CPtr trait 2019-08-21 13:09:36 -04:00
Elichai Turkel 66ab70f991
Added a C Ptr trait that returns a null pointer for ZSTs 2019-08-21 13:09:20 -04:00
Tim Ruffing 5ea300a4e0
Merge pull request #143 from rust-bitcoin/remove-callback-todos
Remove TODOs for secp256k1 callbacks
2019-08-21 16:11:52 +02:00
Tim Ruffing 255d1ddd60 Remove TODOs for ffi functions for setting secp256k1 callbacks
We would not want to use these functions internally because we rely on
USE_EXTERNAL_DEFAULT_CALLBACKS to provide the callbacks at link time,
see f7a4a7ef57. Moreover, we would not
want to export the functions either.
2019-08-20 14:47:33 +02:00
Andrew Poelstra a055c3fdc0
Merge pull request #146 from elichai/2018-08-unintialized
Remove all usage of `mem::uninitialized()`
2019-08-19 17:29:53 +00:00
Elichai Turkel f75772b385
Bump version to 0.15.3 2019-08-16 14:15:31 -04:00
Elichai Turkel 8e701b75b2
Replacing usage of the unsafe `blank` function to the `new` function
Signed-off-by: Elichai Turkel <elichai.turkel@gmail.com>
2019-08-16 14:15:31 -04:00
Elichai Turkel 389e1e2449
Removing usage of `mem::uninitialized()` and deprecating the `blank()` functions
Signed-off-by: Elichai Turkel <elichai.turkel@gmail.com>
2019-08-16 14:15:27 -04:00
Tim Ruffing dfe7ee54f9
Merge pull request #148 from elichai/2019-08-travis
Optimizing travis build time and fixing benchmarks
2019-08-13 17:50:24 +02:00
Elichai Turkel 16fc4ee3fc Fixed the counter Rng 2019-08-13 10:41:39 -04:00
Elichai Turkel 6e58c8b623 Trying to optimize travis speeds
Cache cargo-web only
2019-08-13 10:41:29 -04:00
Andrew Poelstra 288cc1e4ef
Merge pull request #140 from laanwj/2019_08_lowmemory
build.rs: Add feature 'lowmemory' to reduce memory usage
2019-08-12 17:48:45 +00: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
Andrew Poelstra b005089db4
Merge pull request #137 from practicalswift/typos
Fix typos
2019-08-05 15:14:59 +00:00
practicalswift db244a19c6 Fix typos 2019-08-05 13:39:23 +00:00
Jonas Nick 6f2cc95e6c
Merge pull request #136 from elichai/2019-08-rand-std
Propagating std to rand dependency
2019-08-02 11:22:02 +00:00
Elichai Turkel d820988d8b
Bump version to 0.15.1 2019-08-01 13:00:22 -04:00