Cargo.toml (#818)

* Make sure no grin crates get published by mistake: https://doc.rust-lang.org/cargo/reference/manifest.html#the-publish--field-optional
* add missing workspace = '..', [workspace docs for interested readers](https://doc.rust-lang.org/cargo/reference/manifest.html#the-workspace-section)
* dev- or dev_ works equally well, but dev- is what's typically used
* authors = Grin Developers <maillist>
* [dependencies] keep grin-* at the end + readability
This commit is contained in:
Simon B 2018-03-20 19:21:29 +01:00 committed by Ignotus Peverell
parent 22106693f3
commit 4fa9ccc4f7
13 changed files with 71 additions and 54 deletions

View file

@ -1,8 +1,9 @@
[package] [package]
name = "grin" name = "grin"
version = "0.1.0" version = "0.1.0"
authors = ["Ignotus Peverell <igno.peverell@protonmail.com>"] authors = ["Grin Developers <mimblewimble@lists.launchpad.net>"]
exclude = ["**/*.grin", "**/*.grin2"] exclude = ["**/*.grin", "**/*.grin2"]
publish = false
[workspace] [workspace]
members = ["api", "chain", "config", "core", "grin", "keychain", "p2p", "store", "util", "pool", "wallet"] members = ["api", "chain", "config", "core", "grin", "keychain", "p2p", "store", "util", "pool", "wallet"]
@ -12,15 +13,6 @@ name = "grin"
path = "src/bin/grin.rs" path = "src/bin/grin.rs"
[dependencies] [dependencies]
grin_api = { path = "./api" }
grin_config = { path = "./config" }
grin_core = { path = "./core" }
grin_grin = { path = "./grin" }
grin_keychain = { path = "./keychain" }
grin_p2p = { path = "./p2p"}
grin_pow = { path = "./pow"}
grin_util = { path = "./util"}
grin_wallet = { path = "./wallet" }
blake2-rfc = "~0.2.17" blake2-rfc = "~0.2.17"
clap = "^2.23.3" clap = "^2.23.3"
daemonize = "^0.2.3" daemonize = "^0.2.3"
@ -30,6 +22,17 @@ slog = { version = "^2.0.12", features = ["max_level_trace", "release_max_level_
term = "~0.4.6" term = "~0.4.6"
time = "^0.1" time = "^0.1"
chrono = "^0.4.0" chrono = "^0.4.0"
grin_api = { path = "./api" }
grin_config = { path = "./config" }
grin_core = { path = "./core" }
grin_grin = { path = "./grin" }
grin_keychain = { path = "./keychain" }
grin_p2p = { path = "./p2p"}
grin_pow = { path = "./pow"}
grin_util = { path = "./util"}
grin_wallet = { path = "./wallet" }
#This is temporary until cursive author does a new release #This is temporary until cursive author does a new release
[dependencies.cursive] [dependencies.cursive]
git = "https://github.com/yeastplume/Cursive" git = "https://github.com/yeastplume/Cursive"

View file

@ -1,16 +1,11 @@
[package] [package]
name = "grin_api" name = "grin_api"
version = "0.1.0" version = "0.1.0"
authors = ["Ignotus Peverell <igno.peverell@protonmail.com>"] authors = ["Grin Developers <mimblewimble@lists.launchpad.net>"]
workspace = ".." workspace = ".."
publish = false
[dependencies] [dependencies]
grin_core = { path = "../core" }
grin_chain = { path = "../chain" }
grin_pool = { path = "../pool" }
grin_store = { path = "../store" }
grin_util = { path = "../util" }
grin_p2p = { path = "../p2p" }
hyper = "~0.10.6" hyper = "~0.10.6"
slog = { version = "^2.0.12", features = ["max_level_trace", "release_max_level_trace"] } slog = { version = "^2.0.12", features = ["max_level_trace", "release_max_level_trace"] }
lazy_static = "~0.2.8" lazy_static = "~0.2.8"
@ -22,3 +17,10 @@ urlencoded = "~0.5.0"
serde = "~1.0.8" serde = "~1.0.8"
serde_derive = "~1.0.8" serde_derive = "~1.0.8"
serde_json = "~1.0.9" serde_json = "~1.0.9"
grin_core = { path = "../core" }
grin_chain = { path = "../chain" }
grin_pool = { path = "../pool" }
grin_store = { path = "../store" }
grin_util = { path = "../util" }
grin_p2p = { path = "../p2p" }

View file

@ -1,8 +1,9 @@
[package] [package]
name = "grin_chain" name = "grin_chain"
version = "0.1.0" version = "0.1.0"
authors = ["Ignotus Peverell <igno.peverell@protonmail.com>"] authors = ["Grin Developers <mimblewimble@lists.launchpad.net>"]
workspace = ".." workspace = ".."
publish = false
[dependencies] [dependencies]
bitflags = "^1.0" bitflags = "^1.0"

View file

@ -1,8 +1,9 @@
[package] [package]
name = "grin_config" name = "grin_config"
version = "0.1.0" version = "0.1.0"
authors = [" yeastplume"] authors = ["Grin Developers <mimblewimble@lists.launchpad.net>"]
workspace = ".." workspace = ".."
publish = false
[dependencies] [dependencies]
serde = "~1.0.8" serde = "~1.0.8"

View file

@ -1,8 +1,9 @@
[package] [package]
name = "grin_core" name = "grin_core"
version = "0.1.0" version = "0.1.0"
authors = ["Ignotus Peverell <igno.peverell@protonmail.com>"] authors = ["Grin Developers <mimblewimble@lists.launchpad.net>"]
workspace = ".." workspace = ".."
publish = false
[dependencies] [dependencies]
bitflags = "^1.0" bitflags = "^1.0"
@ -16,5 +17,6 @@ serde_derive = "~1.0.8"
siphasher = "~0.1" siphasher = "~0.1"
time = "^0.1" time = "^0.1"
lazy_static = "~0.2.8" lazy_static = "~0.2.8"
grin_keychain = { path = "../keychain" } grin_keychain = { path = "../keychain" }
grin_util = { path = "../util" } grin_util = { path = "../util" }

View file

@ -1,10 +1,21 @@
[package] [package]
name = "grin_grin" name = "grin_grin"
version = "0.1.0" version = "0.1.0"
authors = ["Ignotus Peverell <igno.peverell@protonmail.com>"] authors = ["Grin Developers <mimblewimble@lists.launchpad.net>"]
workspace = ".." workspace = ".."
publish = false
[dependencies] [dependencies]
hyper = "~0.10.6"
slog = { version = "^2.0.12", features = ["max_level_trace", "release_max_level_trace"] }
time = "^0.1"
serde = "~1.0.8"
serde_derive = "~1.0.8"
serde_json = "~1.0.8"
rand = "^0.3"
router = "~0.5.1"
itertools = "~0.6.0"
grin_api = { path = "../api" } grin_api = { path = "../api" }
grin_chain = { path = "../chain" } grin_chain = { path = "../chain" }
grin_core = { path = "../core" } grin_core = { path = "../core" }
@ -16,16 +27,6 @@ grin_keychain = { path = "../keychain" }
grin_wallet = { path = "../wallet" } grin_wallet = { path = "../wallet" }
grin_pow = { path = "../pow" } grin_pow = { path = "../pow" }
hyper = "~0.10.6" [dev-dependencies]
slog = { version = "^2.0.12", features = ["max_level_trace", "release_max_level_trace"] }
time = "^0.1"
serde = "~1.0.8"
serde_derive = "~1.0.8"
serde_json = "~1.0.8"
rand = "^0.3"
router = "~0.5.1"
itertools = "~0.6.0"
[dev_dependencies]
blake2-rfc = "~0.2.17" blake2-rfc = "~0.2.17"
grin_config = { path = "../config" } grin_config = { path = "../config" }

View file

@ -1,7 +1,9 @@
[package] [package]
name = "grin_keychain" name = "grin_keychain"
version = "0.1.0" version = "0.1.0"
authors = ["Antioch Peverell"] authors = ["Grin Developers <mimblewimble@lists.launchpad.net>"]
workspace = '..'
publish = false
[dependencies] [dependencies]
byteorder = "^1.0" byteorder = "^1.0"
@ -12,4 +14,5 @@ slog = { version = "^2.0.12", features = ["max_level_trace", "release_max_level_
serde = "~1.0.8" serde = "~1.0.8"
serde_derive = "~1.0.8" serde_derive = "~1.0.8"
serde_json = "~1.0.8" serde_json = "~1.0.8"
grin_util = { path = "../util" } grin_util = { path = "../util" }

View file

@ -1,8 +1,9 @@
[package] [package]
name = "grin_p2p" name = "grin_p2p"
version = "0.1.0" version = "0.1.0"
authors = ["Ignotus Peverell <igno.peverell@protonmail.com>"] authors = ["Grin Developers <mimblewimble@lists.launchpad.net>"]
workspace = ".." workspace = ".."
publish = false
[dependencies] [dependencies]
bitflags = "^1.0" bitflags = "^1.0"

View file

@ -1,15 +1,18 @@
[package] [package]
name = "grin_pool" name = "grin_pool"
version = "0.1.0" version = "0.1.0"
authors = ["Grin Authors <mimblewimble@lists.launchpad.net>"] authors = ["Grin Developers <mimblewimble@lists.launchpad.net>"]
workspace = '..'
publish = false
[dependencies] [dependencies]
blake2-rfc = "~0.2.17" blake2-rfc = "~0.2.17"
grin_core = { path = "../core" }
grin_keychain = { path = "../keychain" }
grin_util = { path = "../util" }
serde = "~1.0.8" serde = "~1.0.8"
serde_derive = "~1.0.8" serde_derive = "~1.0.8"
slog = { version = "^2.0.12", features = ["max_level_trace", "release_max_level_trace"] } slog = { version = "^2.0.12", features = ["max_level_trace", "release_max_level_trace"] }
time = "^0.1" time = "^0.1"
rand = "^0.3" rand = "^0.3"
grin_core = { path = "../core" }
grin_keychain = { path = "../keychain" }
grin_util = { path = "../util" }

View file

@ -1,8 +1,9 @@
[package] [package]
name = "grin_pow" name = "grin_pow"
version = "0.1.0" version = "0.1.0"
authors = ["Ignotus Peverell <igno.peverell@protonmail.com>"] authors = ["Grin Developers <mimblewimble@lists.launchpad.net>"]
workspace = ".." workspace = ".."
publish = false
[dependencies] [dependencies]
blake2-rfc = "~0.2.17" blake2-rfc = "~0.2.17"

View file

@ -1,8 +1,9 @@
[package] [package]
name = "grin_store" name = "grin_store"
version = "0.1.0" version = "0.1.0"
authors = ["Ignotus Peverell <igno.peverell@protonmail.com>"] authors = ["Grin Developers <mimblewimble@lists.launchpad.net>"]
workspace = ".." workspace = ".."
publish = false
[dependencies] [dependencies]
byteorder = "^1.0" byteorder = "^1.0"

View file

@ -1,9 +1,9 @@
[package] [package]
name = "grin_util" name = "grin_util"
version = "0.1.0" version = "0.1.0"
authors = ["Ignotus Peverell <igno.peverell@protonmail.com>", authors = ["Grin Developers <mimblewimble@lists.launchpad.net>"]
"Yeastplume <yeastplume@protonmail.com>"]
workspace = ".." workspace = ".."
publish = false
[dependencies] [dependencies]
slog = { version = "^2.0.12", features = ["max_level_trace", "release_max_level_trace"] } slog = { version = "^2.0.12", features = ["max_level_trace", "release_max_level_trace"] }

View file

@ -1,14 +1,11 @@
[package] [package]
name = "grin_wallet" name = "grin_wallet"
version = "0.1.0" version = "0.1.0"
authors = [ authors = ["Grin Developers <mimblewimble@lists.launchpad.net>"]
"Ignotus Peverell <igno_peverell@protonmail.com>", workspace = '..'
"Laurent Meunier <laurent.meunier95@gmail.com>", publish = false
"Antioch Peverell",
]
[dependencies] [dependencies]
byteorder = "^1.0" byteorder = "^1.0"
slog = { version = "^2.0.12", features = ["max_level_trace", "release_max_level_trace"] } slog = { version = "^2.0.12", features = ["max_level_trace", "release_max_level_trace"] }
rand = "^0.3" rand = "^0.3"
@ -29,6 +26,7 @@ prettytable-rs = "^0.6"
term = "~0.4.6" term = "~0.4.6"
uuid = { version = "~0.5.1", features = ["serde", "v4"] } uuid = { version = "~0.5.1", features = ["serde", "v4"] }
urlencoded = "~0.5.0" urlencoded = "~0.5.0"
grin_api = { path = "../api" } grin_api = { path = "../api" }
grin_core = { path = "../core" } grin_core = { path = "../core" }
grin_keychain = { path = "../keychain" } grin_keychain = { path = "../keychain" }