Skip to content

Commit

Permalink
Sort Cargo.toml files
Browse files Browse the repository at this point in the history
  • Loading branch information
elichai committed Aug 27, 2020
1 parent 48dd77e commit 6511fad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 22 deletions.
22 changes: 4 additions & 18 deletions Cargo.toml
@@ -1,5 +1,4 @@
[package]

name = "secp256k1"
version = "0.19.0"
authors = [ "Dawid Ciężarkiewicz <dpc@ucore.info>",
Expand All @@ -17,10 +16,6 @@ autoexamples = false # Remove when edition 2018 https://github.com/rust-lang/car
[package.metadata.docs.rs]
features = [ "rand", "rand-std", "serde", "recovery", "endomorphism" ]

[lib]
name = "secp256k1"
path = "src/lib.rs"

[features]
unstable = ["recovery", "rand-std"]
default = ["std"]
Expand All @@ -40,6 +35,10 @@ fuzztarget = ["secp256k1-sys/fuzztarget"]

[dependencies]
secp256k1-sys = { version = "0.3.0", default-features = false, path = "./secp256k1-sys" }
bitcoin_hashes = { version = "0.9", optional = true }
rand = { version = "0.6", default-features = false, optional = true }
serde = { version = "1.0", default-features = false, optional = true }


[dev-dependencies]
rand = "0.6"
Expand All @@ -51,19 +50,6 @@ bitcoin_hashes = "0.9"
wasm-bindgen-test = "0.3"
rand = { version = "0.6", features = ["wasm-bindgen"] }

[dependencies.bitcoin_hashes]
version = "0.9"
optional = true

[dependencies.rand]
version = "0.6"
optional = true
default-features = false

[dependencies.serde]
version = "1.0"
optional = true
default-features = false

[[example]]
name = "sign_verify_recovery"
Expand Down
4 changes: 0 additions & 4 deletions secp256k1-sys/Cargo.toml
Expand Up @@ -21,10 +21,6 @@ features = [ "recovery", "endomorphism", "lowmemory" ]
[build-dependencies]
cc = "1.0.28"

[lib]
name = "secp256k1_sys"
path = "src/lib.rs"

[features]
default = ["std"]
recovery = []
Expand Down

0 comments on commit 6511fad

Please sign in to comment.