Skip to content

Commit 7b86a41

Browse files
committed
fleshed out roadmap, fixes #27
1 parent 8dd2ff0 commit 7b86a41

File tree

2 files changed

+28
-5
lines changed

2 files changed

+28
-5
lines changed

ROADMAP.md

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
1+
# The Roadmap
12

2-
### Adding Features
3+
## More Docs, Examples and Tests
4+
5+
Easy as that, every method should be tested and documented.
6+
Every use-case should have an example.
7+
8+
## Adding Features
9+
10+
### `net2` Feature
11+
12+
This is a feature to add the `net2` crate which will let us do cool things
13+
like set the option `SO_REUSEADDR` and similar when making TCP connections.
14+
15+
This is discussed in [vi/rust-websocket#2](https://github.com/vi/rust-websocket/pull/2).
16+
17+
### Add Mio & Tokio (Evented Websocket)
18+
19+
There are a lot of issues that would be solved if this was evented, such as:
20+
21+
- [#88 tokio support](https://github.com/cyderize/rust-websocket/issues/88)
22+
- [#66 Timeout on recv_message](https://github.com/cyderize/rust-websocket/issues/66)
23+
- [#6 one client, one thread?](https://github.com/cyderize/rust-websocket/issues/6)
24+
25+
So maybe we should _just_ add `tokio` support, or maybe `mio` is still used and popular.
26+
27+
### Support Permessage-Deflate
28+
29+
We need this to pass more autobahn tests!
330

4-
- Make the usage of `net2` a feature
5-
- Make evented

src/stream.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
//! Provides the default stream type for WebSocket connections.
2-
// TODO: add mio support & tokio
3-
// extern crate mio;
42
53
use std::ops::Deref;
64
use std::io::{

0 commit comments

Comments
 (0)