Skip to content

Commit

Permalink
Split keygen into a create and a binary
Browse files Browse the repository at this point in the history
Split so it can be inherited from other binaries FuelLabs/sway#5170
  • Loading branch information
cr-fuel committed Oct 17, 2023
1 parent ff7cf60 commit 95279d6
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 5 deletions.
9 changes: 9 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ members = [
"crates/client",
"crates/database",
"crates/fuel-core",
"crates/keygen",
"crates/metrics",
"crates/services",
"crates/services/consensus_module",
Expand Down Expand Up @@ -52,7 +53,8 @@ version = "0.20.4"
fuel-core = { version = "0.20.4", path = "./crates/fuel-core", default-features = false }
fuel-core-client-bin = { version = "0.20.4", path = "./bin/client" }
fuel-core-bin = { version = "0.20.4", path = "./bin/fuel-core" }
fuel-core-keygen = { version = "0.20.4", path = "./bin/keygen" }
fuel-core-keygen = { version = "0.20.4", path = "./crates/keygen" }
fuel-core-keygen-bin = { version = "0.20.4", path = "./bin/keygen" }
fuel-core-chain-config = { version = "0.20.4", path = "./crates/chain-config" }
fuel-core-client = { version = "0.20.4", path = "./crates/client" }
fuel-core-database = { version = "0.20.4", path = "./crates/database" }
Expand Down
6 changes: 2 additions & 4 deletions bin/keygen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "fuel-core-keygen"
name = "fuel-core-keygen-bin"
version = { workspace = true }
edition = { workspace = true }
homepage = { workspace = true }
Expand All @@ -11,7 +11,5 @@ description = "Command line utilities for fuel-core key management"

[dependencies]
anyhow = { workspace = true }
fuel-core-keygen = { workspace = true }
clap = { workspace = true, features = ["derive", "env"] }
fuel-core-types = { workspace = true, features = ["serde", "random"] }
libp2p-identity = { version = "0.2.4", features = ["secp256k1", "peerid"] }
serde_json = { workspace = true, features = ["raw_value"] }
19 changes: 19 additions & 0 deletions crates/keygen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[package]
name = "fuel-core-keygen"
authors.workspace = true
categories.workspace = true
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true
version.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = { workspace = true }
clap = { workspace = true, features = ["derive", "env"] }
fuel-core-types = { workspace = true, features = ["serde", "random"] }
libp2p-identity = { version = "0.2.4", features = ["secp256k1", "peerid"] }
serde_json = { workspace = true, features = ["raw_value"] }
File renamed without changes.
File renamed without changes.

0 comments on commit 95279d6

Please sign in to comment.