mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-20 19:11:08 +03:00
Add workspace support for all crates
This commit is contained in:
parent
f16c4ac59b
commit
382754e54c
9 changed files with 32 additions and 0 deletions
7
Cargo.toml
Normal file
7
Cargo.toml
Normal 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"]
|
|
@ -2,6 +2,7 @@
|
|||
name = "grin_api"
|
||||
version = "0.1.0"
|
||||
authors = ["Ignotus Peverell <igno.peverell@protonmail.com>"]
|
||||
workspace = ".."
|
||||
|
||||
[dependencies]
|
||||
grin_chain = { path = "../chain" }
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
name = "grin_chain"
|
||||
version = "0.1.0"
|
||||
authors = ["Ignotus Peverell <igno.peverell@protonmail.com>"]
|
||||
workspace = ".."
|
||||
|
||||
[dependencies]
|
||||
bitflags = "^0.7.0"
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
name = "grin_core"
|
||||
version = "0.1.0"
|
||||
authors = ["Ignotus Peverell <igno.peverell@protonmail.com>"]
|
||||
workspace = ".."
|
||||
|
||||
[dependencies]
|
||||
bitflags = "~0.7.0"
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
name = "grin_grin"
|
||||
version = "0.1.0"
|
||||
authors = ["Ignotus Peverell <igno.peverell@protonmail.com>"]
|
||||
workspace = ".."
|
||||
|
||||
[dependencies]
|
||||
grin_api = { path = "../api" }
|
||||
|
|
|
@ -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
18
src/bin/node.rs
Normal 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() {
|
||||
}
|
|
@ -2,6 +2,7 @@
|
|||
name = "grin_store"
|
||||
version = "0.1.0"
|
||||
authors = ["Ignotus Peverell <igno.peverell@protonmail.com>"]
|
||||
workspace = ".."
|
||||
|
||||
[dependencies]
|
||||
byteorder = "^0.5"
|
||||
|
|
|
@ -2,3 +2,4 @@
|
|||
name = "grin_util"
|
||||
version = "0.1.0"
|
||||
authors = ["Ignotus Peverell <igno.peverell@protonmail.com>"]
|
||||
workspace = ".."
|
||||
|
|
Loading…
Reference in a new issue