From 00550bac19d6878630ba52df74dc6d0cc3d8945a Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Mon, 8 Mar 2021 18:48:24 -0500 Subject: [PATCH 1/2] Rename `background-processor` to `lightning-background-processor` This matches our naming scheme better and fits better on crates.io. Also drop the version to 0.0.1 to match our versioning scheme better. --- background-processor/Cargo.toml | 4 ++-- background-processor/src/lib.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/background-processor/Cargo.toml b/background-processor/Cargo.toml index 1a4dc488436..84fb7919f1c 100644 --- a/background-processor/Cargo.toml +++ b/background-processor/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "background-processor" -version = "0.1.0" +name = "lightning-background-processor" +version = "0.0.1" authors = ["Valentine Wallace "] edition = "2018" diff --git a/background-processor/src/lib.rs b/background-processor/src/lib.rs index 1976962bea6..f6c2dbfcae0 100644 --- a/background-processor/src/lib.rs +++ b/background-processor/src/lib.rs @@ -268,7 +268,7 @@ mod tests { loop { let log_entries = nodes[0].logger.lines.lock().unwrap(); let desired_log = "Calling manager's timer_chan_freshness_every_min".to_string(); - if log_entries.get(&("background_processor".to_string(), desired_log)).is_some() { + if log_entries.get(&("lightning_background_processor".to_string(), desired_log)).is_some() { break } } From d65d7e725700818da80aa2af45b718320c2e4de7 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Mon, 8 Mar 2021 18:50:35 -0500 Subject: [PATCH 2/2] Bump versions to 0.0.13 across the board We also skip having different versions for different subcrates, since that is confusing. --- background-processor/Cargo.toml | 8 ++++---- lightning-block-sync/Cargo.toml | 4 ++-- lightning-net-tokio/Cargo.toml | 4 ++-- lightning-persister/Cargo.toml | 6 +++--- lightning/Cargo.toml | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/background-processor/Cargo.toml b/background-processor/Cargo.toml index 84fb7919f1c..9870ef291ed 100644 --- a/background-processor/Cargo.toml +++ b/background-processor/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightning-background-processor" -version = "0.0.1" +version = "0.0.13" authors = ["Valentine Wallace "] edition = "2018" @@ -8,8 +8,8 @@ edition = "2018" [dependencies] bitcoin = "0.26" -lightning = { version = "0.0.12", path = "../lightning", features = ["allow_wallclock_use"] } -lightning-persister = { version = "0.0.1", path = "../lightning-persister" } +lightning = { version = "0.0.13", path = "../lightning", features = ["allow_wallclock_use"] } +lightning-persister = { version = "0.0.13", path = "../lightning-persister" } [dev-dependencies] -lightning = { version = "0.0.12", path = "../lightning", features = ["_test_utils"] } +lightning = { version = "0.0.13", path = "../lightning", features = ["_test_utils"] } diff --git a/lightning-block-sync/Cargo.toml b/lightning-block-sync/Cargo.toml index c454de395e2..968e500ef49 100644 --- a/lightning-block-sync/Cargo.toml +++ b/lightning-block-sync/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightning-block-sync" -version = "0.0.1" +version = "0.0.13" authors = ["Jeffrey Czyz", "Matt Corallo"] license = "Apache-2.0" edition = "2018" @@ -14,7 +14,7 @@ rpc-client = [ "serde", "serde_json", "chunked_transfer" ] [dependencies] bitcoin = "0.26" -lightning = { version = "0.0.12", path = "../lightning" } +lightning = { version = "0.0.13", path = "../lightning" } tokio = { version = "1.0", features = [ "io-util", "net" ], optional = true } serde = { version = "1.0", features = ["derive"], optional = true } serde_json = { version = "1.0", optional = true } diff --git a/lightning-net-tokio/Cargo.toml b/lightning-net-tokio/Cargo.toml index 587fe1b12a9..2a6f3daee2f 100644 --- a/lightning-net-tokio/Cargo.toml +++ b/lightning-net-tokio/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightning-net-tokio" -version = "0.0.5" +version = "0.0.13" authors = ["Matt Corallo"] license = "Apache-2.0" edition = "2018" @@ -11,7 +11,7 @@ For Rust-Lightning clients which wish to make direct connections to Lightning P2 [dependencies] bitcoin = "0.26" -lightning = { version = "0.0.12", path = "../lightning" } +lightning = { version = "0.0.13", path = "../lightning" } tokio = { version = "1.0", features = [ "io-util", "macros", "rt", "sync", "net", "time" ] } [dev-dependencies] diff --git a/lightning-persister/Cargo.toml b/lightning-persister/Cargo.toml index fa71dc0d4dd..8eb889dd0d2 100644 --- a/lightning-persister/Cargo.toml +++ b/lightning-persister/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightning-persister" -version = "0.0.1" +version = "0.0.13" authors = ["Valentine Wallace", "Matt Corallo"] license = "Apache-2.0" description = """ @@ -9,7 +9,7 @@ Utilities to manage channel data persistence and retrieval. [dependencies] bitcoin = "0.26" -lightning = { version = "0.0.12", path = "../lightning" } +lightning = { version = "0.0.13", path = "../lightning" } libc = "0.2" [target.'cfg(windows)'.dependencies] @@ -20,4 +20,4 @@ version = "0.26" features = ["bitcoinconsensus"] [dev-dependencies] -lightning = { version = "0.0.12", path = "../lightning", features = ["_test_utils"] } +lightning = { version = "0.0.13", path = "../lightning", features = ["_test_utils"] } diff --git a/lightning/Cargo.toml b/lightning/Cargo.toml index f02813bfd3c..dac35c70bf5 100644 --- a/lightning/Cargo.toml +++ b/lightning/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightning" -version = "0.0.12" +version = "0.0.13" authors = ["Matt Corallo"] license = "Apache-2.0" repository = "https://github.com/rust-bitcoin/rust-lightning/"