mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-19 13:01:22 +00:00
protocols/{dcutr,relay}: Expose error types (#2605)
Co-authored-by: canewsin <canews.in@gmail.com>
This commit is contained in:
@ -1,7 +1,11 @@
|
||||
# 0.2.0 [unreleased]
|
||||
|
||||
- Expose `InboundUpgradeError` and `OutboundUpgradeError`. See [PR, 2586].
|
||||
|
||||
- Update to `libp2p-swarm` `v0.35.0`.
|
||||
|
||||
[PR 2586]: https://github.com/libp2p/rust-libp2p/pull/2586
|
||||
|
||||
# 0.1.0 [2022-02-22]
|
||||
|
||||
- Initial release.
|
@ -25,6 +25,10 @@ pub mod behaviour;
|
||||
mod handler;
|
||||
mod protocol;
|
||||
|
||||
pub use protocol::{
|
||||
inbound::UpgradeError as InboundUpgradeError, outbound::UpgradeError as OutboundUpgradeError,
|
||||
};
|
||||
|
||||
mod message_proto {
|
||||
include!(concat!(env!("OUT_DIR"), "/holepunch.pb.rs"));
|
||||
}
|
||||
|
@ -1,8 +1,13 @@
|
||||
# 0.8.0 [unreleased]
|
||||
|
||||
- Expose `{Inbound,Outbound}{Hop,Stop}UpgradeError`. See [PR 2586].
|
||||
|
||||
- Update to `libp2p-swarm` `v0.35.0`.
|
||||
|
||||
- Remove support for Circuit Relay v1 protocol.
|
||||
- Remove support for Circuit Relay v1 protocol. See [PR 2549].
|
||||
|
||||
[PR 2549]: https://github.com/libp2p/rust-libp2p/pull/2549
|
||||
[PR 2586]: https://github.com/libp2p/rust-libp2p/pull/2586
|
||||
|
||||
# 0.7.0 [2022-02-22]
|
||||
|
||||
@ -10,7 +15,7 @@
|
||||
|
||||
- Update to `libp2p-swarm` `v0.34.0`.
|
||||
|
||||
- Merge NetworkBehaviour's inject_\* paired methods (see PR 2445).
|
||||
- Merge NetworkBehaviour's inject_\* paired methods (see [PR 2445]).
|
||||
|
||||
[PR 2445]: https://github.com/libp2p/rust-libp2p/pull/2445
|
||||
|
||||
|
@ -30,6 +30,13 @@ mod copy_future;
|
||||
mod protocol;
|
||||
pub mod relay;
|
||||
|
||||
pub use protocol::{
|
||||
inbound_hop::FatalUpgradeError as InboundHopFatalUpgradeError,
|
||||
inbound_stop::FatalUpgradeError as InboundStopFatalUpgradeError,
|
||||
outbound_hop::FatalUpgradeError as OutboundHopFatalUpgradeError,
|
||||
outbound_stop::FatalUpgradeError as OutboundStopFatalUpgradeError,
|
||||
};
|
||||
|
||||
/// The ID of an outgoing / incoming, relay / destination request.
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub struct RequestId(u64);
|
||||
|
Reference in New Issue
Block a user