Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(webrtc): promote to stable release #5854

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

elenaf9
Copy link
Contributor

@elenaf9 elenaf9 commented Feb 8, 2025

Description

  • Cut a stable release v0.9.0 of libp2p-webrtc.
  • Export libp2p-webrtc as libp2p::webrtc.

Notes & open questions

Discussed in #5819 (review).

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • A changelog entry has been made in the appropriate crates

@@ -119,6 +121,7 @@ libp2p-relay = { workspace = true, optional = true }
libp2p-rendezvous = { workspace = true, optional = true }
libp2p-request-response = { workspace = true, optional = true }
libp2p-swarm = { workspace = true }
libp2p-webrtc = { workspace = true, optional = true }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we move this under [target.'cfg(not(target_arch = "wasm32"))'.dependencies]?

Comment on lines +126 to +128
#[cfg(feature = "webrtc")]
#[doc(inline)]
pub use libp2p_webrtc as webrtc;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#[cfg(feature = "webrtc")]
#[doc(inline)]
pub use libp2p_webrtc as webrtc;
#[cfg(feature = "webrtc")]
#[cfg(not(target_arch = "wasm32"))]
#[doc(inline)]
pub use libp2p_webrtc as webrtc;

Copy link
Member

@jxs jxs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Elena, thanks for this! The thing is, I wonder if we can call it stable as the history we have with webrtc-rs and namely the upgrade to 0.11 shows. Nonetheless wdyt of merging it first before this Elena?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants