From 9dafc704e9dd87abe5d3f93fbcb442b3c9f520d9 Mon Sep 17 00:00:00 2001 From: Tim Kuehn Date: Sun, 24 Apr 2016 17:19:53 -0700 Subject: [PATCH 1/4] Update RELEASES.md --- RELEASES.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/RELEASES.md b/RELEASES.md index 0fcffb0..b4fdad6 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,4 +1,11 @@ -## 1.3 (2016-02-20) +## 0.4 (2016-04-02) + +### Breaking Changes +* Updated to the latest version of serde. Because tarpc exposes serde in + its API, this forces downstream code to update to the latest version of + serde, as well. + +## 0.3 (2016-02-20) ### Breaking Changes * The timeout arg to `serve` was replaced with a `Config` struct, which From 1cc8cbcdc3b1970ddb97b2b7bab3ab7481494b08 Mon Sep 17 00:00:00 2001 From: Tim Kuehn Date: Sun, 24 Apr 2016 17:48:29 -0700 Subject: [PATCH 2/4] Update pre-push to use rustup in lieu of multirust, because rustup is #thefuture. --- hooks/pre-push | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hooks/pre-push b/hooks/pre-push index 2a63b79..b57b17b 100755 --- a/hooks/pre-push +++ b/hooks/pre-push @@ -8,7 +8,7 @@ # Pre-push hook for the tarpc repository. To use this hook, copy it to .git/hooks in your repository # root. # -# This hook runs tests to make sure only working code is being pushed. If present, multirust is used +# This hook runs tests to make sure only working code is being pushed. If present, rustup is used # to build and test the code on the appropriate toolchains. The working copy must not contain # uncommitted changes, since the script currently just runs cargo build/test in the working copy. # @@ -67,7 +67,7 @@ run_cargo() { fi if [ "$3" != "" ]; then printf "${PREFIX} $VERB $2 on $3 ... " - multirust run $3 cargo $1 --manifest-path $2/Cargo.toml &>/dev/null + rustup run $3 cargo $1 --manifest-path $2/Cargo.toml &>/dev/null else printf "${PREFIX} $VERB $2 ... " cargo $1 --manifest-path $2/Cargo.toml &>/dev/null @@ -83,7 +83,7 @@ run_cargo() { TOOLCHAIN_RESULT=0 check_toolchain() { printf "${PREFIX} Checking for $1 toolchain ... " - if [[ $(multirust list-toolchain) =~ $1 ]]; then + if [[ $(rustup toolchain list) =~ $1 ]]; then printf "${SUCCESS}\n" else TOOLCHAIN_RESULT=1 @@ -92,8 +92,8 @@ check_toolchain() { fi } -printf "${PREFIX} Checking for multirust ... " -command -v multirust &>/dev/null +printf "${PREFIX} Checking for rustup ... " +command -v rustup &>/dev/null if [ "$?" == 0 ] && [ "${TARPC_USE_CURRENT_TOOLCHAIN}" == "" ]; then printf "${SUCCESS}\n" From 166f1523d6c1c27d735f7fec9a4d5a850a52654b Mon Sep 17 00:00:00 2001 From: Tim Kuehn Date: Sun, 24 Apr 2016 17:52:08 -0700 Subject: [PATCH 3/4] Update version in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 68d6f3a..c146188 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ function then returns the value produced by that other server. Add to your `Cargo.toml` dependencies: ```toml -tarpc = "0.3.0" +tarpc = "0.4.0" ``` ## Example From 43a2df4a13111fb2ba28cb9afa1b1ecda61f8504 Mon Sep 17 00:00:00 2001 From: Tim Date: Sun, 24 Apr 2016 17:56:41 -0700 Subject: [PATCH 4/4] Make version of serde explicit in release notes --- RELEASES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASES.md b/RELEASES.md index b4fdad6..f42ec98 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,7 +1,7 @@ ## 0.4 (2016-04-02) ### Breaking Changes -* Updated to the latest version of serde. Because tarpc exposes serde in +* Updated to the latest version of serde, 0.7.0. Because tarpc exposes serde in its API, this forces downstream code to update to the latest version of serde, as well.