Skip to content

Commit e43ebd5

Browse files
committed
Use 'normal' dependency format
Currently we are using the 'single section per dependecy' dependency format, it is less unusual (at least for those working on the `rust-bitcoin` stack) to have all the dependencies in a single section.
1 parent 58911ad commit e43ebd5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ rand = ["bitcoin/rand"]
1919

2020
[dependencies]
2121
bitcoin = "0.28.0"
22-
23-
[dependencies.serde]
24-
version = "1.0"
25-
optional = true
22+
serde = { version = "1.0", optional = true}
2623

2724
[[example]]
2825
name = "htlc"

0 commit comments

Comments
 (0)