Add workspace support for all crates

This commit is contained in:
Ignotus Peverell 2017-04-05 23:41:49 -07:00
parent f16c4ac59b
commit 382754e54c
No known key found for this signature in database
GPG key ID: 99CD25F39F8F8211
9 changed files with 32 additions and 0 deletions

7
Cargo.toml Normal file
View file

@ -0,0 +1,7 @@
[package]
name = "grin"
version = "0.1.0"
authors = ["Ignotus Peverell <igno.peverell@protonmail.com>"]
[workspace]
members = ["api", "chain", "core", "grin", "p2p", "store", "util"]

View file

@ -2,6 +2,7 @@
name = "grin_api"
version = "0.1.0"
authors = ["Ignotus Peverell <igno.peverell@protonmail.com>"]
workspace = ".."
[dependencies]
grin_chain = { path = "../chain" }

View file

@ -2,6 +2,7 @@
name = "grin_chain"
version = "0.1.0"
authors = ["Ignotus Peverell <igno.peverell@protonmail.com>"]
workspace = ".."
[dependencies]
bitflags = "^0.7.0"

View file

@ -2,6 +2,7 @@
name = "grin_core"
version = "0.1.0"
authors = ["Ignotus Peverell <igno.peverell@protonmail.com>"]
workspace = ".."
[dependencies]
bitflags = "~0.7.0"

View file

@ -2,6 +2,7 @@
name = "grin_grin"
version = "0.1.0"
authors = ["Ignotus Peverell <igno.peverell@protonmail.com>"]
workspace = ".."
[dependencies]
grin_api = { path = "../api" }

View file

@ -2,6 +2,7 @@
name = "grin_p2p"
version = "0.1.0"
authors = ["Ignotus Peverell <igno.peverell@protonmail.com>"]
workspace = ".."
[dependencies]
bitflags = "^0.7.0"

18
src/bin/node.rs Normal file
View file

@ -0,0 +1,18 @@
// Copyright 2016 The Grin Developers
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//! Main for building the binary of a Grin peer-to-peer node.
fn main() {
}

View file

@ -2,6 +2,7 @@
name = "grin_store"
version = "0.1.0"
authors = ["Ignotus Peverell <igno.peverell@protonmail.com>"]
workspace = ".."
[dependencies]
byteorder = "^0.5"

View file

@ -2,3 +2,4 @@
name = "grin_util"
version = "0.1.0"
authors = ["Ignotus Peverell <igno.peverell@protonmail.com>"]
workspace = ".."