Skip to content

Commit

Permalink
apply tomlfmt to Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
RCasatta committed Aug 14, 2024
1 parent 6789492 commit 448b3bb
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]]
Expand Down

0 comments on commit 448b3bb

Please sign in to comment.