bitcoin:: Remove dev dependency serde_derive

We do not need this dependency because we can get the serde derives
directly from `serde`.

diff --git a/bitcoin/Cargo.toml b/bitcoin/Cargo.toml
index 3868bd08..db7fb322 100644
--- a/bitcoin/Cargo.toml
+++ b/bitcoin/Cargo.toml
@@ -53,7 +53,6 @@ actual-serde = { package = "serde", version = "1.0.103", default-features = fals
 [dev-dependencies]
 serde_json = "1.0.0"
 serde_test = "1.0.19"
-serde_derive = "1.0.103"
 bincode = "1.3.1"

 [target.'cfg(mutate)'.dev-dependencies]
This commit is contained in:
Tobin C. Harding 2023-09-28 10:34:42 +10:00
parent 675da34127
commit a6d7d542ab
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
4 changed files with 1 additions and 4 deletions

View File

@ -46,7 +46,6 @@ dependencies = [
"mutagen",
"secp256k1",
"serde",
"serde_derive",
"serde_json",
"serde_test",
]

View File

@ -45,7 +45,6 @@ dependencies = [
"mutagen",
"secp256k1",
"serde",
"serde_derive",
"serde_json",
"serde_test",
]

View File

@ -53,7 +53,6 @@ actual-serde = { package = "serde", version = "1.0.103", default-features = fals
[dev-dependencies]
serde_json = "1.0.0"
serde_test = "1.0.19"
serde_derive = "1.0.103"
bincode = "1.3.1"
[target.'cfg(mutate)'.dev-dependencies]

View File

@ -465,9 +465,9 @@ impl<E: fmt::Debug, I: Iterator<Item = Result<u8, E>>> io::Read for IterReader<E
/// To (de)serialize a field using consensus encoding you can write e.g.:
///
/// ```
/// # use actual_serde::{Serialize, Deserialize};
/// use bitcoin::Transaction;
/// use bitcoin::consensus;
/// use serde_derive::{Serialize, Deserialize};
///
/// #[derive(Serialize, Deserialize)]
/// # #[serde(crate = "actual_serde")]