Move RGS `GraphSyncError` into the top-level module
authorMatt Corallo <git@bluematt.me>
Thu, 18 Jan 2024 20:53:20 +0000 (20:53 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 23 Jan 2024 19:51:04 +0000 (19:51 +0000)
commit12523ad6512ebdd38d9a98a1328fa93f85e31929
tree9fe0954442cd7a4983ff7a04097d4e5234ff884b
parent48c484aa08a83575f0d551da3bf746f89051d8f4
Move RGS `GraphSyncError` into the top-level module

The top-level module is only a few hundred lines, so there's not a
lot of reason to hide the `GraphSyncError` in its own module.
Instead, we simply move it to the top-level `lib.rs`, which doesn't
change the public API as it was previously re-exported at the top
level.
lightning-rapid-gossip-sync/src/error.rs [deleted file]
lightning-rapid-gossip-sync/src/lib.rs
lightning-rapid-gossip-sync/src/processing.rs