From ce2f0850e98fe44915c3aaef3981d19775201beb Mon Sep 17 00:00:00 2001 From: bit-aloo Date: Thu, 10 Oct 2024 16:03:13 +0530 Subject: [PATCH] remove metadata from root cargo.toml --- examples/interop-cpp/Cargo.toml | 2 +- examples/ping-pong-with-noise/Cargo.toml | 2 +- examples/ping-pong-without-noise/Cargo.toml | 2 +- protocols/Cargo.toml | 13 ------------- protocols/fuzz-tests/Cargo.toml | 5 +++++ protocols/v1/Cargo.toml | 8 ++++++-- protocols/v2/binary-sv2/binary-sv2/Cargo.toml | 8 ++++++-- .../v2/binary-sv2/no-serde-sv2/codec/Cargo.toml | 8 ++++++-- .../binary-sv2/no-serde-sv2/derive_codec/Cargo.toml | 8 ++++++-- protocols/v2/binary-sv2/serde-sv2/Cargo.toml | 8 ++++++-- protocols/v2/codec-sv2/Cargo.toml | 8 ++++++-- protocols/v2/const-sv2/Cargo.toml | 8 ++++++-- protocols/v2/framing-sv2/Cargo.toml | 8 ++++++-- protocols/v2/noise-sv2/Cargo.toml | 8 ++++++-- protocols/v2/roles-logic-sv2/Cargo.toml | 7 ++++++- .../v2/subprotocols/common-messages/Cargo.toml | 8 ++++++-- .../v2/subprotocols/job-declaration/Cargo.toml | 8 ++++++-- protocols/v2/subprotocols/mining/Cargo.toml | 8 ++++++-- .../subprotocols/template-distribution/Cargo.toml | 8 ++++++-- protocols/v2/sv2-ffi/Cargo.toml | 8 ++++++-- roles/Cargo.toml | 13 ------------- roles/jd-client/Cargo.toml | 9 +++++++-- roles/jd-server/Cargo.toml | 9 ++++++++- roles/mining-proxy/Cargo.toml | 9 +++++++-- roles/pool/Cargo.toml | 8 +++++++- roles/roles-utils/network-helpers/Cargo.toml | 9 +++++++-- roles/roles-utils/rpc/Cargo.toml | 9 ++++++++- roles/test-utils/mining-device/Cargo.toml | 8 ++++++++ roles/test-utils/sv1-mining-device/Cargo.toml | 7 +++++++ roles/tests-integration/Cargo.toml | 7 +++++++ roles/translator/Cargo.toml | 7 ++++++- utils/Cargo.toml | 13 ------------- utils/bip32-key-derivation/Cargo.toml | 7 ++++++- utils/buffer/Cargo.toml | 8 ++++++-- utils/error-handling/Cargo.toml | 7 ++++++- utils/key-utils/Cargo.toml | 7 ++++++- utils/message-generator/Cargo.toml | 8 ++++++++ 37 files changed, 202 insertions(+), 86 deletions(-) diff --git a/examples/interop-cpp/Cargo.toml b/examples/interop-cpp/Cargo.toml index 6bd1d959cb..f6f192d79e 100644 --- a/examples/interop-cpp/Cargo.toml +++ b/examples/interop-cpp/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "interop-cpp" version = "0.1.0" -authors = ["fi3 "] +authors = ["The Stratum V2 Developers"] edition = "2018" publish = false diff --git a/examples/ping-pong-with-noise/Cargo.toml b/examples/ping-pong-with-noise/Cargo.toml index b1220bce7d..760f89eced 100644 --- a/examples/ping-pong-with-noise/Cargo.toml +++ b/examples/ping-pong-with-noise/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "ping_pong_with_noise" version = "0.1.0" -authors = ["fi3 "] +authors = ["The Stratum V2 Developers"] edition = "2018" publish = false diff --git a/examples/ping-pong-without-noise/Cargo.toml b/examples/ping-pong-without-noise/Cargo.toml index 5619bfa4bb..9f5c90c584 100644 --- a/examples/ping-pong-without-noise/Cargo.toml +++ b/examples/ping-pong-without-noise/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "ping_pong_without_noise" version = "0.1.0" -authors = ["fi3 "] +authors = ["The Stratum V2 Developers"] edition = "2018" publish = false diff --git a/protocols/Cargo.toml b/protocols/Cargo.toml index d1f21ca36d..2af4c9c982 100644 --- a/protocols/Cargo.toml +++ b/protocols/Cargo.toml @@ -1,16 +1,3 @@ -name = "stratum_v2_protocols" -version = "1.0.0" -authors = ["The Stratum v2 Developers"] -edition = "2021" -description = "The Stratum protocol defines how miners, proxies, and pools communicate to contribute hashrate to the Bitcoin network. Stratum v2 is a robust set of primitives which anyone can use to expand the protocol or implement a role." -documentation = "https://github.com/stratum-mining/stratum" -readme = "README.md" -homepage = "https://stratumprotocol.org" -repository = "https://github.com/stratum-mining/stratum" -license = "MIT + Apache-2.0" -license-file = "LICENSE.md" -keywords = ["stratum", "mining", "bitcoin", "protocol"] - [workspace] resolver="2" diff --git a/protocols/fuzz-tests/Cargo.toml b/protocols/fuzz-tests/Cargo.toml index d29d588ce9..52e34dfef1 100644 --- a/protocols/fuzz-tests/Cargo.toml +++ b/protocols/fuzz-tests/Cargo.toml @@ -4,6 +4,11 @@ version = "1.0.0" edition = "2021" authors = ["Automatically generated"] publish = false +documentation = "https://github.com/stratum-mining/stratum" +license = "MIT + Apache-2.0" +repository = "https://github.com/stratum-mining/stratum" +homepage = "https://stratumprotocol.org" +keywords = ["stratum", "mining", "bitcoin", "protocol"] [package.metadata] cargo-fuzz = true diff --git a/protocols/v1/Cargo.toml b/protocols/v1/Cargo.toml index 0e7bd18267..bdea8d4937 100644 --- a/protocols/v1/Cargo.toml +++ b/protocols/v1/Cargo.toml @@ -1,11 +1,15 @@ [package] name = "sv1_api" version = "1.0.1" -authors = ["user"] +authors = ["The Stratum V2 Developers"] edition = "2018" +readme = "README.md" description = "API for bridging SV1 miners to SV2 pools" -license = "MIT OR Apache-2.0" +documentation = "https://docs.rs/sv1_api" +license = "MIT + Apache-2.0" repository = "https://github.com/stratum-mining/stratum" +homepage = "https://stratumprotocol.org" +keywords = ["stratum", "mining", "bitcoin", "protocol"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/protocols/v2/binary-sv2/binary-sv2/Cargo.toml b/protocols/v2/binary-sv2/binary-sv2/Cargo.toml index 922d491a21..d3882c01b2 100644 --- a/protocols/v2/binary-sv2/binary-sv2/Cargo.toml +++ b/protocols/v2/binary-sv2/binary-sv2/Cargo.toml @@ -1,11 +1,15 @@ [package] name = "binary_sv2" version = "1.2.0" -authors = ["fi3 "] +authors = ["The Stratum V2 Developers"] edition = "2018" +readme = "README.md" description = "Sv2 data format" -license = "MIT" +documentation = "https://docs.rs/binary_sv2" +license = "MIT + Apache-2.0" repository = "https://github.com/stratum-mining/stratum" +homepage = "https://stratumprotocol.org" +keywords = ["stratum", "mining", "bitcoin", "protocol"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/protocols/v2/binary-sv2/no-serde-sv2/codec/Cargo.toml b/protocols/v2/binary-sv2/no-serde-sv2/codec/Cargo.toml index 5394f336cc..77894f4e69 100644 --- a/protocols/v2/binary-sv2/no-serde-sv2/codec/Cargo.toml +++ b/protocols/v2/binary-sv2/no-serde-sv2/codec/Cargo.toml @@ -1,11 +1,15 @@ [package] name = "binary_codec_sv2" version = "1.2.0" -authors = ["fi3 "] +authors = ["The Stratum V2 Developers"] edition = "2018" +readme = "README.md" description = "Sv2 data format" -license = "MIT" +documentation = "https://docs.rs/binary_codec_sv2" +license = "MIT + Apache-2.0" repository = "https://github.com/stratum-mining/stratum" +homepage = "https://stratumprotocol.org" +keywords = ["stratum", "mining", "bitcoin", "protocol"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/protocols/v2/binary-sv2/no-serde-sv2/derive_codec/Cargo.toml b/protocols/v2/binary-sv2/no-serde-sv2/derive_codec/Cargo.toml index 93f202d8bd..0653daf3d8 100644 --- a/protocols/v2/binary-sv2/no-serde-sv2/derive_codec/Cargo.toml +++ b/protocols/v2/binary-sv2/no-serde-sv2/derive_codec/Cargo.toml @@ -1,11 +1,15 @@ [package] name = "derive_codec_sv2" version = "1.1.0" -authors = ["fi3 "] +authors = ["The Stratum V2 Developers"] edition = "2018" +readme = "README.md" description = "Derive macro for Sv2 binary format serializer and deserializer" -license = "MIT" +documentation = "https://docs.rs/derive_codec_sv2" +license = "MIT + Apache-2.0" repository = "https://github.com/stratum-mining/stratum" +homepage = "https://stratumprotocol.org" +keywords = ["stratum", "mining", "bitcoin", "protocol"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/protocols/v2/binary-sv2/serde-sv2/Cargo.toml b/protocols/v2/binary-sv2/serde-sv2/Cargo.toml index 2dcc744c8e..3f551f8244 100644 --- a/protocols/v2/binary-sv2/serde-sv2/Cargo.toml +++ b/protocols/v2/binary-sv2/serde-sv2/Cargo.toml @@ -1,11 +1,15 @@ [package] name = "serde_sv2" version = "1.0.1" -authors = ["fi3 "] +authors = ["The Stratum V2 Developers"] edition = "2018" +readme = "README.md" description = "Serlializer and Deserializer for Stratum V2 data format" -license = "MIT" +documentation = "https://docs.rs/serde_sv2" +license = "MIT + Apache-2.0" repository = "https://github.com/stratum-mining/stratum" +homepage = "https://stratumprotocol.org" +keywords = ["stratum", "mining", "bitcoin", "protocol"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/protocols/v2/codec-sv2/Cargo.toml b/protocols/v2/codec-sv2/Cargo.toml index 20b0288afa..092bcb9866 100644 --- a/protocols/v2/codec-sv2/Cargo.toml +++ b/protocols/v2/codec-sv2/Cargo.toml @@ -1,11 +1,15 @@ [package] name = "codec_sv2" version = "1.2.1" -authors = ["fi3 "] +authors = ["The Stratum V2 Developers"] edition = "2018" +readme = "README.md" description = "Sv2 data format" -license = "MIT" +documentation = "https://docs.rs/codec_sv2" +license = "MIT + Apache-2.0" repository = "https://github.com/stratum-mining/stratum" +homepage = "https://stratumprotocol.org" +keywords = ["stratum", "mining", "bitcoin", "protocol"] [dependencies] serde = { version = "1.0.89", default-features = false, optional = true } diff --git a/protocols/v2/const-sv2/Cargo.toml b/protocols/v2/const-sv2/Cargo.toml index 5d37e77abd..8030a1fcd7 100644 --- a/protocols/v2/const-sv2/Cargo.toml +++ b/protocols/v2/const-sv2/Cargo.toml @@ -1,11 +1,15 @@ [package] name = "const_sv2" version = "2.0.0" -authors = ["fi3 "] +authors = ["The Stratum V2 Developers"] edition = "2018" +readme = "README.md" description = "This crate holds all of the shared constants used across the different Stratum V2 protocols and roles crates" -license = "MIT" +documentation = "https://docs.rs/const_sv2" +license = "MIT + Apache-2.0" repository = "https://github.com/stratum-mining/stratum" +homepage = "https://stratumprotocol.org" +keywords = ["stratum", "mining", "bitcoin", "protocol"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/protocols/v2/framing-sv2/Cargo.toml b/protocols/v2/framing-sv2/Cargo.toml index 4450a46531..7e39d8ceeb 100644 --- a/protocols/v2/framing-sv2/Cargo.toml +++ b/protocols/v2/framing-sv2/Cargo.toml @@ -1,11 +1,15 @@ [package] name = "framing_sv2" version = "2.0.0" -authors = ["fi3 "] +authors = ["The Stratum V2 Developers"] edition = "2018" +readme = "README.md" description = "Sv2 frames" -license = "MIT" +documentation = "https://docs.rs/framing_sv2" +license = "MIT + Apache-2.0" repository = "https://github.com/stratum-mining/stratum" +homepage = "https://stratumprotocol.org" +keywords = ["stratum", "mining", "bitcoin", "protocol"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/protocols/v2/noise-sv2/Cargo.toml b/protocols/v2/noise-sv2/Cargo.toml index c627bc1af2..432b894dd7 100644 --- a/protocols/v2/noise-sv2/Cargo.toml +++ b/protocols/v2/noise-sv2/Cargo.toml @@ -1,11 +1,15 @@ [package] name = "noise_sv2" version = "1.1.0" -authors = ["fi3 "] +authors = ["The Stratum V2 Developers"] edition = "2018" +readme = "README.md" description = "Sv2 noise" -license = "MIT" +documentation = "https://docs.rs/noise_sv2" +license = "MIT + Apache-2.0" repository = "https://github.com/stratum-mining/stratum" +homepage = "https://stratumprotocol.org" +keywords = ["stratum", "mining", "bitcoin", "protocol"] [dependencies] secp256k1 = { version = "0.28.2", default-features = false, features =["hashes", "alloc","rand","rand-std"] } diff --git a/protocols/v2/roles-logic-sv2/Cargo.toml b/protocols/v2/roles-logic-sv2/Cargo.toml index 2b7c34610b..077c246fd6 100644 --- a/protocols/v2/roles-logic-sv2/Cargo.toml +++ b/protocols/v2/roles-logic-sv2/Cargo.toml @@ -1,10 +1,15 @@ [package] name = "roles_logic_sv2" version = "1.2.1" +authors = ["The Stratum V2 Developers"] edition = "2018" +readme = "README.md" description = "Common handlers for use within SV2 roles" -license = "MIT OR Apache-2.0" +documentation = "https://docs.rs/roles_logic_sv2" +license = "MIT + Apache-2.0" repository = "https://github.com/stratum-mining/stratum" +homepage = "https://stratumprotocol.org" +keywords = ["stratum", "mining", "bitcoin", "protocol"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/protocols/v2/subprotocols/common-messages/Cargo.toml b/protocols/v2/subprotocols/common-messages/Cargo.toml index 783c208dfe..5891becfc3 100644 --- a/protocols/v2/subprotocols/common-messages/Cargo.toml +++ b/protocols/v2/subprotocols/common-messages/Cargo.toml @@ -1,11 +1,15 @@ [package] name = "common_messages_sv2" version = "2.0.0" -authors = ["fi3 "] +authors = ["The Stratum V2 Developers"] edition = "2018" +readme = "README.md" description = "Sv2 subprotocol common messages" -license = "MIT" +documentation = "https://docs.rs/common_messages_sv2" +license = "MIT + Apache-2.0" repository = "https://github.com/stratum-mining/stratum" +homepage = "https://stratumprotocol.org" +keywords = ["stratum", "mining", "bitcoin", "protocol"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/protocols/v2/subprotocols/job-declaration/Cargo.toml b/protocols/v2/subprotocols/job-declaration/Cargo.toml index 2ee4313f4c..79093ce179 100644 --- a/protocols/v2/subprotocols/job-declaration/Cargo.toml +++ b/protocols/v2/subprotocols/job-declaration/Cargo.toml @@ -1,11 +1,15 @@ [package] name = "job_declaration_sv2" version = "1.0.0" -authors = ["fi3 "] +authors = ["The Stratum V2 Developers"] edition = "2018" +readme = "README.md" description = "SV2 job declaration protocol types" -license = "MIT OR Apache-2.0" +documentation = "https://docs.rs/job_declaration_sv2" +license = "MIT + Apache-2.0" repository = "https://github.com/stratum-mining/stratum" +homepage = "https://stratumprotocol.org" +keywords = ["stratum", "mining", "bitcoin", "protocol"] [dependencies] diff --git a/protocols/v2/subprotocols/mining/Cargo.toml b/protocols/v2/subprotocols/mining/Cargo.toml index c98bb7ec99..a5bda914dd 100644 --- a/protocols/v2/subprotocols/mining/Cargo.toml +++ b/protocols/v2/subprotocols/mining/Cargo.toml @@ -1,11 +1,15 @@ [package] name = "mining_sv2" version = "1.0.0" -authors = ["fi3 "] +authors = ["The Stratum V2 Developers"] edition = "2018" +readme = "README.md" description = "SV2 mining protocol types" -license = "MIT OR Apache-2.0" +documentation = "https://docs.rs/mining_sv2" +license = "MIT + Apache-2.0" repository = "https://github.com/stratum-mining/stratum" +homepage = "https://stratumprotocol.org" +keywords = ["stratum", "mining", "bitcoin", "protocol"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/protocols/v2/subprotocols/template-distribution/Cargo.toml b/protocols/v2/subprotocols/template-distribution/Cargo.toml index b0120836dc..21c30c297f 100644 --- a/protocols/v2/subprotocols/template-distribution/Cargo.toml +++ b/protocols/v2/subprotocols/template-distribution/Cargo.toml @@ -1,11 +1,15 @@ [package] name = "template_distribution_sv2" version = "1.0.2" -authors = ["fi3 "] +authors = ["The Stratum V2 Developers"] edition = "2018" +readme = "README.md" description = "Sv2 template distribution subprotocol" -license = "MIT" +documentation = "https://docs.rs/template_distribution_sv2" +license = "MIT + Apache-2.0" repository = "https://github.com/stratum-mining/stratum" +homepage = "https://stratumprotocol.org" +keywords = ["stratum", "mining", "bitcoin", "protocol"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/protocols/v2/sv2-ffi/Cargo.toml b/protocols/v2/sv2-ffi/Cargo.toml index 6498b1b5b8..35ca76a65b 100644 --- a/protocols/v2/sv2-ffi/Cargo.toml +++ b/protocols/v2/sv2-ffi/Cargo.toml @@ -1,11 +1,15 @@ [package] name = "sv2_ffi" version = "1.0.0" -authors = ["fi3 "] +authors = ["The Stratum V2 Developers"] edition = "2018" +readme = "README.md" description = "SV2 FFI" -license = "MIT OR Apache-2.0" +documentation = "https://github.com/stratum-mining/stratum" +license = "MIT + Apache-2.0" repository = "https://github.com/stratum-mining/stratum" +homepage = "https://stratumprotocol.org" +keywords = ["stratum", "mining", "bitcoin", "protocol"] [lib] crate-type = ["staticlib"] diff --git a/roles/Cargo.toml b/roles/Cargo.toml index d44909a939..3e9c59fc7a 100644 --- a/roles/Cargo.toml +++ b/roles/Cargo.toml @@ -1,16 +1,3 @@ -name = "stratum_v2_roles" -version = "0.1.0" -authors = ["The Stratum v2 Developers"] -edition = "2021" -description = "The Stratum protocol defines how miners, proxies, and pools communicate to contribute hashrate to the Bitcoin network. Stratum v2 is a robust set of primitives which anyone can use to expand the protocol or implement a role." -documentation = "https://github.com/stratum-mining/stratum" -readme = "README.md" -homepage = "https://stratumprotocol.org" -repository = "https://github.com/stratum-mining/stratum" -license = "MIT + Apache-2.0" -license-file = "LICENSE.md" -keywords = ["stratum", "mining", "bitcoin", "protocol"] - [workspace] resolver="2" diff --git a/roles/jd-client/Cargo.toml b/roles/jd-client/Cargo.toml index dc2d46079d..c160720a37 100644 --- a/roles/jd-client/Cargo.toml +++ b/roles/jd-client/Cargo.toml @@ -1,10 +1,15 @@ [package] name = "jd_client" version = "0.1.1" +authors = ["The Stratum V2 Developers"] edition = "2021" -description = "TODO" -license = "MIT OR Apache-2.0" +description = "Job Declarator Client (JDC) role" +documentation = "https://docs.rs/jd_client" +readme = "README.md" +homepage = "https://stratumprotocol.org" repository = "https://github.com/stratum-mining/stratum" +license = "MIT + Apache-2.0" +keywords = ["stratum", "mining", "bitcoin", "protocol"] [lib] name = "jd_client" diff --git a/roles/jd-server/Cargo.toml b/roles/jd-server/Cargo.toml index e8d82438a1..b6086df18e 100644 --- a/roles/jd-server/Cargo.toml +++ b/roles/jd-server/Cargo.toml @@ -1,9 +1,16 @@ [package] name = "jd_server" version = "0.1.1" +authors = ["The Stratum V2 Developers"] edition = "2018" -license = "MIT OR Apache-2.0" +description = "Job Declarator Server (JDS) role" +documentation = "https://github.com/stratum-mining/stratum" +readme = "README.md" +homepage = "https://stratumprotocol.org" repository = "https://github.com/stratum-mining/stratum" +license = "MIT + Apache-2.0" +keywords = ["stratum", "mining", "bitcoin", "protocol"] + [lib] name = "jd_server" diff --git a/roles/mining-proxy/Cargo.toml b/roles/mining-proxy/Cargo.toml index 8ffb5d0953..ba635e49eb 100644 --- a/roles/mining-proxy/Cargo.toml +++ b/roles/mining-proxy/Cargo.toml @@ -1,11 +1,16 @@ [package] name = "mining_proxy_sv2" version = "0.1.1" -authors = ["user"] +authors = ["The Stratum V2 Developers"] edition = "2018" description = "SV2 mining proxy role" -license = "MIT OR Apache-2.0" +documentation = "https://docs.rs/mining_proxy_sv2" +readme = "README.md" +homepage = "https://stratumprotocol.org" repository = "https://github.com/stratum-mining/stratum" +license = "MIT + Apache-2.0" +keywords = ["stratum", "mining", "bitcoin", "protocol"] + [lib] name = "mining_proxy_sv2" diff --git a/roles/pool/Cargo.toml b/roles/pool/Cargo.toml index c253e6b3e9..4668e8ee59 100644 --- a/roles/pool/Cargo.toml +++ b/roles/pool/Cargo.toml @@ -1,10 +1,16 @@ [package] name = "pool_sv2" version = "0.1.1" +authors = ["The Stratum V2 Developers"] edition = "2018" description = "SV2 pool role" -license = "MIT OR Apache-2.0" +documentation = "https://docs.rs/pool_sv2" +readme = "README.md" +homepage = "https://stratumprotocol.org" repository = "https://github.com/stratum-mining/stratum" +license = "MIT + Apache-2.0" +keywords = ["stratum", "mining", "bitcoin", "protocol"] + [lib] name = "pool_sv2" diff --git a/roles/roles-utils/network-helpers/Cargo.toml b/roles/roles-utils/network-helpers/Cargo.toml index b4af8f293e..46d3fc532e 100644 --- a/roles/roles-utils/network-helpers/Cargo.toml +++ b/roles/roles-utils/network-helpers/Cargo.toml @@ -1,11 +1,16 @@ [package] name = "network_helpers_sv2" version = "2.0.0" -authors = ["fi3 "] +authors = ["The Stratum V2 Developers"] edition = "2018" description = "Networking utils for SV2 roles" -license = "MIT OR Apache-2.0" +documentation = "https://docs.rs/network_helpers_sv2" +readme = "README.md" +homepage = "https://stratumprotocol.org" repository = "https://github.com/stratum-mining/stratum" +license = "MIT + Apache-2.0" +keywords = ["stratum", "mining", "bitcoin", "protocol"] + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/roles/roles-utils/rpc/Cargo.toml b/roles/roles-utils/rpc/Cargo.toml index 6ae6e05527..db5c0f02db 100644 --- a/roles/roles-utils/rpc/Cargo.toml +++ b/roles/roles-utils/rpc/Cargo.toml @@ -1,9 +1,16 @@ [package] name = "rpc_sv2" version = "1.0.0" +authors = ["The Stratum V2 Developers"] edition = "2021" description = "SV2 JD Server RPC" -license = "MIT OR Apache-2.0" +documentation = "https://docs.rs/rpc_sv2" +readme = "README.md" +homepage = "https://stratumprotocol.org" +repository = "https://github.com/stratum-mining/stratum" +license = "MIT + Apache-2.0" +keywords = ["stratum", "mining", "bitcoin", "protocol"] + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/roles/test-utils/mining-device/Cargo.toml b/roles/test-utils/mining-device/Cargo.toml index 775d38f3b2..dc5c3bba5d 100644 --- a/roles/test-utils/mining-device/Cargo.toml +++ b/roles/test-utils/mining-device/Cargo.toml @@ -1,8 +1,16 @@ [package] name = "mining_device" version = "0.1.1" +authors = ["The Stratum V2 Developers"] edition = "2018" publish = false +documentation = "https://github.com/stratum-mining/stratum" +readme = "README.md" +homepage = "https://stratumprotocol.org" +repository = "https://github.com/stratum-mining/stratum" +license = "MIT + Apache-2.0" +keywords = ["stratum", "mining", "bitcoin", "protocol"] + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/roles/test-utils/sv1-mining-device/Cargo.toml b/roles/test-utils/sv1-mining-device/Cargo.toml index 55b990c633..5d1dd2d0fa 100644 --- a/roles/test-utils/sv1-mining-device/Cargo.toml +++ b/roles/test-utils/sv1-mining-device/Cargo.toml @@ -1,8 +1,15 @@ [package] name = "sv1-mining-device" version = "0.1.0" +authors = ["The Stratum V2 Developers"] edition = "2021" publish = false +documentation = "https://github.com/stratum-mining/stratum" +readme = "README.md" +homepage = "https://stratumprotocol.org" +repository = "https://github.com/stratum-mining/stratum" +license = "MIT + Apache-2.0" +keywords = ["stratum", "mining", "bitcoin", "protocol"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/roles/tests-integration/Cargo.toml b/roles/tests-integration/Cargo.toml index 00eab65fa5..3a1f6615da 100644 --- a/roles/tests-integration/Cargo.toml +++ b/roles/tests-integration/Cargo.toml @@ -1,7 +1,14 @@ [package] name = "integration-test" version = "0.1.0" +authors = ["The Stratum V2 Developers"] edition = "2021" +documentation = "https://github.com/stratum-mining/stratum" +readme = "README.md" +homepage = "https://stratumprotocol.org" +repository = "https://github.com/stratum-mining/stratum" +license = "MIT + Apache-2.0" +keywords = ["stratum", "mining", "bitcoin", "protocol"] [dependencies] bitcoind = "0.36.0" diff --git a/roles/translator/Cargo.toml b/roles/translator/Cargo.toml index a7c762a058..8699993447 100644 --- a/roles/translator/Cargo.toml +++ b/roles/translator/Cargo.toml @@ -1,10 +1,15 @@ [package] name = "translator_sv2" version = "0.1.1" +authors = ["The Stratum V2 Developers"] edition = "2021" description = "Server used to bridge SV1 miners to SV2 pools" -license = "MIT OR Apache-2.0" +documentation = "https://docs.rs/translator_sv2" +readme = "README.md" +homepage = "https://stratumprotocol.org" repository = "https://github.com/stratum-mining/stratum" +license = "MIT + Apache-2.0" +keywords = ["stratum", "mining", "bitcoin", "protocol"] [lib] name = "translator_sv2" diff --git a/utils/Cargo.toml b/utils/Cargo.toml index aa22ee1aef..43e3c95fe8 100644 --- a/utils/Cargo.toml +++ b/utils/Cargo.toml @@ -1,16 +1,3 @@ -name = "stratum_v2_utils" -version = "1.0.0" -authors = ["The Stratum v2 Developers"] -edition = "2021" -description = "The Stratum protocol defines how miners, proxies, and pools communicate to contribute hashrate to the Bitcoin network. Stratum v2 is a robust set of primitives which anyone can use to expand the protocol or implement a role." -documentation = "https://github.com/stratum-mining/stratum" -readme = "README.md" -homepage = "https://stratumprotocol.org" -repository = "https://github.com/stratum-mining/stratum" -license = "MIT + Apache-2.0" -license-file = "LICENSE.md" -keywords = ["stratum", "mining", "bitcoin", "protocol"] - [workspace] resolver="2" diff --git a/utils/bip32-key-derivation/Cargo.toml b/utils/bip32-key-derivation/Cargo.toml index a2d0681e4c..5b5749e608 100644 --- a/utils/bip32-key-derivation/Cargo.toml +++ b/utils/bip32-key-derivation/Cargo.toml @@ -1,10 +1,15 @@ [package] name = "bip32_derivation" version = "1.0.0" +authors = ["The Stratum V2 Developers"] edition = "2021" description = "bip32_derivation" -license = "MIT OR Apache-2.0" +documentation = "https://docs.rs/bip32_derivation" +readme = "README.md" +homepage = "https://stratumprotocol.org" repository = "https://github.com/stratum-mining/stratum" +license = "MIT + Apache-2.0" +keywords = ["stratum", "mining", "bitcoin", "protocol"] [lib] name = "bip32_derivation" diff --git a/utils/buffer/Cargo.toml b/utils/buffer/Cargo.toml index b3a8f543d9..1effc249eb 100644 --- a/utils/buffer/Cargo.toml +++ b/utils/buffer/Cargo.toml @@ -1,11 +1,15 @@ [package] name = "buffer_sv2" version = "1.1.0" -authors = ["fi3 "] +authors = ["The Stratum V2 Developers"] edition = "2018" description = "buffer" -license = "MIT" +documentation = "https://docs.rs/buffer_sv2" +readme = "README.md" +homepage = "https://stratumprotocol.org" repository = "https://github.com/stratum-mining/stratum" +license = "MIT + Apache-2.0" +keywords = ["stratum", "mining", "bitcoin", "protocol"] [dependencies] criterion = {version = "0.3", optional = true} diff --git a/utils/error-handling/Cargo.toml b/utils/error-handling/Cargo.toml index 6d3cb4a157..05a606b984 100644 --- a/utils/error-handling/Cargo.toml +++ b/utils/error-handling/Cargo.toml @@ -1,7 +1,12 @@ [package] name = "error_handling" version = "1.0.0" +authors = ["The Stratum V2 Developers"] edition = "2021" description = "Macro used to clean and centralize error handling within async processes" -license = "MIT OR Apache-2.0" +documentation = "https://docs.rs/error_handling" +readme = "README.md" +homepage = "https://stratumprotocol.org" repository = "https://github.com/stratum-mining/stratum" +license = "MIT + Apache-2.0" +keywords = ["stratum", "mining", "bitcoin", "protocol"] diff --git a/utils/key-utils/Cargo.toml b/utils/key-utils/Cargo.toml index 55c5bba15f..b6c13b86a7 100644 --- a/utils/key-utils/Cargo.toml +++ b/utils/key-utils/Cargo.toml @@ -1,10 +1,15 @@ [package] name = "key-utils" version = "1.1.0" +authors = ["The Stratum V2 Developers"] edition = "2021" description = "Key utils" -license = "MIT OR Apache-2.0" +documentation = "https://docs.rs/key-utils" +readme = "README.md" +homepage = "https://stratumprotocol.org" repository = "https://github.com/stratum-mining/stratum" +license = "MIT + Apache-2.0" +keywords = ["stratum", "mining", "bitcoin", "protocol"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/utils/message-generator/Cargo.toml b/utils/message-generator/Cargo.toml index f97d74f0d9..3be66a7724 100644 --- a/utils/message-generator/Cargo.toml +++ b/utils/message-generator/Cargo.toml @@ -1,7 +1,15 @@ [package] name = "message_generator_sv2" version = "1.0.1" +authors = ["The Stratum V2 Developers"] edition = "2021" +description = "message generator" +documentation = "https://github.com/stratum-mining/stratum" +readme = "README.md" +homepage = "https://stratumprotocol.org" +repository = "https://github.com/stratum-mining/stratum" +license = "MIT + Apache-2.0" +keywords = ["stratum", "mining", "bitcoin", "protocol"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html