Skip to content

Commit

Permalink
Use parity-ws-rs from crates.io (#361)
Browse files Browse the repository at this point in the history
* Remove minihttp.

* Use crates.io version in README.
  • Loading branch information
tomusdrw authored Jan 29, 2019
1 parent 8160eb5 commit 2b47a5c
Show file tree
Hide file tree
Showing 19 changed files with 23 additions and 1,144 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ members = [
"ipc",
"macros",
"derive",
"minihttp",
"pubsub",
"pubsub/more-examples",
"server-utils",
Expand Down
22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,31 @@ Transport-agnostic `core` and transport servers for `http`, `ipc`, `websockets`
## Sub-projects
- [jsonrpc-core](./core) [![crates.io][core-image]][core-url]
- [jsonrpc-http-server](./http) [![crates.io][http-server-image]][http-server-url]
- [jsonrpc-minihttp-server](./minihttp)
- [jsonrpc-ipc-server](./ipc)
- [jsonrpc-ipc-server](./ipc) [![crates.io][ipc-server-image]][ipc-server-url]
- [jsonrpc-tcp-server](./tcp) [![crates.io][tcp-server-image]][tcp-server-url]
- [jsonrpc-ws-server](./ws)
- [jsonrpc-stdio-server](./stdio)
- [jsonrpc-ws-server](./ws) [![crates.io][ws-server-image]][ws-server-url]
- [jsonrpc-stdio-server](./stdio) [![crates.io][stdio-server-image]][stdio-server-url]
- [jsonrpc-macros](./macros) [![crates.io][macros-image]][macros-url] *deprecated:* use `derive` instead
- [jsonrpc-derive](./derive)
- [jsonrpc-derive](./derive) [![crates.io][derive-image]][derive-url]
- [jsonrpc-server-utils](./server-utils) [![crates.io][server-utils-image]][server-utils-url]
- [jsonrpc-pubsub](./pubsub) [![crates.io][pubsub-image]][pubsub-url]

[core-image]: https://img.shields.io/crates/v/jsonrpc-core.svg
[core-url]: https://crates.io/crates/jsonrpc-core
[http-server-image]: https://img.shields.io/crates/v/jsonrpc-http-server.svg
[http-server-url]: https://crates.io/crates/jsonrpc-http-server
[ipc-server-image]: https://img.shields.io/crates/v/jsonrpc-ipc-server.svg
[ipc-server-url]: https://crates.io/crates/jsonrpc-ipc-server
[tcp-server-image]: https://img.shields.io/crates/v/jsonrpc-tcp-server.svg
[tcp-server-url]: https://crates.io/crates/jsonrpc-tcp-server
[ws-server-image]: https://img.shields.io/crates/v/jsonrpc-ws-server.svg
[ws-server-url]: https://crates.io/crates/jsonrpc-ws-server
[stdio-server-image]: https://img.shields.io/crates/v/jsonrpc-stdio-server.svg
[stdio-server-url]: https://crates.io/crates/jsonrpc-stdio-server
[macros-image]: https://img.shields.io/crates/v/jsonrpc-macros.svg
[macros-url]: https://crates.io/crates/jsonrpc-macros
[derive-image]: https://img.shields.io/crates/v/jsonrpc-derive.svg
[derive-url]: https://crates.io/crates/jsonrpc-derive
[server-utils-image]: https://img.shields.io/crates/v/jsonrpc-server-utils.svg
[server-utils-url]: https://crates.io/crates/jsonrpc-server-utils
[pubsub-image]: https://img.shields.io/crates/v/jsonrpc-pubsub.svg
Expand All @@ -49,11 +56,8 @@ Transport-agnostic `core` and transport servers for `http`, `ipc`, `websockets`
### Basic Usage (with HTTP transport)

```rust
extern crate jsonrpc_core;
extern crate jsonrpc_minihttp_server;

use jsonrpc_core::{IoHandler, Value, Params};
use jsonrpc_minihttp_server::{ServerBuilder};
use jsonrpc_http_server::{ServerBuilder};

fn main() {
let mut io = IoHandler::new();
Expand Down
2 changes: 1 addition & 1 deletion http/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Rust http server using JSON-RPC 2.0.

```
[dependencies]
jsonrpc-http-server = { git = "https://github.com/paritytech/jsonrpc" }
jsonrpc-http-server = "10.0"
```

`main.rs`
Expand Down
2 changes: 1 addition & 1 deletion ipc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ IPC server (Windows & Linux) for JSON-RPC 2.0.

```
[dependencies]
jsonrpc-ipc-server = { git = "https://github.com/paritytech/jsonrpc" }
jsonrpc-ipc-server = "10.0"
```

`main.rs`
Expand Down
27 changes: 0 additions & 27 deletions minihttp/Cargo.toml

This file was deleted.

37 changes: 0 additions & 37 deletions minihttp/README.md

This file was deleted.

19 changes: 0 additions & 19 deletions minihttp/examples/http_async.rs

This file was deleted.

26 changes: 0 additions & 26 deletions minihttp/examples/http_meta.rs

This file was deleted.

20 changes: 0 additions & 20 deletions minihttp/examples/server.rs

This file was deleted.

Loading

0 comments on commit 2b47a5c

Please sign in to comment.