Skip to content

Commit 6511fad

Browse files
committed
Sort Cargo.toml files
1 parent 48dd77e commit 6511fad

File tree

2 files changed

+4
-22
lines changed

2 files changed

+4
-22
lines changed

Cargo.toml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
[package]
2-
32
name = "secp256k1"
43
version = "0.19.0"
54
authors = [ "Dawid Ciężarkiewicz <dpc@ucore.info>",
@@ -17,10 +16,6 @@ autoexamples = false # Remove when edition 2018 https://github.com/rust-lang/car
1716
[package.metadata.docs.rs]
1817
features = [ "rand", "rand-std", "serde", "recovery", "endomorphism" ]
1918

20-
[lib]
21-
name = "secp256k1"
22-
path = "src/lib.rs"
23-
2419
[features]
2520
unstable = ["recovery", "rand-std"]
2621
default = ["std"]
@@ -40,6 +35,10 @@ fuzztarget = ["secp256k1-sys/fuzztarget"]
4035

4136
[dependencies]
4237
secp256k1-sys = { version = "0.3.0", default-features = false, path = "./secp256k1-sys" }
38+
bitcoin_hashes = { version = "0.9", optional = true }
39+
rand = { version = "0.6", default-features = false, optional = true }
40+
serde = { version = "1.0", default-features = false, optional = true }
41+
4342

4443
[dev-dependencies]
4544
rand = "0.6"
@@ -51,19 +50,6 @@ bitcoin_hashes = "0.9"
5150
wasm-bindgen-test = "0.3"
5251
rand = { version = "0.6", features = ["wasm-bindgen"] }
5352

54-
[dependencies.bitcoin_hashes]
55-
version = "0.9"
56-
optional = true
57-
58-
[dependencies.rand]
59-
version = "0.6"
60-
optional = true
61-
default-features = false
62-
63-
[dependencies.serde]
64-
version = "1.0"
65-
optional = true
66-
default-features = false
6753

6854
[[example]]
6955
name = "sign_verify_recovery"

secp256k1-sys/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ features = [ "recovery", "endomorphism", "lowmemory" ]
2121
[build-dependencies]
2222
cc = "1.0.28"
2323

24-
[lib]
25-
name = "secp256k1_sys"
26-
path = "src/lib.rs"
27-
2824
[features]
2925
default = ["std"]
3026
recovery = []

0 commit comments

Comments
 (0)