Skip to content

Commit e3aaf00

Browse files
authored
Merge pull request #169 from stevenroose/sys
Add secp256k1-sys with prefixed sources
2 parents 02f6617 + 18c511f commit e3aaf00

File tree

126 files changed

+6757
-6237
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+6757
-6237
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
[PR 2](https://github.com/rust-bitcoin/rust-secp256k1/pull/125).
3434
This library should be usable in bare-metal environments and with rust-wasm.
3535
Thanks to Elichai Turkel for driving this forward!
36+
* Update upstream libsecp256k1 version to 143dc6e9ee31852a60321b23eea407d2006171da
3637

3738
# 0.13.0 - 2019-05-21
3839

Cargo.toml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "secp256k1"
4-
version = "0.16.1"
4+
version = "0.17.0"
55
authors = [ "Dawid Ciężarkiewicz <dpc@ucore.info>",
66
"Andrew Poelstra <apoelstra@wpsoftware.net>" ]
77
license = "CC0-1.0"
@@ -11,34 +11,34 @@ documentation = "https://docs.rs/secp256k1/"
1111
description = "Rust bindings for Pieter Wuille's `libsecp256k1` library. Implements ECDSA for the SECG elliptic curve group secp256k1 and related utilities."
1212
keywords = [ "crypto", "ECDSA", "secp256k1", "libsecp256k1", "bitcoin" ]
1313
readme = "README.md"
14-
build = "build.rs"
15-
links = "secp256k1"
1614
autoexamples = false # Remove when edition 2018 https://github.com/rust-lang/cargo/issues/5330
1715

1816
# Should make docs.rs show all functions, even those behind non-default features
1917
[package.metadata.docs.rs]
2018
features = [ "rand", "rand-std", "serde", "recovery", "endomorphism" ]
2119

22-
[build-dependencies]
23-
cc = ">= 1.0.28, < 1.0.42"
24-
2520
[lib]
2621
name = "secp256k1"
2722
path = "src/lib.rs"
2823

2924
[features]
3025
unstable = []
3126
default = ["std"]
32-
std = []
27+
std = ["secp256k1-sys/std"]
3328
rand-std = ["rand/std"]
34-
recovery = []
35-
endomorphism = []
36-
lowmemory = []
29+
recovery = ["secp256k1-sys/recovery"]
30+
endomorphism = ["secp256k1-sys/endomorphism"]
31+
lowmemory = ["secp256k1-sys/lowmemory"]
32+
33+
# Use this feature to not compile the bundled libsecp256k1 C symbols,
34+
# but use external ones. Use this only if you know what you are doing!
35+
external-symbols = ["secp256k1-sys/external-symbols"]
3736

38-
# Do not use this feature! HAZMAT. (meant for Bitcoin Core only)
39-
dont_replace_c_symbols = []
4037
# Do not use this feature! HAZMAT. (meant for Fuzzing only. this is *BROKEN CRYPTOGRAPHY*)
41-
fuzztarget = []
38+
fuzztarget = ["secp256k1-sys/fuzztarget"]
39+
40+
[dependencies]
41+
secp256k1-sys = { version = "0.1.0", default-features = false, path = "./secp256k1-sys" }
4242

4343
[dev-dependencies]
4444
rand = "0.6"

depend/secp256k1/src/ecdsa.h

Lines changed: 0 additions & 21 deletions
This file was deleted.

depend/secp256k1/src/eckey.h

Lines changed: 0 additions & 25 deletions
This file was deleted.

depend/secp256k1/src/eckey_impl.h

Lines changed: 0 additions & 100 deletions
This file was deleted.

depend/secp256k1/src/ecmult.h

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)