From 448b3bb03270bd1fd4647c60c7bbde193add64b7 Mon Sep 17 00:00:00 2001 From: Riccardo Casatta Date: Wed, 14 Aug 2024 11:58:08 +0200 Subject: [PATCH] apply tomlfmt to Cargo.toml --- Cargo.toml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a05481b1..d0f337a6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,32 +10,35 @@ documentation = "https://docs.rs/elements/" edition = "2018" [features] -default = [ "json-contract" ] +default = ["json-contract"] -json-contract = [ "serde_json" ] +json-contract = ["serde_json"] "serde" = [ "bitcoin/serde", "bitcoin/serde", "secp256k1-zkp/serde", - "actual-serde" + "actual-serde", ] base64 = ["bitcoin/base64"] [dependencies] bitcoin = "0.31.0" -secp256k1-zkp = { version = "0.10.0", features = [ "global-context", "hashes" ] } +secp256k1-zkp = { version = "0.10.0", features = ["global-context", "hashes"] } # Used for ContractHash::from_json_contract. serde_json = { version = "1.0", optional = true } -actual-serde = { package="serde", version = "1.0.103", features=["derive"], optional = true } +actual-serde = { package = "serde", version = "1.0.103", features = [ + "derive", +], optional = true } + [dev-dependencies] rand = "0.8" rand_chacha = "0.3" serde_test = "1.0.19" serde_json = "1.0" -serde_cbor = "0.8" # older than latest version to support 1.41.1 +serde_cbor = "0.8" # older than latest version to support 1.41.1 bincode = "1.3" [[example]]