From c9670b00322075b299e804934bb746d03c33abf9 Mon Sep 17 00:00:00 2001 From: debris Date: Wed, 3 Feb 2016 17:35:25 +0100 Subject: [PATCH] use env package version --- rpc/Cargo.toml | 2 +- rpc/src/v1/impls/web3.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index ccccc9a90..bea85a74f 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -1,7 +1,7 @@ [package] description = "Ethcore jsonrpc" name = "ethcore-rpc" -version = "0.1.0" +version = "0.9.0" license = "GPL-3.0" authors = ["Ethcore Result { match params { - Params::None => Ok(Value::String(format!("parity/0.9.0/{}/rust1.8-nightly", Target::os()).to_owned())), + Params::None => Ok(Value::String(format!("parity/{}/{}/rust1.8-nightly", env!("CARGO_PKG_VERSION"), Target::os()).to_owned())), _ => Err(Error::invalid_params()) } }