diff --git a/.travis.yml b/.travis.yml index 3d6ce4c7b..b7b78c7d0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,21 @@ branches: - master - /^parity-.*$/ -cache: cargo +cache: + # Don't use `cache: cargo` since it adds the `target` directory and that can be huge. + # Saving and loading this directory dwarfes actual compilation and test times. But what is more + # important, is that travis timeouts the build since the job doesn't produce any output for more + # than 10 minutes. + # + # So we just cache ~/.cargo directory + directories: + - /home/travis/.cargo + +before_cache: + # Travis can't cache files that are not readable by "others" + - chmod -R a+r $HOME/.cargo + # According to the Travis CI docs for building Rust project this is done by, + - rm -rf /home/travis/.cargo/registry os: - linux diff --git a/core-client/Cargo.toml b/core-client/Cargo.toml index 04dc38e2c..bcffa4387 100644 --- a/core-client/Cargo.toml +++ b/core-client/Cargo.toml @@ -8,7 +8,7 @@ keywords = ["jsonrpc", "json-rpc", "json", "rpc", "serde"] license = "MIT" name = "jsonrpc-core-client" repository = "https://github.com/paritytech/jsonrpc" -version = "13.2.0" +version = "14.0.0" categories = [ "asynchronous", @@ -25,7 +25,7 @@ ws = ["jsonrpc-client-transports/ws"] ipc = ["jsonrpc-client-transports/ipc"] [dependencies] -jsonrpc-client-transports = { version = "13.2", path = "./transports", default-features = false } +jsonrpc-client-transports = { version = "14.0", path = "./transports", default-features = false } [badges] travis-ci = { repository = "paritytech/jsonrpc", branch = "master"} diff --git a/core-client/transports/Cargo.toml b/core-client/transports/Cargo.toml index 2f4c3b4cb..ef1a0813f 100644 --- a/core-client/transports/Cargo.toml +++ b/core-client/transports/Cargo.toml @@ -8,7 +8,7 @@ keywords = ["jsonrpc", "json-rpc", "json", "rpc", "serde"] license = "MIT" name = "jsonrpc-client-transports" repository = "https://github.com/paritytech/jsonrpc" -version = "13.2.0" +version = "14.0.0" categories = [ "asynchronous", @@ -37,9 +37,9 @@ failure = "0.1" futures = "0.1.26" hyper = { version = "0.12", optional = true } hyper-tls = { version = "0.3.2", optional = true } -jsonrpc-core = { version = "13.2", path = "../../core" } -jsonrpc-pubsub = { version = "13.2", path = "../../pubsub" } -jsonrpc-server-utils = { version = "13.2", path = "../../server-utils", optional = true } +jsonrpc-core = { version = "14.0", path = "../../core" } +jsonrpc-pubsub = { version = "14.0", path = "../../pubsub" } +jsonrpc-server-utils = { version = "14.0", path = "../../server-utils", optional = true } log = "0.4" parity-tokio-ipc = { version = "0.2", optional = true } serde = { version = "1.0", features = ["derive"] } @@ -50,8 +50,8 @@ url = "1.7" [dev-dependencies] assert_matches = "1.1" -jsonrpc-http-server = { version = "13.2", path = "../../http" } -jsonrpc-ipc-server = { version = "13.2", path = "../../ipc" } +jsonrpc-http-server = { version = "14.0", path = "../../http" } +jsonrpc-ipc-server = { version = "14.0", path = "../../ipc" } lazy_static = "1.0" env_logger = "0.6" tokio = "0.1" diff --git a/core/Cargo.toml b/core/Cargo.toml index 30efa8d77..af3152c89 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -8,7 +8,7 @@ keywords = ["jsonrpc", "json-rpc", "json", "rpc", "serde"] license = "MIT" name = "jsonrpc-core" repository = "https://github.com/paritytech/jsonrpc" -version = "13.2.0" +version = "14.0.0" categories = [ "asynchronous", diff --git a/derive/Cargo.toml b/derive/Cargo.toml index 70c32345f..a1635413b 100644 --- a/derive/Cargo.toml +++ b/derive/Cargo.toml @@ -7,7 +7,7 @@ homepage = "https://github.com/paritytech/jsonrpc" license = "MIT" name = "jsonrpc-derive" repository = "https://github.com/paritytech/jsonrpc" -version = "13.2.0" +version = "14.0.0" [lib] proc-macro = true @@ -19,10 +19,10 @@ quote = "0.6" proc-macro-crate = "0.1.3" [dev-dependencies] -jsonrpc-core = { version = "13.2", path = "../core" } -jsonrpc-core-client = { version = "13.2", path = "../core-client" } -jsonrpc-pubsub = { version = "13.2", path = "../pubsub" } -jsonrpc-tcp-server = { version = "13.2", path = "../tcp" } +jsonrpc-core = { version = "14.0", path = "../core" } +jsonrpc-core-client = { version = "14.0", path = "../core-client" } +jsonrpc-pubsub = { version = "14.0", path = "../pubsub" } +jsonrpc-tcp-server = { version = "14.0", path = "../tcp" } futures = "~0.1.6" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" diff --git a/http/Cargo.toml b/http/Cargo.toml index 26681f282..721e5ea2b 100644 --- a/http/Cargo.toml +++ b/http/Cargo.toml @@ -8,12 +8,12 @@ keywords = ["jsonrpc", "json-rpc", "json", "rpc", "server"] license = "MIT" name = "jsonrpc-http-server" repository = "https://github.com/paritytech/jsonrpc" -version = "13.2.0" +version = "14.0.0" [dependencies] hyper = "0.12" -jsonrpc-core = { version = "13.2", path = "../core" } -jsonrpc-server-utils = { version = "13.2", path = "../server-utils" } +jsonrpc-core = { version = "14.0", path = "../core" } +jsonrpc-server-utils = { version = "14.0", path = "../server-utils" } log = "0.4" net2 = "0.2" unicase = "2.0" diff --git a/http/README.md b/http/README.md index fc25ce224..57d6a1ca5 100644 --- a/http/README.md +++ b/http/README.md @@ -9,7 +9,7 @@ Rust http server using JSON-RPC 2.0. ``` [dependencies] -jsonrpc-http-server = "13.2" +jsonrpc-http-server = "14.0" ``` `main.rs` diff --git a/ipc/Cargo.toml b/ipc/Cargo.toml index a0ee0b038..ccf22b72d 100644 --- a/ipc/Cargo.toml +++ b/ipc/Cargo.toml @@ -7,13 +7,13 @@ homepage = "https://github.com/paritytech/jsonrpc" license = "MIT" name = "jsonrpc-ipc-server" repository = "https://github.com/paritytech/jsonrpc" -version = "13.2.0" +version = "14.0.0" [dependencies] log = "0.4" tokio-service = "0.1" -jsonrpc-core = { version = "13.2", path = "../core" } -jsonrpc-server-utils = { version = "13.2", path = "../server-utils" } +jsonrpc-core = { version = "14.0", path = "../core" } +jsonrpc-server-utils = { version = "14.0", path = "../server-utils" } parity-tokio-ipc = "0.2" parking_lot = "0.9" diff --git a/ipc/README.md b/ipc/README.md index cc572e00f..e9e5bf6a2 100644 --- a/ipc/README.md +++ b/ipc/README.md @@ -9,7 +9,7 @@ IPC server (Windows & Linux) for JSON-RPC 2.0. ``` [dependencies] -jsonrpc-ipc-server = "13.2" +jsonrpc-ipc-server = "14.0" ``` `main.rs` diff --git a/pubsub/Cargo.toml b/pubsub/Cargo.toml index a6fab04e0..4f64dd770 100644 --- a/pubsub/Cargo.toml +++ b/pubsub/Cargo.toml @@ -8,16 +8,16 @@ keywords = ["jsonrpc", "json-rpc", "json", "rpc", "macros"] license = "MIT" name = "jsonrpc-pubsub" repository = "https://github.com/paritytech/jsonrpc" -version = "13.2.0" +version = "14.0.0" [dependencies] log = "0.4" parking_lot = "0.9" -jsonrpc-core = { version = "13.2", path = "../core" } +jsonrpc-core = { version = "14.0", path = "../core" } serde = "1.0" [dev-dependencies] -jsonrpc-tcp-server = { version = "13.2", path = "../tcp" } +jsonrpc-tcp-server = { version = "14.0", path = "../tcp" } [badges] travis-ci = { repository = "paritytech/jsonrpc", branch = "master"} diff --git a/pubsub/more-examples/Cargo.toml b/pubsub/more-examples/Cargo.toml index 01e77cd7a..17ae6e0f4 100644 --- a/pubsub/more-examples/Cargo.toml +++ b/pubsub/more-examples/Cargo.toml @@ -3,12 +3,12 @@ name = "jsonrpc-pubsub-examples" description = "Examples of Publish-Subscribe extension for jsonrpc." homepage = "https://github.com/paritytech/jsonrpc" repository = "https://github.com/paritytech/jsonrpc" -version = "13.2.0" +version = "14.0.0" authors = ["tomusdrw "] license = "MIT" [dependencies] -jsonrpc-core = { version = "13.2", path = "../../core" } -jsonrpc-pubsub = { version = "13.2", path = "../" } -jsonrpc-ws-server = { version = "13.2", path = "../../ws" } -jsonrpc-ipc-server = { version = "13.2", path = "../../ipc" } +jsonrpc-core = { version = "14.0", path = "../../core" } +jsonrpc-pubsub = { version = "14.0", path = "../" } +jsonrpc-ws-server = { version = "14.0", path = "../../ws" } +jsonrpc-ipc-server = { version = "14.0", path = "../../ipc" } diff --git a/server-utils/Cargo.toml b/server-utils/Cargo.toml index cdfb2533a..7a6fb7b32 100644 --- a/server-utils/Cargo.toml +++ b/server-utils/Cargo.toml @@ -8,12 +8,12 @@ keywords = ["jsonrpc", "json-rpc", "json", "rpc", "serde"] license = "MIT" name = "jsonrpc-server-utils" repository = "https://github.com/paritytech/jsonrpc" -version = "13.2.0" +version = "14.0.0" [dependencies] bytes = "0.4" globset = "0.4" -jsonrpc-core = { version = "13.2", path = "../core" } +jsonrpc-core = { version = "14.0", path = "../core" } lazy_static = "1.1.0" log = "0.4" tokio = { version = "0.1" } diff --git a/stdio/Cargo.toml b/stdio/Cargo.toml index 52ff518f5..e006cc7f0 100644 --- a/stdio/Cargo.toml +++ b/stdio/Cargo.toml @@ -7,11 +7,11 @@ homepage = "https://github.com/paritytech/jsonrpc" license = "MIT" name = "jsonrpc-stdio-server" repository = "https://github.com/paritytech/jsonrpc" -version = "13.2.0" +version = "14.0.0" [dependencies] futures = "0.1.23" -jsonrpc-core = { version = "13.2", path = "../core" } +jsonrpc-core = { version = "14.0", path = "../core" } log = "0.4" tokio = "0.1.7" tokio-codec = "0.1.0" diff --git a/stdio/README.md b/stdio/README.md index a030fd64c..a7997cdf1 100644 --- a/stdio/README.md +++ b/stdio/README.md @@ -10,7 +10,7 @@ Takes one request per line and outputs each response on a new line. ``` [dependencies] -jsonrpc-stdio-server = "13.2" +jsonrpc-stdio-server = "14.0" ``` `main.rs` diff --git a/tcp/Cargo.toml b/tcp/Cargo.toml index c2f558ebe..77f4315fe 100644 --- a/tcp/Cargo.toml +++ b/tcp/Cargo.toml @@ -7,14 +7,14 @@ homepage = "https://github.com/paritytech/jsonrpc" license = "MIT" name = "jsonrpc-tcp-server" repository = "https://github.com/paritytech/jsonrpc" -version = "13.2.0" +version = "14.0.0" [dependencies] log = "0.4" parking_lot = "0.9" tokio-service = "0.1" -jsonrpc-core = { version = "13.2", path = "../core" } -jsonrpc-server-utils = { version = "13.2", path = "../server-utils" } +jsonrpc-core = { version = "14.0", path = "../core" } +jsonrpc-server-utils = { version = "14.0", path = "../server-utils" } [dev-dependencies] lazy_static = "1.0" diff --git a/tcp/README.md b/tcp/README.md index 9ccd73c51..12caa7284 100644 --- a/tcp/README.md +++ b/tcp/README.md @@ -9,7 +9,7 @@ TCP server for JSON-RPC 2.0. ``` [dependencies] -jsonrpc-tcp-server = "13.2" +jsonrpc-tcp-server = "14.0" ``` `main.rs` diff --git a/test/Cargo.toml b/test/Cargo.toml index b8756ddfd..657bf06eb 100644 --- a/test/Cargo.toml +++ b/test/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "jsonrpc-test" description = "Simple test framework for JSON-RPC." -version = "13.2.0" +version = "14.0.0" authors = ["Tomasz Drwięga "] license = "MIT" homepage = "https://github.com/paritytech/jsonrpc" @@ -10,13 +10,13 @@ documentation = "https://docs.rs/jsonrpc-test/" edition = "2018" [dependencies] -jsonrpc-core = { version = "13.2", path = "../core" } -jsonrpc-core-client = { version = "13.2", path = "../core-client" } -jsonrpc-pubsub = { version = "13.2", path = "../pubsub" } +jsonrpc-core = { version = "14.0", path = "../core" } +jsonrpc-core-client = { version = "14.0", path = "../core-client" } +jsonrpc-pubsub = { version = "14.0", path = "../pubsub" } log = "0.4" serde = "1.0" serde_json = "1.0" [dev-dependencies] -jsonrpc-derive = { version = "13.2", path = "../derive" } +jsonrpc-derive = { version = "14.0", path = "../derive" } diff --git a/ws/Cargo.toml b/ws/Cargo.toml index 8c868bba4..85ee325b9 100644 --- a/ws/Cargo.toml +++ b/ws/Cargo.toml @@ -7,11 +7,11 @@ homepage = "https://github.com/paritytech/jsonrpc" license = "MIT" name = "jsonrpc-ws-server" repository = "https://github.com/paritytech/jsonrpc" -version = "13.2.0" +version = "14.0.0" [dependencies] -jsonrpc-core = { version = "13.2", path = "../core" } -jsonrpc-server-utils = { version = "13.2", path = "../server-utils" } +jsonrpc-core = { version = "14.0", path = "../core" } +jsonrpc-server-utils = { version = "14.0", path = "../server-utils" } log = "0.4" parking_lot = "0.9" slab = "0.4" diff --git a/ws/README.md b/ws/README.md index 5da6fc47f..b8211c66d 100644 --- a/ws/README.md +++ b/ws/README.md @@ -9,7 +9,7 @@ WebSockets server for JSON-RPC 2.0. ``` [dependencies] -jsonrpc-ws-server = "13.2" +jsonrpc-ws-server = "14.0" ``` `main.rs`