Sort Cargo.toml files

This commit is contained in:
Elichai Turkel 2020-08-27 22:58:00 +03:00
parent 48dd77e47b
commit 6511fad231
No known key found for this signature in database
GPG Key ID: 9383CDE9E8E66A7F
2 changed files with 4 additions and 22 deletions

View File

@ -1,5 +1,4 @@
[package] [package]
name = "secp256k1" name = "secp256k1"
version = "0.19.0" version = "0.19.0"
authors = [ "Dawid Ciężarkiewicz <dpc@ucore.info>", authors = [ "Dawid Ciężarkiewicz <dpc@ucore.info>",
@ -17,10 +16,6 @@ autoexamples = false # Remove when edition 2018 https://github.com/rust-lang/car
[package.metadata.docs.rs] [package.metadata.docs.rs]
features = [ "rand", "rand-std", "serde", "recovery", "endomorphism" ] features = [ "rand", "rand-std", "serde", "recovery", "endomorphism" ]
[lib]
name = "secp256k1"
path = "src/lib.rs"
[features] [features]
unstable = ["recovery", "rand-std"] unstable = ["recovery", "rand-std"]
default = ["std"] default = ["std"]
@ -40,6 +35,10 @@ fuzztarget = ["secp256k1-sys/fuzztarget"]
[dependencies] [dependencies]
secp256k1-sys = { version = "0.3.0", default-features = false, path = "./secp256k1-sys" } 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] [dev-dependencies]
rand = "0.6" rand = "0.6"
@ -51,19 +50,6 @@ bitcoin_hashes = "0.9"
wasm-bindgen-test = "0.3" wasm-bindgen-test = "0.3"
rand = { version = "0.6", features = ["wasm-bindgen"] } 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]] [[example]]
name = "sign_verify_recovery" name = "sign_verify_recovery"

View File

@ -21,10 +21,6 @@ features = [ "recovery", "endomorphism", "lowmemory" ]
[build-dependencies] [build-dependencies]
cc = "1.0.28" cc = "1.0.28"
[lib]
name = "secp256k1_sys"
path = "src/lib.rs"
[features] [features]
default = ["std"] default = ["std"]
recovery = [] recovery = []