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 40416bb
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Description of the upcoming release here.

### Added

- [#1426](https://github.com/FuelLabs/fuel-core/pull/1426) Split keygen into a create and a binary
- [#1411](https://github.com/FuelLabs/fuel-core/pull/1411) Added WASM and `no_std` compatibility
- [#1371](https://github.com/FuelLabs/fuel-core/pull/1371): Add new client function for querying the `MessageStatus` for a specific message (by `Nonce`)
- [#1356](https://github.com/FuelLabs/fuel-core/pull/1356): Add peer reputation reporting to heartbeat code
Expand Down
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 @@ -12,6 +12,4 @@ description = "Command line utilities for fuel-core key management"
[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"] }
fuel-core-keygen = { workspace = true }
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 }
version = { workspace = true }
edition = { workspace = true }
homepage = { workspace = true }
keywords = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
description = "Create to create command line utilities for fuel-core key management"
# 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 40416bb

Please sign in to comment.