Skip to content

Commit 758f7ba

Browse files
authored
Rename to parity-ws (#3)
1 parent 63f245e commit 758f7ba

24 files changed

+28
-28
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ keywords = [
1010
"web",
1111
]
1212
license = "MIT"
13-
name = "ws"
13+
name = "parity-ws"
1414
readme = "README.md"
15-
repository = "https://github.com/housleyjk/ws-rs"
16-
version = "0.7.9"
15+
repository = "https://github.com/paritytech/ws-rs"
16+
version = "0.8.0"
1717

1818
[dependencies]
1919
byteorder = "1.2.1"

examples/autobahn-client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/// WebSocket client used for testing against the Autobahn Test Suite
2-
extern crate ws;
2+
extern crate parity_ws as ws;
33

44
use std::cell::Cell;
55
use std::rc::Rc;

examples/autobahn-server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
extern crate env_logger;
22
/// WebSocket server used for testing against the Autobahn Test Suite. This is basically the server
33
/// example without printing output or comments.
4-
extern crate ws;
4+
extern crate parity_ws as ws;
55

66
#[cfg(feature = "permessage-deflate")]
77
use ws::deflate::DeflateHandler;

examples/bench-server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/// WebSocket server used for testing the bench example.
2-
extern crate ws;
2+
extern crate parity_ws as ws;
33

44
use ws::{Builder, Sender, Settings};
55

examples/bench.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ extern crate url;
44
/// A simple, but immature, benchmark client for destroying other WebSocket frameworks and proving
55
/// WS-RS's performance excellence. ;)
66
/// Make sure you allow for enough connections in your OS (e.g. ulimit -Sn 10000).
7-
extern crate ws;
7+
extern crate parity_ws as ws;
88

99
// Try this against node for some fun
1010

examples/channel.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ extern crate env_logger;
88
///
99
/// This example demonstrates how to use threads, channels, and WebSocket handlers to create a
1010
/// complex system from simple, composable parts.
11-
extern crate ws;
11+
extern crate parity_ws as ws;
1212

1313
use std::sync::mpsc::Sender as ThreadOut;
1414
use std::sync::mpsc::channel;

examples/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ extern crate term;
44
/// Run this cli like this:
55
/// cargo run --example server
66
/// cargo run --example cli -- ws://127.0.0.1:3012
7-
extern crate ws;
7+
extern crate parity_ws as ws;
88

99
use std::io;
1010
use std::io::prelude::*;

examples/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
extern crate env_logger;
22
/// Simple WebSocket client with error handling. It is not necessary to setup logging, but doing
33
/// so will allow you to see more details about the connection by using the RUST_LOG env variable.
4-
extern crate ws;
4+
extern crate parity_ws as ws;
55

66
use ws::{connect, CloseCode};
77

examples/external_shutdown.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
extern crate ws;
1+
extern crate parity_ws as ws;
22

33
use std::sync::mpsc::channel;
44
use std::thread;

examples/html_chat.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/// An example of a chat web application server
2-
extern crate ws;
2+
extern crate parity_ws as ws;
33
use ws::{listen, Handler, Message, Request, Response, Result, Sender};
44

55
// This can be read from a file

0 commit comments

Comments
 (0)