Skip to content

Commit

Permalink
Remove websockets support
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Jun 7, 2022
1 parent decbb6a commit 5889c46
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 17 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ all = ["derive",
# Serde
"serde", "keygen",
# Networking
"tor", "url", "zmq", "websockets"]
"tor", "url", "zmq"]
# Exposing core rust componens
# ----------------------------
# These also include re-assembly of necessary features from dependencies
Expand All @@ -87,7 +87,6 @@ derive = ["inet2_derive"]
keygen = ["secp256k1/rand-std"]
# Networking
# ----------
websockets = []
tor = ["inet2_addr/tor"]
url = ["url_crate", "urldecode"]

Expand Down
2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ pub use session::{
NoiseEncryptor, NoiseTranscoder, PartialNodeAddr, PlainTranscoder,
RemoteNodeAddr, Session, Split, ToNodeAddr, ToRemoteNodeAddr, Transcode,
};
#[cfg(feature = "websockets")]
pub use transport::websocket;
#[cfg(feature = "zmq")]
pub use transport::zmqsocket;
pub use transport::{
Expand Down
1 change: 0 additions & 1 deletion src/transport/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ pub mod brontide;
pub mod ftcp;
pub mod generic;
pub mod socket_addr;
pub mod websocket;
#[cfg(feature = "zmq")]
pub mod zmqsocket;

Expand Down
12 changes: 0 additions & 12 deletions src/transport/websocket.rs

This file was deleted.

0 comments on commit 5889c46

Please sign in to comment.