Skip to content

Commit

Permalink
Update for 0.3.3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
1tgr committed Mar 1, 2020
1 parent 95b8911 commit 8320a8a
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 10 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

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

11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# websocket-lite and websocket-codec
# websocket-lite

[![Build Status](https://travis-ci.org/1tgr/rust-websocket-lite.svg?branch=master)](https://travis-ci.org/1tgr/rust-websocket-lite)

This repo contains two crates:
This repo contains three crates:
- websocket-lite, a fast, low-overhead WebSocket client
- websocket-codec, a Tokio codec implementation of the WebSocket protocol
- hyper-websocket-lite, bindings between a [hyper](https://hyper.rs) server and websocket-codec

## websocket-lite
[Documentation](https://docs.rs/websocket-lite)
Expand All @@ -25,6 +26,12 @@ This crate is fully conformant with the fuzzingserver module in the

This is a standalone crate that does not do any I/O directly. For a full WebSocket client, see the [websocket-lite](https://docs.rs/websocket-lite) crate.

## hyper-websocket-lite

[Documentation](https://docs.rs/hyper-websocket-lite)

Provides the `server_upgrade` function, which bridges a client's HTTP Upgrade request to the WebSocket protocol.

# async/await
Version 0.3.2 and above use `std` futures and the `async` and `await` keywords. They are based on tokio
0.2 and futures 0.3 and the earliest supported compiler is 1.39.
Expand Down
2 changes: 2 additions & 0 deletions assert-allocations/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
name = "assert-allocations"
version = "0.1.0"
authors = ["Tim Robinson <[email protected]>"]
repository = "https://github.com/1tgr/rust-websocket-lite"
license = "MIT"
edition = "2018"

[lib]
Expand Down
4 changes: 2 additions & 2 deletions hyper-websocket-lite/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "hyper-websocket-lite"
description = "WebSocket server implementation on hyper and websocket-lite"
version = "0.3.2"
version = "0.3.3"
authors = ["Tim Robinson <[email protected]>"]
repository = "https://github.com/1tgr/rust-websocket-lite"
license = "MIT"
Expand All @@ -21,6 +21,6 @@ path = "examples/hello-world-server.rs"
[dependencies]
futures = "0.3"
hyper = "0.13"
websocket-codec = { version = "0.2.2", path = "../websocket-codec" }
websocket-codec = { version = "0.3.3", path = "../websocket-codec" }
tokio = { version = "0.2", features=["macros"] }
tokio-util = { version = "0.2", features=["codec"] }
2 changes: 1 addition & 1 deletion websocket-codec/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "websocket-codec"
description = "A Tokio codec for the websocket protocol"
version = "0.2.2"
version = "0.3.3"
authors = ["Tim Robinson <[email protected]>"]
repository = "https://github.com/1tgr/rust-websocket-lite"
license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions websocket-lite/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "websocket-lite"
description = "A fast, low-overhead WebSocket client"
version = "0.3.2"
version = "0.3.3"
authors = ["Tim Robinson <[email protected]>"]
repository = "https://github.com/1tgr/rust-websocket-lite"
license = "MIT"
Expand Down Expand Up @@ -38,7 +38,7 @@ tokio-openssl = { version = "0.4.0-alpha.6", optional = true }
tokio-tls = { version = "0.3", optional = true }
tokio = {version="0.2", features=["tcp", "io-util"]}
url = "2"
websocket-codec = { version = "0.2.2", path = "../websocket-codec" }
websocket-codec = { version = "0.3.3", path = "../websocket-codec" }

[dev-dependencies]
structopt = "0.3"
Expand Down

0 comments on commit 8320a8a

Please sign in to comment.