Skip to content

Commit

Permalink
cargo: Consolidate CLN and VLS dependencies into workspace
Browse files Browse the repository at this point in the history
We are referencing a number of external git repos. We want them to
stay in sync, so move them to the workspace.
  • Loading branch information
cdecker committed Nov 17, 2023
1 parent 996278e commit 4785a7e
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

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

7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ members = [
[workspace.dependencies]
anyhow = "1"
env_logger = "0.10"
cln-grpc = {git = "https://github.com/cdecker/lightning.git", tag = "gl-20231113" }
cln-rpc = {git = "https://github.com/cdecker/lightning.git", tag = "gl-20231113" }
vls-core = { git="https://gitlab.com/cdecker/vls", tag="snapshot-20230920" }
vls-persist = { git="https://gitlab.com/cdecker/vls", tag="snapshot-20230920" }
vls-protocol-signer = { git="https://gitlab.com/cdecker/vls", tag="snapshot-20230920" }
vls-protocol = { git="https://gitlab.com/cdecker/vls", tag="snapshot-20230920" }


# Config for 'cargo dist'
[workspace.metadata.dist]
Expand Down
8 changes: 4 additions & 4 deletions libs/gl-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ tempfile = "3.3.0"
url = "2.4.0"
bitcoin = "^0"
serde = { version = "1", features = [ "derive" ] }
vls-core = { git="https://gitlab.com/cdecker/vls", tag="snapshot-20230920" }
vls-persist = { git="https://gitlab.com/cdecker/vls", tag="snapshot-20230920" }
vls-protocol-signer = { git="https://gitlab.com/cdecker/vls", tag="snapshot-20230920" }
vls-protocol = { git="https://gitlab.com/cdecker/vls", tag="snapshot-20230920" }
vls-core = { workspace = true }
vls-persist = { workspace = true }
vls-protocol-signer = { workspace = true }
vls-protocol = { workspace = true }
serde_json = "^1.0"
thiserror = "1"
cln-grpc = "^0.1"
Expand Down
7 changes: 5 additions & 2 deletions libs/gl-plugin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ anyhow = "*"
async-stream = "*"
bytes = { version = "1", features = ["serde"] }
clightningrpc = "*"
cln-grpc = {git = "https://github.com/cdecker/lightning.git", tag = "gl-20231113", features = ["server"] }
cln-rpc = {git = "https://github.com/cdecker/lightning.git", tag = "gl-20231113"}
cln-grpc = { workspace = true, features = ["server"] }
cln-rpc = { workspace = true }
#cln-grpc = {git = "https://github.com/cdecker/lightning.git", tag = "gl-20231113", features = ["server"] }
#cln-rpc = {git = "https://github.com/cdecker/lightning.git", tag = "gl-20231113"}
vls-protocol = { workspace = true }
cln-plugin = "^0.1"
env_logger = "^0.7.0"
futures = "0.3"
Expand Down

0 comments on commit 4785a7e

Please sign in to comment.