Sort Cargo.toml files
This commit is contained in:
parent
48dd77e47b
commit
6511fad231
22
Cargo.toml
22
Cargo.toml
|
@ -1,5 +1,4 @@
|
|||
[package]
|
||||
|
||||
name = "secp256k1"
|
||||
version = "0.19.0"
|
||||
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]
|
||||
features = [ "rand", "rand-std", "serde", "recovery", "endomorphism" ]
|
||||
|
||||
[lib]
|
||||
name = "secp256k1"
|
||||
path = "src/lib.rs"
|
||||
|
||||
[features]
|
||||
unstable = ["recovery", "rand-std"]
|
||||
default = ["std"]
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
|
|
@ -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 = []
|
||||
|
|
Loading…
Reference in New Issue