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:
parent
675da34127
commit
a6d7d542ab
|
@ -46,7 +46,6 @@ dependencies = [
|
|||
"mutagen",
|
||||
"secp256k1",
|
||||
"serde",
|
||||
"serde_derive",
|
||||
"serde_json",
|
||||
"serde_test",
|
||||
]
|
||||
|
|
|
@ -45,7 +45,6 @@ dependencies = [
|
|||
"mutagen",
|
||||
"secp256k1",
|
||||
"serde",
|
||||
"serde_derive",
|
||||
"serde_json",
|
||||
"serde_test",
|
||||
]
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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")]
|
||||
|
|
Loading…
Reference in New Issue