Skip to content

Commit ec136e5

Browse files
committed
f rename to ldk-macros
1 parent 3fcf72b commit ec136e5

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ members = [
1818
"lightning-dns-resolver",
1919
"lightning-liquidity",
2020
"possiblyrandom",
21-
"ext-test-macro",
21+
"ldk-macros",
2222
]
2323

2424
exclude = [

ext-test-macro/Cargo.toml renamed to ldk-macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "ext-test-macro"
2+
name = "ldk-macros"
33
version = "0.1.0"
44
edition = "2021"
55

ext-test-macro/src/lib.rs renamed to ldk-macros/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use syn::{parse_macro_input, Item};
88
///
99
/// For example:
1010
/// ```rust
11-
/// use ext_test_macro::xtest;
11+
/// use ldk_macros::xtest;
1212
///
1313
/// fn f1() {}
1414
///
@@ -21,7 +21,7 @@ use syn::{parse_macro_input, Item};
2121
/// May also be applied to modules, like so:
2222
///
2323
/// ```rust
24-
/// use ext_test_macro::xtest;
24+
/// use ldk_macros::xtest;
2525
///
2626
/// #[xtest(feature = "_test_utils")]
2727
/// pub mod tests {

lightning/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ rustdoc-args = ["--cfg", "docsrs"]
1717

1818
[features]
1919
# Internal test utilities exposed to other repo crates
20-
_test_utils = ["regex", "bitcoin/bitcoinconsensus", "ext-test-macro", "lightning-types/_test_utils", "inventory", "delegate"]
20+
_test_utils = ["regex", "bitcoin/bitcoinconsensus", "ldk-macros", "lightning-types/_test_utils", "inventory", "delegate"]
2121
# Allow signing of local transactions that may have been revoked or will be revoked, for functional testing (e.g. justice tx handling).
2222
# This is unsafe to use in production because it may result in the counterparty publishing taking our funds.
2323
unsafe_revoked_tx_signing = []
@@ -47,13 +47,13 @@ backtrace = { version = "0.3", optional = true }
4747

4848
libm = { version = "0.2", default-features = false }
4949
delegate = { version = "0.12.0", optional = true }
50-
ext-test-macro = { path = "../ext-test-macro", optional = true }
50+
ldk-macros = { path = "../ldk-macros", optional = true }
5151
inventory = { version = "0.3", optional = true }
5252

5353
[dev-dependencies]
5454
regex = "1.5.6"
5555
lightning-types = { version = "0.1.0", path = "../lightning-types", features = ["_test_utils"] }
56-
ext-test-macro = { path = "../ext-test-macro" }
56+
ldk-macros = { path = "../ldk-macros" }
5757
delegate = { version = "0.12.0" }
5858

5959
[dev-dependencies.bitcoin]

lightning/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,4 @@ extern crate backtrace;
144144
mod sync;
145145

146146
#[cfg(feature = "_test_utils")]
147-
ext_test_macro::xtest_inventory!();
147+
ldk_macros::xtest_inventory!();

lightning/src/ln/functional_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ use alloc::collections::BTreeSet;
5757
use core::iter::repeat;
5858
use bitcoin::hashes::Hash;
5959
use crate::sync::{Arc, Mutex, RwLock};
60-
use ext_test_macro::xtest;
60+
use ldk_macros::xtest;
6161

6262
use crate::ln::functional_test_utils::*;
6363
use crate::ln::chan_utils::CommitmentTransaction;

0 commit comments

Comments
 (0)