add deps for consensus crate

This commit is contained in:
Robert Habermeier
2019-01-15 18:01:23 -03:00
parent 3474145090
commit aa6cd4f231
5 changed files with 4297 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
**/target/
+4281
View File
File diff suppressed because it is too large Load Diff
+2
View File
@@ -0,0 +1,2 @@
[workspace]
members = [ "consensus" ]
+13
View File
@@ -6,3 +6,16 @@ authors = ["Parity Technologies"]
edition = "2018" edition = "2018"
[dependencies] [dependencies]
# substrate deps
substrate-client = { git = "https://github.com/paritytech/substrate" }
substrate-consensus-common = { git = "https://github.com/paritytech/substrate" }
substrate-primitives = { git = "https://github.com/paritytech/substrate" }
sr-primitives = { git = "https://github.com/paritytech/substrate" }
# polkadot deps
polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "rh-update-substrate" }
polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "rh-update-substrate" }
# other deps
futures = "0.1.21"
tokio = "0.1.8"
-1
View File
@@ -14,7 +14,6 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with Cumulus. If not, see <http://www.gnu.org/licenses/>. // along with Cumulus. If not, see <http://www.gnu.org/licenses/>.
#[cfg(test)] #[cfg(test)]
mod tests { mod tests {
#[test] #[test]