]> git.bitcoin.ninja Git - rust-lightning/commit
Drop `serde` dependency from `lightning-block-sync` 2023-03-serde-sucks
authorMatt Corallo <git@bluematt.me>
Sun, 19 Mar 2023 23:39:56 +0000 (23:39 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 20 Mar 2023 16:31:22 +0000 (16:31 +0000)
commitb701a6c516fe49362fb01477faf03078a5e7d2b6
tree6110815c85eee3bd16e35e84dc9e5098d05774a1
parent217c3e09b3c7111b71ddadc2a91e2ee579af4a10
Drop `serde` dependency from `lightning-block-sync`

`serde` doesn't bother with MSRVs, so its expected to break
frequently. Yesterday, the `derive` feature had its MSRV broken in
a patch version without care.

Luckily its trivial for us to remove the `serde` dependency in
`lightning-block-sync`, using only `serde_json` for the JSON
deserialization part. It even ends up net-negative on LoC.
lightning-block-sync/Cargo.toml
lightning-block-sync/src/convert.rs