From eeec6fac5ccd635310c17b1f3ce33c162da75467 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 9 Mar 2021 16:51:14 -0500 Subject: [PATCH] Update licenses and add missing fields in Cargo.toml files --- background-processor/Cargo.toml | 7 +++++-- lightning-block-sync/Cargo.toml | 5 +++-- lightning-net-tokio/Cargo.toml | 5 +++-- lightning-persister/Cargo.toml | 5 +++-- lightning/Cargo.toml | 2 +- 5 files changed, 15 insertions(+), 9 deletions(-) diff --git a/background-processor/Cargo.toml b/background-processor/Cargo.toml index f626f850..89ac2168 100644 --- a/background-processor/Cargo.toml +++ b/background-processor/Cargo.toml @@ -2,10 +2,13 @@ name = "lightning-background-processor" version = "0.0.13" authors = ["Valentine Wallace "] +license = "MIT OR Apache-2.0" +repository = "http://github.com/rust-bitcoin/rust-lightning" +description = """ +Utilities to perform required background tasks for Rust Lightning. +""" edition = "2018" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] bitcoin = "0.26" lightning = { version = "0.0.13", path = "../lightning", features = ["allow_wallclock_use"] } diff --git a/lightning-block-sync/Cargo.toml b/lightning-block-sync/Cargo.toml index 968e500e..ac750bcc 100644 --- a/lightning-block-sync/Cargo.toml +++ b/lightning-block-sync/Cargo.toml @@ -2,11 +2,12 @@ name = "lightning-block-sync" version = "0.0.13" authors = ["Jeffrey Czyz", "Matt Corallo"] -license = "Apache-2.0" -edition = "2018" +license = "MIT OR Apache-2.0" +repository = "http://github.com/rust-bitcoin/rust-lightning" description = """ Utilities to fetch the chain data from a block source and feed them into Rust Lightning. """ +edition = "2018" [features] rest-client = [ "serde", "serde_json", "chunked_transfer" ] diff --git a/lightning-net-tokio/Cargo.toml b/lightning-net-tokio/Cargo.toml index 2a6f3dae..b5eba8a7 100644 --- a/lightning-net-tokio/Cargo.toml +++ b/lightning-net-tokio/Cargo.toml @@ -2,12 +2,13 @@ name = "lightning-net-tokio" version = "0.0.13" authors = ["Matt Corallo"] -license = "Apache-2.0" -edition = "2018" +license = "MIT OR Apache-2.0" +repository = "https://github.com/rust-bitcoin/rust-lightning/" description = """ Implementation of the rust-lightning network stack using Tokio. For Rust-Lightning clients which wish to make direct connections to Lightning P2P nodes, this is a simple alternative to implementing the required network stack, especially for those already using Tokio. """ +edition = "2018" [dependencies] bitcoin = "0.26" diff --git a/lightning-persister/Cargo.toml b/lightning-persister/Cargo.toml index 8eb889dd..0a9821f1 100644 --- a/lightning-persister/Cargo.toml +++ b/lightning-persister/Cargo.toml @@ -2,9 +2,10 @@ name = "lightning-persister" version = "0.0.13" authors = ["Valentine Wallace", "Matt Corallo"] -license = "Apache-2.0" +license = "MIT OR Apache-2.0" +repository = "https://github.com/rust-bitcoin/rust-lightning/" description = """ -Utilities to manage channel data persistence and retrieval. +Utilities to manage Rust-Lightning channel data persistence and retrieval. """ [dependencies] diff --git a/lightning/Cargo.toml b/lightning/Cargo.toml index dac35c70..da9ac51a 100644 --- a/lightning/Cargo.toml +++ b/lightning/Cargo.toml @@ -2,7 +2,7 @@ name = "lightning" version = "0.0.13" authors = ["Matt Corallo"] -license = "Apache-2.0" +license = "MIT OR Apache-2.0" repository = "https://github.com/rust-bitcoin/rust-lightning/" description = """ A Bitcoin Lightning library in Rust. -- 2.30.2