Skip to content

Commit 5b5e2a0

Browse files
author
Conor Okus
committed
Create seperate workspace for examples
1 parent 8440169 commit 5b5e2a0

File tree

4 files changed

+12
-15
lines changed

4 files changed

+12
-15
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ lightning-c-bindings/a.out
88
Cargo.lock
99
.idea
1010
lightning/target
11+
/examples/Cargo.lock
12+
/examples/target

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ members = [
77
"lightning-net-tokio",
88
"lightning-persister",
99
"lightning-background-processor",
10-
"examples/*"
1110
]
1211

1312
# Our tests do actual crypo and lots of work, the tradeoff for -O1 is well worth it.

examples/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[workspace]
2+
members = [
3+
"bitcoind-rpc-client"
4+
]
Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,21 @@
11
[package]
22
name = "bitcoind-rpc-client"
3-
version = "0.1.0"
4-
authors = ["Conor Okus <conor@squarecrypto.org>"]
5-
license = "MIT OR Apache-2.0"
3+
version = "0.0.0"
4+
workspace = "../"
5+
edition = "2018"
66

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

99
[dependencies]
10-
lightning = { version = "0.0.104" }
11-
lightning-block-sync = { version = "0.0.104", features = ["rpc-client"]}
12-
lightning-net-tokio = { version = "0.0.104" }
10+
lightning = { path = "../../lightning" }
11+
lightning-block-sync = { path = "../../lightning-block-sync", features = ["rpc-client"]}
12+
lightning-net-tokio = { path = "../../lightning-net-tokio" }
1313

1414
base64 = { version = "0.13.0" }
1515
bitcoin = { version = "0.27.1" }
1616
bitcoin-bech32 = { version = "0.12.1" }
1717
bech32 = { version = "0.8.1" }
1818
hex = { version = "0.4.3" }
19-
2019
serde_json = { version = "1.0.73" }
2120
tokio = { version = "1.14.0", features = [ "io-util", "macros", "rt", "rt-multi-thread", "sync", "net", "time" ] }
2221

23-
[profile.release]
24-
panic = "abort"
25-
26-
[profile.dev]
27-
panic = "abort"
28-
29-

0 commit comments

Comments
 (0)