Skip to content

Commit 0e46865

Browse files
authored
feat(webrtc): make Fingerprint type public
`Certificate#fingerprint()` returns `Fingerprint`, but since it's not public, I was not able to test it in my project. I.e. before this change it was not possible to do: ``` cert.fingerprint() == Fingerprint::raw([1u8 ...]) ``` Pull-Request: #3648.
1 parent 64cd225 commit 0e46865

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

transports/webrtc/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# 0.4.0-alpha.4 - unreleased
2+
3+
- Make `Fingerprint` type public. See [PR 3648].
4+
5+
[PR 3648]: https://github.com/libp2p/rust-libp2p/pull/3648
6+
17
# 0.4.0-alpha.3
28

39
- Gracefully handle `ConnectionReset` error on individual connections, avoiding shutdown of the entire listener upon disconnect of a single client.

transports/webrtc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "libp2p-webrtc"
3-
version = "0.4.0-alpha.3"
3+
version = "0.4.0-alpha.4"
44
authors = ["Parity Technologies <[email protected]>"]
55
description = "WebRTC transport for libp2p"
66
repository = "https://github.com/libp2p/rust-libp2p"

transports/webrtc/src/tokio/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,5 @@ mod upgrade;
3232
pub use certificate::Certificate;
3333
pub use connection::Connection;
3434
pub use error::Error;
35+
pub use fingerprint::Fingerprint;
3536
pub use transport::Transport;

0 commit comments

Comments
 (0)