Unverified Commit 386eaa6d authored by Niklas Adolfsson's avatar Niklas Adolfsson Committed by GitHub
Browse files

fix a couple of nits after publishing v0.2.0-alpha.5 (#279)

* prep to release 0.2.0-alpha.5

* fix features

* update readme

* add changelog

* add metadata to the crates on crates.io
parent 09d6df17
# Changelog
The format is based on [Keep a Changelog].
[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/
## [Unreleased]
......@@ -12,11 +12,10 @@ The library is still under development; do not use in production.
## Sub-projects
- [jsonrpsee-http-client](./http-client) [![crates.io][ws-client-image]][ws-client-url]
- [jsonrpsee-http-server UNSTABLE/NOT RELEASED](./http-server) [![crates.io][http-server-image]][http-server-url]
- [jsonrpsee-http-server](./http-server) [![crates.io][http-server-image]][http-server-url]
- [jsonrpsee-proc-macros](./proc-macros) [![crates.io][proc-macros-image]][proc-macros-url]
- [jsonrpsee-ws-client](./ws-client) [![crates.io][ws-client-image]][ws-client-url]
- [jsonrpsee-ws-server UNSTABLE/NOT RELEASED](./http-server) [![crates.io][http-server-image]][http-server-url]
- [jsonrpsee-ws-server](./http-server) [![crates.io][http-server-image]][http-server-url]
[http-client-image]: https://img.shields.io/crates/v/jsonrpsee-http-client.svg
[http-client-url]: https://crates.io/crates/jsonrpsee-http-client
......@@ -34,6 +33,7 @@ The library is still under development; do not use in production.
- [HTTP](./examples/examples/http.rs)
- [WebSocket](./examples/examples/ws.rs)
- [WebSocket pubsub](./examples/examples/ws_subscription.rs)
- [API generation with proc macro](./examples/examples/proc_macro.rs)
## Roadmap
......
......@@ -5,6 +5,9 @@ authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krie
description = "HTTP client for JSON-RPC"
edition = "2018"
license = "MIT"
repository = "https://github.com/paritytech/jsonrpsee"
homepage = "https://github.com/paritytech/jsonrpsee"
documentation = "https://docs.rs/jsonrpsee-http-client"
[dependencies]
async-trait = "0.1"
......
......@@ -5,13 +5,17 @@ authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krie
description = "HTTP server for JSON-RPC"
edition = "2018"
license = "MIT"
repository = "https://github.com/paritytech/jsonrpsee"
homepage = "https://github.com/paritytech/jsonrpsee"
documentation = "https://docs.rs/jsonrpsee-http-server"
[dependencies]
anyhow = "1"
hyper = { version = "0.14", features = ["server", "http1", "http2"] }
futures = { version = "0.3", default-features = false }
hyper = { version = "0.14", features = ["server", "http1", "http2", "tcp"] }
futures-channel = "0.3"
futures-util = { version = "0.3", default-features = false }
jsonrpsee-types = { path = "../types", version = "0.2.0-alpha.5" }
jsonrpsee-utils = { path = "../utils", version = "0.2.0-alpha.5", features = ["server"] }
jsonrpsee-utils = { path = "../utils", version = "0.2.0-alpha.5", features = ["server", "hyper_14"] }
globset = "0.4"
lazy_static = "1.4"
log = "0.4"
......
......@@ -28,7 +28,8 @@ use crate::module::RpcModule;
use crate::response;
use crate::AccessControl;
use anyhow::anyhow;
use futures::{channel::mpsc, StreamExt};
use futures_channel::mpsc;
use futures_util::stream::StreamExt;
use hyper::{
server::{conn::AddrIncoming, Builder as HyperBuilder},
service::{make_service_fn, service_fn},
......
......@@ -5,6 +5,9 @@ version = "0.2.0-alpha.5"
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
license = "MIT"
edition = "2018"
repository = "https://github.com/paritytech/jsonrpsee"
homepage = "https://github.com/paritytech/jsonrpsee"
documentation = "https://docs.rs/jsonrpsee"
[dependencies]
http-client = { path = "../http-client", version = "0.2.0-alpha.5", package = "jsonrpsee-http-client", optional = true }
......
......@@ -5,6 +5,9 @@ version = "0.2.0-alpha.5"
authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krieger1708@gmail.com>"]
license = "MIT"
edition = "2018"
repository = "https://github.com/paritytech/jsonrpsee"
homepage = "https://github.com/paritytech/jsonrpsee"
documentation = "https://docs.rs/jsonrpsee-proc-macros"
[lib]
proc-macro = true
......
......@@ -5,6 +5,9 @@ authors = ["Parity Technologies <admin@parity.io>"]
description = "Shared types for jsonrpsee"
edition = "2018"
license = "MIT"
repository = "https://github.com/paritytech/jsonrpsee"
homepage = "https://github.com/paritytech/jsonrpsee"
documentation = "https://docs.rs/jsonrpsee-types"
[dependencies]
async-trait = "0.1"
......
......@@ -5,6 +5,9 @@ authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krie
description = "WebSocket client for JSON-RPC"
edition = "2018"
license = "MIT"
repository = "https://github.com/paritytech/jsonrpsee"
homepage = "https://github.com/paritytech/jsonrpsee"
documentation = "https://docs.rs/jsonrpsee-ws-client"
[dependencies]
async-trait = "0.1"
......
......@@ -5,10 +5,14 @@ authors = ["Parity Technologies <admin@parity.io>", "Pierre Krieger <pierre.krie
description = "WebSocket server for JSON-RPC"
edition = "2018"
license = "MIT"
repository = "https://github.com/paritytech/jsonrpsee"
homepage = "https://github.com/paritytech/jsonrpsee"
documentation = "https://docs.rs/jsonrpsee-ws-server"
[dependencies]
anyhow = "1.0.34"
futures = { version = "0.3", default-features = false }
futures-channel = "0.3"
futures-util = { version = "0.3", default-features = false, features = ["io"] }
jsonrpsee-types = { path = "../types", version = "0.2.0-alpha.5" }
jsonrpsee-utils = { path = "../utils", version = "0.2.0-alpha.5", features = ["server"] }
log = "0.4"
......
......@@ -24,10 +24,8 @@
// IN background_task WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
use futures::{
channel::mpsc,
io::{BufReader, BufWriter},
};
use futures_channel::mpsc;
use futures_util::io::{BufReader, BufWriter};
use parking_lot::Mutex;
use rustc_hash::FxHashMap;
use serde::Serialize;
......
#![cfg(test)]
use crate::WsServer;
use futures::channel::oneshot::{self, Sender};
use futures_channel::oneshot::{self, Sender};
use jsonrpsee_test_utils::helpers::*;
use jsonrpsee_test_utils::types::{Id, WebSocketTestClient};
use jsonrpsee_types::error::Error;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment