Skip to content

Commit

Permalink
chore: remove deprecated libp2p-wasm-ext transport
Browse files Browse the repository at this point in the history
Just casually deleting JavaScript code. Nothing else to see here.

Pull-Request: #4694.
  • Loading branch information
thomaseizinger authored Oct 20, 2023
1 parent b709a40 commit fe1098f
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 1,007 deletions.
13 changes: 0 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ members = [
"transports/tcp",
"transports/tls",
"transports/uds",
"transports/wasm-ext",
"transports/webrtc",
"transports/webrtc-websys",
"transports/websocket",
Expand Down Expand Up @@ -107,7 +106,6 @@ libp2p-swarm-test = { version = "0.3.0", path = "swarm-test" }
libp2p-tcp = { version = "0.41.0", path = "transports/tcp" }
libp2p-tls = { version = "0.3.0", path = "transports/tls" }
libp2p-uds = { version = "0.40.0", path = "transports/uds" }
libp2p-wasm-ext = { version = "0.40.0", path = "transports/wasm-ext" }
libp2p-webrtc = { version = "0.6.1-alpha", path = "transports/webrtc" }
libp2p-webrtc-utils = { version = "0.1.0", path = "misc/webrtc-utils" }
libp2p-webrtc-websys = { version = "0.2.0-alpha", path = "transports/webrtc-websys" }
Expand Down
3 changes: 3 additions & 0 deletions libp2p/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## 0.53.0 - unreleased

- Remove deprecated `libp2p-wasm-ext`.
Users should use `libp2p-websocket-websys` instead.
See [PR 4694](https://github.com/libp2p/rust-libp2p/pull/4694).

## 0.52.4

Expand Down
5 changes: 0 additions & 5 deletions libp2p/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ full = [
"tokio",
"uds",
"wasm-bindgen",
"wasm-ext",
"wasm-ext-websocket",
"websocket-websys",
"websocket",
"webtransport-websys",
Expand Down Expand Up @@ -87,8 +85,6 @@ tls = ["dep:libp2p-tls"]
tokio = [ "libp2p-swarm/tokio", "libp2p-mdns?/tokio", "libp2p-tcp?/tokio", "libp2p-dns?/tokio", "libp2p-quic?/tokio", "libp2p-upnp?/tokio"]
uds = ["dep:libp2p-uds"]
wasm-bindgen = [ "futures-timer/wasm-bindgen", "instant/wasm-bindgen", "getrandom/js", "libp2p-swarm/wasm-bindgen", "libp2p-gossipsub?/wasm-bindgen",]
wasm-ext = ["dep:libp2p-wasm-ext"]
wasm-ext-websocket = ["wasm-ext", "libp2p-wasm-ext?/websocket"]
websocket-websys = ["dep:libp2p-websocket-websys"]
websocket = ["dep:libp2p-websocket"]
webtransport-websys = ["dep:libp2p-webtransport-websys"]
Expand Down Expand Up @@ -124,7 +120,6 @@ libp2p-relay = { workspace = true, optional = true }
libp2p-rendezvous = { workspace = true, optional = true }
libp2p-request-response = { workspace = true, optional = true }
libp2p-swarm = { workspace = true }
libp2p-wasm-ext = { workspace = true, optional = true }
libp2p-websocket-websys = { workspace = true, optional = true }
libp2p-webtransport-websys = { workspace = true, optional = true }
libp2p-yamux = { workspace = true, optional = true }
Expand Down
8 changes: 0 additions & 8 deletions libp2p/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,6 @@ pub use libp2p_uds as uds;
#[cfg(not(target_arch = "wasm32"))]
#[doc(inline)]
pub use libp2p_upnp as upnp;
#[cfg(feature = "wasm-ext")]
#[deprecated(
note = "`wasm-ext` is deprecated and will be removed in favor of `libp2p-websocket-websys`."
)]
pub mod wasm_ext {
#[doc(inline)]
pub use libp2p_wasm_ext::*;
}
#[cfg(feature = "websocket")]
#[cfg(not(target_arch = "wasm32"))]
#[doc(inline)]
Expand Down
118 changes: 0 additions & 118 deletions transports/wasm-ext/CHANGELOG.md

This file was deleted.

32 changes: 0 additions & 32 deletions transports/wasm-ext/Cargo.toml

This file was deleted.

Loading

0 comments on commit fe1098f

Please sign in to comment.