Skip to content
This repository has been archived by the owner on Jan 29, 2022. It is now read-only.

Update Cargo.toml to use crates for sdk #46

Merged
merged 1 commit into from
Nov 12, 2018

Conversation

rbuysse
Copy link
Contributor

@rbuysse rbuysse commented Nov 9, 2018

Signed-off-by: Ryan Beck-Buysse rbuysse@bitwise.io

Signed-off-by: Ryan Beck-Buysse <rbuysse@bitwise.io>
@@ -22,7 +22,7 @@ log4rs = "0.8"
log4rs-syslog = "3.0"
protobuf = "2"
raft = "0.3.1"
sawtooth_sdk = { git = "https://github.com/hyperledger/sawtooth-core.git" }
sawtooth-sdk = "^0.1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about extern crate declaration and use statements?
I guess build might fail without that change.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you mean due to the crate's coordinate change (`"sawtooth_sdk" -> "sawtooth-sdk"), those don't need to change. Rust automatically translates those the dashes to the underscores.

(See rust-lang/rust#23533 for details)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the link. It clarifies my question.

@rbuysse rbuysse merged commit b77c946 into hyperledger-archives:master Nov 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants