Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2026 from Cargill/agunde406-sdk-update
Browse files Browse the repository at this point in the history
Update Transaction Processors to use sawtooth-sdk = "0.2"
  • Loading branch information
agunde406 committed Feb 21, 2019
2 parents 1a1e7eb + 6e87dad commit c65462e
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion adm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ clap = ">=2.29.0"
libc = ">=0.2.35"
lmdb-zero = ">=0.4.1"
protobuf = "2.0"
sawtooth-sdk = { git = "https://github.com/hyperledger/sawtooth-sdk-rust" }
sawtooth-sdk = "0.2"
serde = "1.0"
serde_derive = "1.0"
serde_yaml = "0.7"
8 changes: 5 additions & 3 deletions docs/source/app_developers_guide/rust_sdk_import.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ Importing the Rust SDK
Once you've got a working version of Sawtooth, there are a few additional
steps you'll need to take to get started developing for Sawtooth in Rust.

1. Add Sawtooth to your ``Cargo.toml`` file. The Rust SDK is located in the Sawtooth SDK Rust repository
<http://github.com/hyperledger/sawtooth-sdk-rust>`_.
1. Add Sawtooth to your ``Cargo.toml`` file. Add sawtooth-sdk with the
appropriate version to the dependencies section. The Rust SDK is located in
the Sawtooth SDK Rust repository
`<http://github.com/hyperledger/sawtooth-sdk-rust>`_.

.. code-block:: ini
:caption: Sample ``Cargo.toml`` for a Sawtooth Rust project
Expand All @@ -22,7 +24,7 @@ steps you'll need to take to get started developing for Sawtooth in Rust.
authors = ["..."]
[dependencies]
sawtooth_sdk = { git = "https://github.com/hyperledger/sawtooth-sdk-rust.git" }
sawtooth-sdk = "0.2"
// --snip--
2. Import the SDK into your Rust files. At the top of your files, specify
Expand Down
2 changes: 1 addition & 1 deletion families/battleship/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ protobuf = "2.0"
rand = "0.5"
reqwest = "0.8"
rust-crypto = "0.2"
sawtooth-sdk = { git = "https://github.com/hyperledger/sawtooth-sdk-rust" }
sawtooth-sdk = "0.2"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion families/block_info/sawtooth_block_info/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ rust_crypto = {git = "https://github.com/agunde406/rust-crypto", branch="wasm_sh
sabre-sdk = {git = "https://github.com/hyperledger/sawtooth-sabre"}

[target.'cfg(unix)'.dependencies]
sawtooth-sdk = { git = "https://github.com/hyperledger/sawtooth-sdk-rust" }
sawtooth-sdk = "0.2"
rust-crypto = "0.2"
rustc-serialize = "0.3"
log = "0.3"
Expand Down
2 changes: 1 addition & 1 deletion families/identity/sawtooth_identity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ log = "0.3"
log4rs = "0.7"
rust-crypto = "0.2"
rustc-serialize = "0.3"
sawtooth-sdk = { git = "https://github.com/hyperledger/sawtooth-sdk-rust" }
sawtooth-sdk = "0.2"

[build-dependencies]
cfg-if = "0.1"
Expand Down
2 changes: 1 addition & 1 deletion families/settings/sawtooth_settings/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ rust_crypto = {git = "https://github.com/agunde406/rust-crypto", branch="wasm_sh
sabre-sdk = {git = "https://github.com/hyperledger/sawtooth-sabre"}

[target.'cfg(unix)'.dependencies]
sawtooth-sdk = { git = "https://github.com/hyperledger/sawtooth-sdk-rust" }
sawtooth-sdk = "0.2"
rust-crypto = "0.2"
rustc-serialize = "0.3"
log4rs = "0.7"
Expand Down
2 changes: 1 addition & 1 deletion families/smallbank/smallbank_rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ authors = ["Intel Corporation"]
build = "build.rs"

[dependencies]
sawtooth-sdk = { git = "https://github.com/hyperledger/sawtooth-sdk-rust" }
sawtooth-sdk = "0.2"
rust-crypto = "0.2"
rustc-serialize = "0.3"
clap = "2"
Expand Down
2 changes: 1 addition & 1 deletion perf/intkey_workload/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ protobuf = "2.0"
rand = "0.4"
rust-crypto = "^0.2"
sawtooth_perf = { path = "../sawtooth_perf" }
sawtooth-sdk = { git = "https://github.com/hyperledger/sawtooth-sdk-rust" }
sawtooth-sdk = "0.2"
simplelog = "0.5"
2 changes: 1 addition & 1 deletion perf/sawtooth_perf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ version = "0.1.0"
authors = ["Intel Corporation"]

[dependencies]
sawtooth-sdk = { git = "https://github.com/hyperledger/sawtooth-sdk-rust" }
sawtooth-sdk = "0.2"
chrono = "0.4"
protobuf = "2.0"
futures = "0.1"
Expand Down
2 changes: 1 addition & 1 deletion perf/sawtooth_workload/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ name = "sawtooth_workload"
version = "0.1.0"

[dependencies]
sawtooth-sdk = { git = "https://github.com/hyperledger/sawtooth-sdk-rust" }
sawtooth-sdk = "0.2"
sawtooth_perf = { path = "../sawtooth_perf" }
protobuf = "2.0"
clap = "2.26.0"
2 changes: 1 addition & 1 deletion perf/smallbank_workload/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ build = "build.rs"
authors = ["Intel Corporation"]

[dependencies]
sawtooth-sdk = { git = "https://github.com/hyperledger/sawtooth-sdk-rust" }
sawtooth-sdk = "0.2"
sawtooth_perf = { path = "../sawtooth_perf" }
protobuf = "2.0"
clap = "2.26.0"
Expand Down

0 comments on commit c65462e

Please sign in to comment.