Skip to content
This repository has been archived by the owner on Jan 2, 2020. It is now read-only.

Commit

Permalink
Update jsonrpc requirement from 8 to 9
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot-support authored and Franck Royer committed Jan 9, 2019
1 parent 726ab29 commit 923eb4e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
11 changes: 3 additions & 8 deletions Cargo.toml
@@ -1,12 +1,8 @@
[package]
name = "jsonrpc_client"
version = "0.2.0"
version = "0.3.0"
authors = [
"Thomas Eizinger <thomas@coblox.tech>",
"Philipp Hoenisch <philipp@coblox.tech>",
"Franck Royer <franck@coblox.tech>",
"Lloyd Fournier <lloyd@coblox.tech>",
"Lucas Soriano del Pino <lucas.soriano@coblox.tech>",
"CoBloX Team <team@coblox.tech>"
]
description = "Client library for talking to JsonRPC APIs."
license = "MIT OR Apache-2.0"
Expand All @@ -23,6 +19,5 @@ log = "0.4"

[dev-dependencies]
spectral = "0.6"
jsonrpc-http-server = "8"
jsonrpc-core = "8"
jsonrpc-http-server = "9"
env_logger = "0.5"
5 changes: 2 additions & 3 deletions tests/jsonrpc_calls.rs
@@ -1,12 +1,11 @@
extern crate env_logger;
extern crate jsonrpc_client;
extern crate jsonrpc_core;
extern crate jsonrpc_http_server;
extern crate spectral;

use jsonrpc_client::*;
use jsonrpc_core::*;
use jsonrpc_http_server::*;
use jsonrpc_http_server::jsonrpc_core::*;
use spectral::prelude::*;

fn main() {}
Expand All @@ -16,7 +15,7 @@ fn main() {}
fn get_server_response() {
let _ = env_logger::try_init();

let mut io = IoHandler::new();
let mut io = IoHandler::default();
io.add_method("helloworld", |_: Params| {
Ok(Value::String("hello".to_string()))
});
Expand Down

0 comments on commit 923eb4e

Please sign in to comment.