From 43a871c3f271304bf91dada75087b3dc66be4720 Mon Sep 17 00:00:00 2001 From: Luther Blissett Date: Sun, 30 Oct 2022 11:01:40 +0100 Subject: [PATCH] Update all Cargo.toml files to include AGPL license reference. --- bin/cashierd/Cargo.toml | 5 +++++ bin/dao/dao-cli/Cargo.toml | 5 +++++ bin/dao/daod/Cargo.toml | 5 +++++ bin/darkwiki/darkwiki-cli/Cargo.toml | 14 +------------- bin/fud/fu/Cargo.toml | 2 -- bin/fud/fud/Cargo.toml | 2 -- bin/ircd/Cargo.toml | 2 -- bin/ircd2/Cargo.toml | 2 -- bin/lilith/Cargo.toml | 2 -- bin/tau/tau-cli/Cargo.toml | 2 -- bin/tau/taud/Cargo.toml | 2 -- example/dao/Cargo.toml | 2 ++ example/p2pdebug/Cargo.toml | 1 + .../crypsinous/zk/plonk-by-hand/Cargo.toml | 3 ++- script/research/crypsinous_playground/Cargo.toml | 6 ++++-- script/research/dhtd/Cargo.toml | 2 ++ .../research/merkletree_null_benchmark/Cargo.toml | 8 ++++---- script/research/nodes-tool/Cargo.toml | 7 ++++--- script/research/pasta/Cargo.toml | 4 ++-- script/research/raft-diag/Cargo.toml | 6 ++---- script/research/state_usage_analyser/Cargo.toml | 6 ++++-- script/research/x3dh/Cargo.toml | 2 ++ 22 files changed, 45 insertions(+), 45 deletions(-) diff --git a/bin/cashierd/Cargo.toml b/bin/cashierd/Cargo.toml index 8d2649b66..41f0fb8fe 100644 --- a/bin/cashierd/Cargo.toml +++ b/bin/cashierd/Cargo.toml @@ -1,6 +1,11 @@ [package] name = "cashierd" version = "0.3.0" +homepage = "https://dark.fi" +description = "cashier daemon for DarkFi" +authors = ["darkfi "] +repository = "https://github.com/darkrenaissance/darkfi" +license = "AGPL-3.0-only" edition = "2021" [dependencies.darkfi] diff --git a/bin/dao/dao-cli/Cargo.toml b/bin/dao/dao-cli/Cargo.toml index a1f734e15..b73c3c9e7 100644 --- a/bin/dao/dao-cli/Cargo.toml +++ b/bin/dao/dao-cli/Cargo.toml @@ -1,6 +1,11 @@ [package] name = "dao" version = "0.3.0" +homepage = "https://dark.fi" +description = "CLI utility for interacting with daod" +authors = ["darkfi "] +repository = "https://github.com/darkrenaissance/darkfi" +license = "AGPL-3.0-only" edition = "2021" [dependencies.darkfi] diff --git a/bin/dao/daod/Cargo.toml b/bin/dao/daod/Cargo.toml index d4bd56f0e..fadb66360 100644 --- a/bin/dao/daod/Cargo.toml +++ b/bin/dao/daod/Cargo.toml @@ -1,6 +1,11 @@ [package] name = "daod" version = "0.3.0" +homepage = "https://dark.fi" +description = "DarkFi DAO daemon" +authors = ["darkfi "] +repository = "https://github.com/darkrenaissance/darkfi" +license = "AGPL-3.0-only" edition = "2021" [dependencies] diff --git a/bin/darkwiki/darkwiki-cli/Cargo.toml b/bin/darkwiki/darkwiki-cli/Cargo.toml index 63764d72b..e1fdc58fe 100644 --- a/bin/darkwiki/darkwiki-cli/Cargo.toml +++ b/bin/darkwiki/darkwiki-cli/Cargo.toml @@ -1,23 +1,16 @@ [package] name = "darkwiki" -description = "" +description = "CLI utility for interacting with darkwikid" version = "0.4.0" edition = "2021" authors = ["darkfi "] license = "AGPL-3.0-only" homepage = "https://dark.fi" repository = "https://github.com/darkrenaissance/darkfi" -keywords = [] -categories = [] - - - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] darkfi = {path = "../../../", features = ["rpc"]} - # Async smol = "1.2.5" async-std = {version = "1.12.0", features = ["attributes"]} @@ -35,8 +28,3 @@ url = "2.3.1" serde = {version = "1.0.145", features = ["derive"]} serde_json = "1.0.85" structopt = "0.3.26" - - - - - diff --git a/bin/fud/fu/Cargo.toml b/bin/fud/fu/Cargo.toml index c81f7fabf..e2b86da6b 100644 --- a/bin/fud/fu/Cargo.toml +++ b/bin/fud/fu/Cargo.toml @@ -7,8 +7,6 @@ authors = ["darkfi "] license = "AGPL-3.0-only" homepage = "https://dark.fi" repository = "https://github.com/darkrenaissance/darkfi" -keywords = [] -categories = [] [dependencies] darkfi = {path = "../../../", features = ["util", "rpc"]} diff --git a/bin/fud/fud/Cargo.toml b/bin/fud/fud/Cargo.toml index 0c047d7a9..252cee434 100644 --- a/bin/fud/fud/Cargo.toml +++ b/bin/fud/fud/Cargo.toml @@ -7,8 +7,6 @@ authors = ["darkfi "] license = "AGPL-3.0-only" homepage = "https://dark.fi" repository = "https://github.com/darkrenaissance/darkfi" -keywords = [] -categories = [] [dependencies] darkfi = {path = "../../../", features = ["dht", "rpc"]} diff --git a/bin/ircd/Cargo.toml b/bin/ircd/Cargo.toml index 18a4395c7..d81a8810a 100644 --- a/bin/ircd/Cargo.toml +++ b/bin/ircd/Cargo.toml @@ -7,8 +7,6 @@ authors = ["darkfi "] license = "AGPL-3.0-only" homepage = "https://dark.fi" repository = "https://github.com/darkrenaissance/darkfi" -keywords = [] -categories = [] [dependencies] darkfi = {path = "../../", features = ["net", "rpc", "bs58"]} diff --git a/bin/ircd2/Cargo.toml b/bin/ircd2/Cargo.toml index 18c9ff13d..5f81765d8 100644 --- a/bin/ircd2/Cargo.toml +++ b/bin/ircd2/Cargo.toml @@ -7,8 +7,6 @@ authors = ["darkfi "] license = "AGPL-3.0-only" homepage = "https://dark.fi" repository = "https://github.com/darkrenaissance/darkfi" -keywords = [] -categories = [] [dependencies] darkfi = {path = "../../", features = ["net", "rpc", "bs58"]} diff --git a/bin/lilith/Cargo.toml b/bin/lilith/Cargo.toml index fcbda5d25..daf4b3d5c 100644 --- a/bin/lilith/Cargo.toml +++ b/bin/lilith/Cargo.toml @@ -7,8 +7,6 @@ authors = ["darkfi "] license = "AGPL-3.0-only" homepage = "https://dark.fi" repository = "https://github.com/darkrenaissance/darkfi" -keywords = [] -categories = [] [dependencies] darkfi = {path = "../../", features = ["net", "rpc"]} diff --git a/bin/tau/tau-cli/Cargo.toml b/bin/tau/tau-cli/Cargo.toml index 7c8f69469..d72dbbfb4 100644 --- a/bin/tau/tau-cli/Cargo.toml +++ b/bin/tau/tau-cli/Cargo.toml @@ -7,8 +7,6 @@ authors = ["darkfi "] license = "AGPL-3.0-only" homepage = "https://dark.fi" repository = "https://github.com/darkrenaissance/darkfi" -keywords = [] -categories = ["command-line-utilities"] [dependencies] async-std = {version = "1.12.0", features = ["attributes"]} diff --git a/bin/tau/taud/Cargo.toml b/bin/tau/taud/Cargo.toml index 74622a992..b3386c676 100644 --- a/bin/tau/taud/Cargo.toml +++ b/bin/tau/taud/Cargo.toml @@ -7,8 +7,6 @@ authors = ["darkfi "] license = "AGPL-3.0-only" homepage = "https://dark.fi" repository = "https://github.com/darkrenaissance/darkfi" -keywords = [] -categories = [] [dependencies] darkfi = { path = "../../../", features = ["rpc", "raft", "net", "bs58"]} diff --git a/example/dao/Cargo.toml b/example/dao/Cargo.toml index 2d787c6a7..11c7a66a7 100644 --- a/example/dao/Cargo.toml +++ b/example/dao/Cargo.toml @@ -2,6 +2,8 @@ name = "dao" version = "0.3.0" edition = "2021" +authors = ["darkfi "] +license = "AGPL-3.0-only" [dependencies] darkfi = {path = "../../", features = ["rpc", "crypto", "tx", "node"]} diff --git a/example/p2pdebug/Cargo.toml b/example/p2pdebug/Cargo.toml index bf4440209..0bef95751 100644 --- a/example/p2pdebug/Cargo.toml +++ b/example/p2pdebug/Cargo.toml @@ -2,6 +2,7 @@ name = "p2pdebug" version = "0.3.0" homepage = "https://dark.fi" +authors = ["darkfi "] repository = "https://github.com/darkrenaissance/darkfi" license = "AGPL-3.0-only" edition = "2021" diff --git a/script/research/crypsinous/zk/plonk-by-hand/Cargo.toml b/script/research/crypsinous/zk/plonk-by-hand/Cargo.toml index 3b783fd9c..04b1da509 100644 --- a/script/research/crypsinous/zk/plonk-by-hand/Cargo.toml +++ b/script/research/crypsinous/zk/plonk-by-hand/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "plonkbyhand" version = "0.3.0" - +authors = ["darkfi "] +license = "AGPL-3.0-only" edition = "2021" [dependencies] diff --git a/script/research/crypsinous_playground/Cargo.toml b/script/research/crypsinous_playground/Cargo.toml index 4a1fe625d..9fd470b9d 100644 --- a/script/research/crypsinous_playground/Cargo.toml +++ b/script/research/crypsinous_playground/Cargo.toml @@ -1,8 +1,12 @@ [package] name = "crypsinous_playground" version = "0.1.0" +authors = ["darkfi "] +license = "AGPL-3.0-only" edition = "2021" +[workspace] + [dependencies] darkfi = {path = "../../../", features = ["crypto", "node"]} darkfi-sdk = {path = "../../../src/sdk"} @@ -30,5 +34,3 @@ blake3 = "1.3.1" log = "0.4.17" simplelog = "0.12.0" rand = "0.8.5" - -[workspace] diff --git a/script/research/dhtd/Cargo.toml b/script/research/dhtd/Cargo.toml index 387a20b1a..cdb238ab9 100644 --- a/script/research/dhtd/Cargo.toml +++ b/script/research/dhtd/Cargo.toml @@ -1,6 +1,8 @@ [package] name = "dhtd" version = "0.3.0" +authors = ["darkfi "] +license = "AGPL-3.0-only" edition = "2021" [dependencies.darkfi] diff --git a/script/research/merkletree_null_benchmark/Cargo.toml b/script/research/merkletree_null_benchmark/Cargo.toml index ee987d392..1a24d6f22 100644 --- a/script/research/merkletree_null_benchmark/Cargo.toml +++ b/script/research/merkletree_null_benchmark/Cargo.toml @@ -1,10 +1,13 @@ [package] name = "merkletree_null_benchmark" version = "0.1.0" +authors = ["darkfi "] +license = "AGPL-3.0-only" edition = "2021" -[dependencies] +[workspace] +[dependencies] darkfi = {path="../../../", features=["node"]} darkfi-sdk = {path="../../../src/sdk"} darkfi-serial = {path="../../../src/serial"} @@ -14,6 +17,3 @@ pasta_curves = "0.4.0" incrementalmerkletree = "0.3.0" serde_json = "1.0.87" - -[workspace] - diff --git a/script/research/nodes-tool/Cargo.toml b/script/research/nodes-tool/Cargo.toml index be14f9297..efda9d082 100644 --- a/script/research/nodes-tool/Cargo.toml +++ b/script/research/nodes-tool/Cargo.toml @@ -1,17 +1,18 @@ [package] name = "nodes-tool" version = "0.3.0" +authors = ["darkfi "] +license = "AGPL-3.0-only" edition = "2021" +[workspace] + [dependencies.darkfi] path = "../../../" features = ["blockchain", "node", "wallet"] [dependencies] - async-std = "1.12.0" blake3 = "1.3.1" serde = "1.0.145" sled = "0.34.7" - -[workspace] diff --git a/script/research/pasta/Cargo.toml b/script/research/pasta/Cargo.toml index 4764cbd1d..fde41c390 100644 --- a/script/research/pasta/Cargo.toml +++ b/script/research/pasta/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "pasta" version = "0.3.0" -authors = ["narodnik "] +authors = ["darkfi "] +license = "AGPL-3.0-only" edition = "2018" [workspace] @@ -15,4 +16,3 @@ rand = "0.8.5" [[bin]] name = "pasta" path = "main.rs" - diff --git a/script/research/raft-diag/Cargo.toml b/script/research/raft-diag/Cargo.toml index 04627b00f..d3fe6a1e6 100644 --- a/script/research/raft-diag/Cargo.toml +++ b/script/research/raft-diag/Cargo.toml @@ -1,9 +1,10 @@ [package] name = "raft-diag" version = "0.1.0" +authors = ["darkfi "] edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[workspace] [dependencies] darkfi = {path = "../../../", features = ["raft"]} @@ -34,6 +35,3 @@ structopt = "0.3.26" hex = "0.4.3" bs58 = "0.4.0" toml = "0.5.9" - -[workspace] - diff --git a/script/research/state_usage_analyser/Cargo.toml b/script/research/state_usage_analyser/Cargo.toml index e169d8021..b6117304a 100644 --- a/script/research/state_usage_analyser/Cargo.toml +++ b/script/research/state_usage_analyser/Cargo.toml @@ -1,8 +1,12 @@ [package] name = "state_usage_analyser" version = "0.3.0" +authors = ["darkfi "] +license = "AGPL-3.0-only" edition = "2021" +[workspace] + [dependencies] async-std = {version = "1.12.0", features = ["attributes"]} bincode = "2.0.0-rc.2" @@ -14,5 +18,3 @@ pasta_curves = "0.4.0" rand = "0.8.5" serde = {version = "1.0.145", features = ["derive"]} sled = "0.34.7" - -[workspace] diff --git a/script/research/x3dh/Cargo.toml b/script/research/x3dh/Cargo.toml index 3857e2a88..2214120eb 100644 --- a/script/research/x3dh/Cargo.toml +++ b/script/research/x3dh/Cargo.toml @@ -1,6 +1,8 @@ [package] name = "x3dh" version = "0.1.0" +authors = ["darkfi "] +license = "AGPL-3.0-only" edition = "2021" [workspace]