Skip to content

Commit

Permalink
RC2 0.13.0 (exonum#1596)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksandr Anyshchenko authored Dec 4, 2019
1 parent b8fea3e commit 0f622c7
Show file tree
Hide file tree
Showing 28 changed files with 106 additions and 119 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html)

## Unreleased

## 0.13.0-rc.1 - 2019-12-04
## 0.13.0-rc.2 - 2019-12-04

### Breaking changes

Expand Down
6 changes: 3 additions & 3 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "exonum-cli"
version = "0.13.0-rc.1"
version = "0.13.0-rc.2"
authors = ["The Exonum Team <[email protected]>"]
edition = "2018"
homepage = "https://exonum.com/"
Expand All @@ -12,8 +12,8 @@ categories = ["command-line-interface", "configuration"]
description = "Helper crate for secure and convenient configuration of the Exonum nodes."

[dependencies]
exonum = { version = "0.13.0-rc.1", path = "../exonum" }
exonum-supervisor = { version = "0.13.0-rc.1", path = "../services/supervisor" }
exonum = { version = "0.13.0-rc.2", path = "../exonum" }
exonum-supervisor = { version = "0.13.0-rc.2", path = "../services/supervisor" }
structopt = "0.3.1"
serde = "1.0.101"
serde_derive = "1.0.101"
Expand Down
2 changes: 1 addition & 1 deletion components/build/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "exonum-build"
version = "0.13.0-rc.1"
version = "0.13.0-rc.2"
edition = "2018"
authors = ["The Exonum Team <[email protected]>"]
homepage = "https://exonum.com/"
Expand Down
6 changes: 3 additions & 3 deletions components/crypto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "exonum-crypto"
version = "0.13.0-rc.1"
version = "0.13.0-rc.2"
edition = "2018"
authors = ["The Exonum Team <[email protected]>"]
homepage = "https://exonum.com/"
Expand All @@ -26,7 +26,7 @@ failure = "0.1.5"
toml = "0.5.0"
uuid = "0.8"
exonum_sodiumoxide = { version = "0.0.23", optional = true}
exonum-proto = { path = "../proto", version = "0.13.0-rc.1", optional = true}
exonum-proto = { path = "../proto", version = "0.13.0-rc.2", optional = true}
protobuf = { version = "2.8.1", features = ["with-serde"] }
bit-vec = "0.6.1"

Expand All @@ -40,4 +40,4 @@ with-protobuf = ["exonum-proto"]
with-serde = []

[build-dependencies]
exonum-build = { version = "0.13.0-rc.1", path = "../build" }
exonum-build = { version = "0.13.0-rc.2", path = "../build" }
2 changes: 1 addition & 1 deletion components/derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "exonum-derive"
version = "0.13.0-rc.1"
version = "0.13.0-rc.2"
edition = "2018"
authors = ["The Exonum Team <[email protected]>"]
homepage = "https://exonum.com/"
Expand Down
4 changes: 2 additions & 2 deletions components/keys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "exonum-keys"
version = "0.13.0-rc.1"
version = "0.13.0-rc.2"
edition = "2018"
authors = ["The Exonum Team <[email protected]>"]
homepage = "https://exonum.com/"
Expand All @@ -19,7 +19,7 @@ serde = "1.0.10"
serde_derive = "1.0.64"
toml = "0.5.0"

exonum-crypto = { version = "0.13.0-rc.1", path = "../crypto" }
exonum-crypto = { version = "0.13.0-rc.2", path = "../crypto" }

[dev-dependencies]
tempdir = "0.3.7"
Expand Down
10 changes: 5 additions & 5 deletions components/merkledb/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "exonum-merkledb"
version = "0.13.0-rc.1"
version = "0.13.0-rc.2"
edition = "2018"
authors = ["The Exonum Team <[email protected]>"]
homepage = "https://exonum.com/"
Expand All @@ -19,8 +19,8 @@ bincode = "1.1"
byteorder = "1.3"
chrono = "0.4.6"
enum-primitive-derive = "0.1"
exonum-crypto = { path = "../crypto", version = "0.13.0-rc.1", features = ["with-serde"]}
exonum-proto = { path = "../proto", version = "0.13.0-rc.1", optional = true }
exonum-crypto = { path = "../crypto", version = "0.13.0-rc.2", features = ["with-serde"]}
exonum-proto = { path = "../proto", version = "0.13.0-rc.2", optional = true }
failure = "0.1"
hex = "0.4"
leb128 = "0.2"
Expand All @@ -39,7 +39,7 @@ protobuf = { version = "2.8.1", features = ["with-serde"], optional = true }
[dev-dependencies]
assert_matches = "1.3.0"
criterion = "0.3"
exonum-derive = { version = "0.13.0-rc.1", path = "../derive" }
exonum-derive = { version = "0.13.0-rc.2", path = "../derive" }
rand = "0.7"
proptest = "0.9"
modifier = "0.1"
Expand All @@ -65,4 +65,4 @@ rocksdb_bzip2 = ["rocksdb/bzip2"]
name = "blockchain"

[build-dependencies]
exonum-build = { version = "0.13.0-rc.1", path = "../build" }
exonum-build = { version = "0.13.0-rc.2", path = "../build" }
2 changes: 1 addition & 1 deletion components/merkledb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Include `exonum-merkledb` as a dependency in your `Cargo.toml`:

```toml
[dependencies]
exonum-merkledb = "0.13.0-rc.1"
exonum-merkledb = "0.13.0-rc.2"

```

Expand Down
6 changes: 3 additions & 3 deletions components/proto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "exonum-proto"
version = "0.13.0-rc.1"
version = "0.13.0-rc.2"
edition = "2018"
authors = ["The Exonum Team <[email protected]>"]
homepage = "https://exonum.com/"
Expand All @@ -19,13 +19,13 @@ protobuf = { version = "2.8.1", features = ["with-serde"] }
bit-vec = "0.6.1"
serde = "1.0.101"
serde_derive = "1.0.101"
exonum-derive = { path = "../derive", version = "0.13.0-rc.1"}
exonum-derive = { path = "../derive", version = "0.13.0-rc.2"}
protobuf-convert = "0.2.0"

[features]
default = ["with-serde"]
with-serde = []

[build-dependencies]
exonum-build = { version = "0.13.0-rc.1", path = "../build" }
exonum-build = { version = "0.13.0-rc.2", path = "../build" }

18 changes: 9 additions & 9 deletions examples/cryptocurrency-advanced/backend/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "exonum-cryptocurrency-advanced"
version = "0.13.0-rc.1"
version = "0.13.0-rc.2"
edition = "2018"
authors = ["The Exonum Team <[email protected]>"]
homepage = "https://exonum.com/"
Expand All @@ -15,26 +15,26 @@ description = "Exonum blockchain example implementing a cryptocurrency."
travis-ci = { repository = "exonum/exonum" }

[dependencies]
exonum = { version = "0.13.0-rc.1", path = "../../../exonum" }
exonum-derive = { version = "0.13.0-rc.1", path = "../../../components/derive" }
exonum-merkledb = { version = "0.13.0-rc.1", path = "../../../components/merkledb" }
exonum-crypto = { version = "0.13.0-rc.1", path = "../../../components/crypto"}
exonum-proto = { version = "0.13.0-rc.1", path = "../../../components/proto" }
exonum-cli = { version = "0.13.0-rc.1", path = "../../../cli" }
exonum = { version = "0.13.0-rc.2", path = "../../../exonum" }
exonum-derive = { version = "0.13.0-rc.2", path = "../../../components/derive" }
exonum-merkledb = { version = "0.13.0-rc.2", path = "../../../components/merkledb" }
exonum-crypto = { version = "0.13.0-rc.2", path = "../../../components/crypto"}
exonum-proto = { version = "0.13.0-rc.2", path = "../../../components/proto" }
exonum-cli = { version = "0.13.0-rc.2", path = "../../../cli" }
serde = "1.0.0"
serde_derive = "1.0.0"
failure = "0.1.5"
protobuf = "2.8.0"

[dev-dependencies]
exonum-testkit = { version = "0.13.0-rc.1", path = "../../../test-suite/testkit" }
exonum-testkit = { version = "0.13.0-rc.2", path = "../../../test-suite/testkit" }
serde_json = "1.0.0"
pretty_assertions = "0.6.1"
assert_matches = "1.2.0"
hex = "0.4"

[build-dependencies]
exonum-build = { version = "0.13.0-rc.1", path = "../../../components/build" }
exonum-build = { version = "0.13.0-rc.2", path = "../../../components/build" }

[features]
default = ["with-serde"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ supervisor_mode: "simple"
artifacts:
cryptocurrency:
runtime: rust
name: "exonum-cryptocurrency-advanced:0.13.0-rc.1"
name: "exonum-cryptocurrency-advanced:0.13.0-rc.2"

instances:
crypto:
Expand Down
2 changes: 1 addition & 1 deletion examples/cryptocurrency-advanced/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN curl -sL https://deb.nodesource.com/setup_8.x | bash \
&& apt-get install -y nodejs

WORKDIR /usr/src
RUN git clone --branch v0.13.0-rc.1 https://github.com/exonum/exonum.git \
RUN git clone --branch v0.13.0-rc.2 https://github.com/exonum/exonum.git \
&& mv /root/.cargo/bin/* /usr/bin \
&& cd exonum/examples/cryptocurrency-advanced/backend \
&& cargo update && cargo install --path . \
Expand Down
16 changes: 8 additions & 8 deletions examples/cryptocurrency/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@ description = "Minimal Exonum blockchain example implementing a simple cryptocur
travis-ci = { repository = "exonum/exonum" }

[dependencies]
exonum = { version = "0.13.0-rc.1", path = "../../exonum" }
exonum-derive = { version = "0.13.0-rc.1", path = "../../components/derive" }
exonum-keys = { version = "0.13.0-rc.1", path = "../../components/keys" }
exonum-merkledb = { version = "0.13.0-rc.1", path = "../../components/merkledb" }
exonum-proto = { version = "0.13.0-rc.1", path = "../../components/proto" }
exonum-crypto = { version = "0.13.0-rc.1", path = "../../components/crypto" }
exonum = { version = "0.13.0-rc.2", path = "../../exonum" }
exonum-derive = { version = "0.13.0-rc.2", path = "../../components/derive" }
exonum-keys = { version = "0.13.0-rc.2", path = "../../components/keys" }
exonum-merkledb = { version = "0.13.0-rc.2", path = "../../components/merkledb" }
exonum-proto = { version = "0.13.0-rc.2", path = "../../components/proto" }
exonum-crypto = { version = "0.13.0-rc.2", path = "../../components/crypto" }
failure = "0.1.5"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
protobuf = "2.8.0"

[dev-dependencies]
exonum-testkit = { version = "0.13.0-rc.1", path = "../../test-suite/testkit" }
exonum-testkit = { version = "0.13.0-rc.2", path = "../../test-suite/testkit" }
rand = "0.7"
pretty_assertions = "0.6.1"
assert_matches = "1.2.0"

[build-dependencies]
exonum-build = { version = "0.13.0-rc.1", path = "../../components/build" }
exonum-build = { version = "0.13.0-rc.2", path = "../../components/build" }
10 changes: 5 additions & 5 deletions examples/sample_runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "exonum-sample-runtime"
version = "0.13.0-rc.1"
version = "0.13.0-rc.2"
authors = ["The Exonum Team <[email protected]>"]
edition = "2018"
homepage = "https://exonum.com/"
Expand All @@ -13,8 +13,8 @@ description = "Minimal Exonum blockchain example implementing a simple runtime."
[dependencies]
futures = "0.1.25"

exonum = { version = "0.13.0-rc.1", path = "../../exonum" }
exonum-derive = { version = "0.13.0-rc.1", path = "../../components/derive" }
exonum-merkledb = { version = "0.13.0-rc.1", path = "../../components/merkledb" }
exonum-supervisor = { version = "0.13.0-rc.1", path = "../../services/supervisor" }
exonum = { version = "0.13.0-rc.2", path = "../../exonum" }
exonum-derive = { version = "0.13.0-rc.2", path = "../../components/derive" }
exonum-merkledb = { version = "0.13.0-rc.2", path = "../../components/merkledb" }
exonum-supervisor = { version = "0.13.0-rc.2", path = "../../services/supervisor" }
protobuf-convert = "0.2.0"
20 changes: 10 additions & 10 deletions examples/timestamping/backend/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "exonum-timestamping"
version = "0.13.0-rc.1"
version = "0.13.0-rc.2"
edition = "2018"
publish = false
authors = ["The Exonum Team <[email protected]>"]
Expand All @@ -12,13 +12,13 @@ license = "Apache-2.0"
travis-ci = { repository = "exonum/exonum" }

[dependencies]
exonum = { version = "0.13.0-rc.1", path = "../../../exonum" }
exonum-crypto = { version = "0.13.0-rc.1", path = "../../../components/crypto" }
exonum-derive = { version = "0.13.0-rc.1", path = "../../../components/derive" }
exonum-merkledb = { version = "0.13.0-rc.1", path = "../../../components/merkledb" }
exonum-cli = { version = "0.13.0-rc.1", path = "../../../cli" }
exonum-time = { version = "0.13.0-rc.1", path = "../../../services/time" }
exonum-proto = { version = "0.13.0-rc.1", path = "../../../components/proto" }
exonum = { version = "0.13.0-rc.2", path = "../../../exonum" }
exonum-crypto = { version = "0.13.0-rc.2", path = "../../../components/crypto" }
exonum-derive = { version = "0.13.0-rc.2", path = "../../../components/derive" }
exonum-merkledb = { version = "0.13.0-rc.2", path = "../../../components/merkledb" }
exonum-cli = { version = "0.13.0-rc.2", path = "../../../cli" }
exonum-time = { version = "0.13.0-rc.2", path = "../../../services/time" }
exonum-proto = { version = "0.13.0-rc.2", path = "../../../components/proto" }
serde = "1.0.10"
serde_derive = "1.0.10"
serde_json = "1.0.2"
Expand All @@ -28,11 +28,11 @@ chrono = { version = "0.4.6", features = ["serde"] }
protobuf = "2.8.0"

[dev-dependencies]
exonum-testkit = { version = "0.13.0-rc.1", path = "../../../test-suite/testkit" }
exonum-testkit = { version = "0.13.0-rc.2", path = "../../../test-suite/testkit" }
pretty_assertions = "0.6.1"

[build-dependencies]
exonum-build = { version = "0.13.0-rc.1", path = "../../../components/build" }
exonum-build = { version = "0.13.0-rc.2", path = "../../../components/build" }

[features]
default = ["with-serde"]
Expand Down
2 changes: 1 addition & 1 deletion examples/timestamping/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN curl -sL https://deb.nodesource.com/setup_8.x | bash \
&& apt-get install -y nodejs

WORKDIR /usr/src
RUN git clone --branch v0.13.0-rc.1 https://github.com/exonum/exonum.git \
RUN git clone --branch v0.13.0-rc.2 https://github.com/exonum/exonum.git \
&& mv /root/.cargo/bin/* /usr/bin \
&& cd exonum/examples/timestamping/backend \
&& cargo update && cargo install --path . \
Expand Down
4 changes: 2 additions & 2 deletions examples/timestamping/timestamping.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ supervisor_mode: "simple"
artifacts:
time:
runtime: rust
name: "exonum-time:0.13.0-rc.1"
name: "exonum-time:0.13.0-rc.2"
timestamping:
runtime: rust
name: "exonum-timestamping:0.13.0-rc.1"
name: "exonum-timestamping:0.13.0-rc.2"

instances:
time:
Expand Down
14 changes: 7 additions & 7 deletions exonum/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "exonum"
version = "0.13.0-rc.1"
version = "0.13.0-rc.2"
edition = "2018"
authors = ["The Exonum Team <[email protected]>"]
homepage = "https://exonum.com/"
Expand Down Expand Up @@ -56,11 +56,11 @@ zeroize = "1.0"
semver = "0.9.0"

exonum_sodiumoxide = { version = "0.0.23", optional = true }
exonum-crypto = { version = "0.13.0-rc.1", path = "../components/crypto" }
exonum-derive = { version = "0.13.0-rc.1", path = "../components/derive" }
exonum-keys = { version = "0.13.0-rc.1", path = "../components/keys" }
exonum-merkledb = { version = "0.13.0-rc.1", path = "../components/merkledb" }
exonum-proto = { version = "0.13.0-rc.1", path = "../components/proto" }
exonum-crypto = { version = "0.13.0-rc.2", path = "../components/crypto" }
exonum-derive = { version = "0.13.0-rc.2", path = "../components/derive" }
exonum-keys = { version = "0.13.0-rc.2", path = "../components/keys" }
exonum-merkledb = { version = "0.13.0-rc.2", path = "../components/merkledb" }
exonum-proto = { version = "0.13.0-rc.2", path = "../components/proto" }

[dev-dependencies]
criterion = "0.3.0"
Expand Down Expand Up @@ -93,7 +93,7 @@ rocksdb_zstd = ["exonum-merkledb/rocksdb_zstd"]
rocksdb_bzip2 = ["exonum-merkledb/rocksdb_bzip2"]

[build-dependencies]
exonum-build = { version = "0.13.0-rc.1", path = "../components/build" }
exonum-build = { version = "0.13.0-rc.2", path = "../components/build" }

[package.metadata.docs.rs]
dependencies = [ "protobuf-compiler" ]
15 changes: 1 addition & 14 deletions exonum/build.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// spell-checker:ignore rustc

use exonum_build::{ProtoSources, ProtobufGenerator};
use exonum_build::ProtobufGenerator;

use std::{env, fs::File, io::Write, path::Path, process::Command};

Expand Down Expand Up @@ -35,19 +35,6 @@ fn main() {

create_path_to_protobuf_schema_env();

let crypto_protos = ProtoSources::Path("../components/crypto/src/proto/schema");
let common_protos = ProtoSources::Path("../components/proto/src/proto");

// Exonum crypto.
ProtobufGenerator::with_mod_name("exonum_crypto_proto_mod.rs")
.with_input_dir(&crypto_protos.path())
.generate();

// Exonum proto.
ProtobufGenerator::with_mod_name("exonum_common_proto_mod.rs")
.with_input_dir(&common_protos.path())
.generate();

ProtobufGenerator::with_mod_name("exonum_proto_mod.rs")
.with_input_dir("src/proto/schema/exonum")
.with_crypto()
Expand Down
Loading

0 comments on commit 0f622c7

Please sign in to comment.