From 50b8a2a6de97bd7d3f781ec29d10aa4fe346f84e Mon Sep 17 00:00:00 2001 From: plebhash Date: Tue, 15 Oct 2024 17:51:16 -0300 Subject: [PATCH] fix license formatting --- protocols/fuzz-tests/Cargo.toml | 2 +- protocols/v1/Cargo.toml | 2 +- protocols/v2/binary-sv2/binary-sv2/Cargo.toml | 2 +- protocols/v2/binary-sv2/no-serde-sv2/codec/Cargo.toml | 2 +- protocols/v2/binary-sv2/no-serde-sv2/derive_codec/Cargo.toml | 2 +- protocols/v2/binary-sv2/serde-sv2/Cargo.toml | 2 +- protocols/v2/codec-sv2/Cargo.toml | 2 +- protocols/v2/const-sv2/Cargo.toml | 2 +- protocols/v2/framing-sv2/Cargo.toml | 2 +- protocols/v2/noise-sv2/Cargo.toml | 2 +- protocols/v2/roles-logic-sv2/Cargo.toml | 2 +- protocols/v2/subprotocols/common-messages/Cargo.toml | 2 +- protocols/v2/subprotocols/job-declaration/Cargo.toml | 2 +- protocols/v2/subprotocols/mining/Cargo.toml | 2 +- protocols/v2/subprotocols/template-distribution/Cargo.toml | 2 +- protocols/v2/sv2-ffi/Cargo.toml | 2 +- roles/jd-client/Cargo.toml | 2 +- roles/jd-server/Cargo.toml | 2 +- roles/mining-proxy/Cargo.toml | 2 +- roles/pool/Cargo.toml | 2 +- roles/roles-utils/network-helpers/Cargo.toml | 2 +- roles/roles-utils/rpc/Cargo.toml | 2 +- roles/test-utils/mining-device/Cargo.toml | 2 +- roles/test-utils/sv1-mining-device/Cargo.toml | 2 +- roles/tests-integration/Cargo.toml | 2 +- roles/translator/Cargo.toml | 2 +- utils/bip32-key-derivation/Cargo.toml | 2 +- utils/buffer/Cargo.toml | 2 +- utils/error-handling/Cargo.toml | 2 +- utils/key-utils/Cargo.toml | 2 +- utils/message-generator/Cargo.toml | 2 +- 31 files changed, 31 insertions(+), 31 deletions(-) diff --git a/protocols/fuzz-tests/Cargo.toml b/protocols/fuzz-tests/Cargo.toml index 52e34dfef..5f0ee7ef6 100644 --- a/protocols/fuzz-tests/Cargo.toml +++ b/protocols/fuzz-tests/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" authors = ["Automatically generated"] publish = false documentation = "https://github.com/stratum-mining/stratum" -license = "MIT + Apache-2.0" +license = "MIT OR Apache-2.0" repository = "https://github.com/stratum-mining/stratum" homepage = "https://stratumprotocol.org" keywords = ["stratum", "mining", "bitcoin", "protocol"] diff --git a/protocols/v1/Cargo.toml b/protocols/v1/Cargo.toml index 1b4f9e382..dc494472f 100644 --- a/protocols/v1/Cargo.toml +++ b/protocols/v1/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" readme = "README.md" description = "API for bridging SV1 miners to SV2 pools" documentation = "https://docs.rs/sv1_api" -license = "MIT + Apache-2.0" +license = "MIT OR Apache-2.0" repository = "https://github.com/stratum-mining/stratum" homepage = "https://stratumprotocol.org" keywords = ["stratum", "mining", "bitcoin", "protocol"] diff --git a/protocols/v2/binary-sv2/binary-sv2/Cargo.toml b/protocols/v2/binary-sv2/binary-sv2/Cargo.toml index ea4da3f51..3df8d5e3b 100644 --- a/protocols/v2/binary-sv2/binary-sv2/Cargo.toml +++ b/protocols/v2/binary-sv2/binary-sv2/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" readme = "README.md" description = "Sv2 data format" documentation = "https://docs.rs/binary_sv2" -license = "MIT + Apache-2.0" +license = "MIT OR Apache-2.0" repository = "https://github.com/stratum-mining/stratum" homepage = "https://stratumprotocol.org" keywords = ["stratum", "mining", "bitcoin", "protocol"] 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 c853b5666..459ccd2a1 100644 --- a/protocols/v2/binary-sv2/no-serde-sv2/codec/Cargo.toml +++ b/protocols/v2/binary-sv2/no-serde-sv2/codec/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" readme = "README.md" description = "Sv2 data format" documentation = "https://docs.rs/binary_codec_sv2" -license = "MIT + Apache-2.0" +license = "MIT OR Apache-2.0" repository = "https://github.com/stratum-mining/stratum" homepage = "https://stratumprotocol.org" keywords = ["stratum", "mining", "bitcoin", "protocol"] 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 a5ac3de99..c7884c73a 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 @@ -6,7 +6,7 @@ edition = "2018" readme = "README.md" description = "Derive macro for Sv2 binary format serializer and deserializer" documentation = "https://docs.rs/derive_codec_sv2" -license = "MIT + Apache-2.0" +license = "MIT OR Apache-2.0" repository = "https://github.com/stratum-mining/stratum" homepage = "https://stratumprotocol.org" keywords = ["stratum", "mining", "bitcoin", "protocol"] diff --git a/protocols/v2/binary-sv2/serde-sv2/Cargo.toml b/protocols/v2/binary-sv2/serde-sv2/Cargo.toml index 082018420..0b30e2199 100644 --- a/protocols/v2/binary-sv2/serde-sv2/Cargo.toml +++ b/protocols/v2/binary-sv2/serde-sv2/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" readme = "README.md" description = "Serlializer and Deserializer for Stratum V2 data format" documentation = "https://docs.rs/serde_sv2" -license = "MIT + Apache-2.0" +license = "MIT OR Apache-2.0" repository = "https://github.com/stratum-mining/stratum" homepage = "https://stratumprotocol.org" keywords = ["stratum", "mining", "bitcoin", "protocol"] diff --git a/protocols/v2/codec-sv2/Cargo.toml b/protocols/v2/codec-sv2/Cargo.toml index a77cbf089..275cfec74 100644 --- a/protocols/v2/codec-sv2/Cargo.toml +++ b/protocols/v2/codec-sv2/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" readme = "README.md" description = "Sv2 data format" documentation = "https://docs.rs/codec_sv2" -license = "MIT + Apache-2.0" +license = "MIT OR Apache-2.0" repository = "https://github.com/stratum-mining/stratum" homepage = "https://stratumprotocol.org" keywords = ["stratum", "mining", "bitcoin", "protocol"] diff --git a/protocols/v2/const-sv2/Cargo.toml b/protocols/v2/const-sv2/Cargo.toml index e532cfa59..a32c2ff6a 100644 --- a/protocols/v2/const-sv2/Cargo.toml +++ b/protocols/v2/const-sv2/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" readme = "README.md" description = "This crate holds all of the shared constants used across the different Stratum V2 protocols and roles crates" documentation = "https://docs.rs/const_sv2" -license = "MIT + Apache-2.0" +license = "MIT OR Apache-2.0" repository = "https://github.com/stratum-mining/stratum" homepage = "https://stratumprotocol.org" keywords = ["stratum", "mining", "bitcoin", "protocol"] diff --git a/protocols/v2/framing-sv2/Cargo.toml b/protocols/v2/framing-sv2/Cargo.toml index 0140a9a58..6797d7946 100644 --- a/protocols/v2/framing-sv2/Cargo.toml +++ b/protocols/v2/framing-sv2/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" readme = "README.md" description = "Sv2 frames" documentation = "https://docs.rs/framing_sv2" -license = "MIT + Apache-2.0" +license = "MIT OR Apache-2.0" repository = "https://github.com/stratum-mining/stratum" homepage = "https://stratumprotocol.org" keywords = ["stratum", "mining", "bitcoin", "protocol"] diff --git a/protocols/v2/noise-sv2/Cargo.toml b/protocols/v2/noise-sv2/Cargo.toml index 21b5715b9..17c6b8b60 100644 --- a/protocols/v2/noise-sv2/Cargo.toml +++ b/protocols/v2/noise-sv2/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" readme = "README.md" description = "Sv2 noise" documentation = "https://docs.rs/noise_sv2" -license = "MIT + Apache-2.0" +license = "MIT OR Apache-2.0" repository = "https://github.com/stratum-mining/stratum" homepage = "https://stratumprotocol.org" keywords = ["stratum", "mining", "bitcoin", "protocol"] diff --git a/protocols/v2/roles-logic-sv2/Cargo.toml b/protocols/v2/roles-logic-sv2/Cargo.toml index 4bf81c84a..f1b73e7e2 100644 --- a/protocols/v2/roles-logic-sv2/Cargo.toml +++ b/protocols/v2/roles-logic-sv2/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" readme = "README.md" description = "Common handlers for use within SV2 roles" documentation = "https://docs.rs/roles_logic_sv2" -license = "MIT + Apache-2.0" +license = "MIT OR Apache-2.0" repository = "https://github.com/stratum-mining/stratum" homepage = "https://stratumprotocol.org" keywords = ["stratum", "mining", "bitcoin", "protocol"] diff --git a/protocols/v2/subprotocols/common-messages/Cargo.toml b/protocols/v2/subprotocols/common-messages/Cargo.toml index 43035d917..e2343d0de 100644 --- a/protocols/v2/subprotocols/common-messages/Cargo.toml +++ b/protocols/v2/subprotocols/common-messages/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" readme = "README.md" description = "Sv2 subprotocol common messages" documentation = "https://docs.rs/common_messages_sv2" -license = "MIT + Apache-2.0" +license = "MIT OR Apache-2.0" repository = "https://github.com/stratum-mining/stratum" homepage = "https://stratumprotocol.org" keywords = ["stratum", "mining", "bitcoin", "protocol"] diff --git a/protocols/v2/subprotocols/job-declaration/Cargo.toml b/protocols/v2/subprotocols/job-declaration/Cargo.toml index aceaf2145..951131fb1 100644 --- a/protocols/v2/subprotocols/job-declaration/Cargo.toml +++ b/protocols/v2/subprotocols/job-declaration/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" readme = "README.md" description = "SV2 job declaration protocol types" documentation = "https://docs.rs/job_declaration_sv2" -license = "MIT + Apache-2.0" +license = "MIT OR Apache-2.0" repository = "https://github.com/stratum-mining/stratum" homepage = "https://stratumprotocol.org" keywords = ["stratum", "mining", "bitcoin", "protocol"] diff --git a/protocols/v2/subprotocols/mining/Cargo.toml b/protocols/v2/subprotocols/mining/Cargo.toml index fa3d1db22..020ab39ec 100644 --- a/protocols/v2/subprotocols/mining/Cargo.toml +++ b/protocols/v2/subprotocols/mining/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" readme = "README.md" description = "SV2 mining protocol types" documentation = "https://docs.rs/mining_sv2" -license = "MIT + Apache-2.0" +license = "MIT OR Apache-2.0" repository = "https://github.com/stratum-mining/stratum" homepage = "https://stratumprotocol.org" keywords = ["stratum", "mining", "bitcoin", "protocol"] diff --git a/protocols/v2/subprotocols/template-distribution/Cargo.toml b/protocols/v2/subprotocols/template-distribution/Cargo.toml index 142aebb36..20da7f817 100644 --- a/protocols/v2/subprotocols/template-distribution/Cargo.toml +++ b/protocols/v2/subprotocols/template-distribution/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" readme = "README.md" description = "Sv2 template distribution subprotocol" documentation = "https://docs.rs/template_distribution_sv2" -license = "MIT + Apache-2.0" +license = "MIT OR Apache-2.0" repository = "https://github.com/stratum-mining/stratum" homepage = "https://stratumprotocol.org" keywords = ["stratum", "mining", "bitcoin", "protocol"] diff --git a/protocols/v2/sv2-ffi/Cargo.toml b/protocols/v2/sv2-ffi/Cargo.toml index 9b9e23ca5..0aa8c45fd 100644 --- a/protocols/v2/sv2-ffi/Cargo.toml +++ b/protocols/v2/sv2-ffi/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" readme = "README.md" description = "SV2 FFI" documentation = "https://github.com/stratum-mining/stratum" -license = "MIT + Apache-2.0" +license = "MIT OR Apache-2.0" repository = "https://github.com/stratum-mining/stratum" homepage = "https://stratumprotocol.org" keywords = ["stratum", "mining", "bitcoin", "protocol"] diff --git a/roles/jd-client/Cargo.toml b/roles/jd-client/Cargo.toml index c160720a3..1cb07ed7c 100644 --- a/roles/jd-client/Cargo.toml +++ b/roles/jd-client/Cargo.toml @@ -8,7 +8,7 @@ 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" +license = "MIT OR Apache-2.0" keywords = ["stratum", "mining", "bitcoin", "protocol"] [lib] diff --git a/roles/jd-server/Cargo.toml b/roles/jd-server/Cargo.toml index b6086df18..9e5ad8986 100644 --- a/roles/jd-server/Cargo.toml +++ b/roles/jd-server/Cargo.toml @@ -8,7 +8,7 @@ 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 = "MIT OR Apache-2.0" keywords = ["stratum", "mining", "bitcoin", "protocol"] diff --git a/roles/mining-proxy/Cargo.toml b/roles/mining-proxy/Cargo.toml index ba635e49e..175fca039 100644 --- a/roles/mining-proxy/Cargo.toml +++ b/roles/mining-proxy/Cargo.toml @@ -8,7 +8,7 @@ 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" +license = "MIT OR Apache-2.0" keywords = ["stratum", "mining", "bitcoin", "protocol"] diff --git a/roles/pool/Cargo.toml b/roles/pool/Cargo.toml index 4668e8ee5..95c21957b 100644 --- a/roles/pool/Cargo.toml +++ b/roles/pool/Cargo.toml @@ -8,7 +8,7 @@ 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" +license = "MIT OR Apache-2.0" keywords = ["stratum", "mining", "bitcoin", "protocol"] diff --git a/roles/roles-utils/network-helpers/Cargo.toml b/roles/roles-utils/network-helpers/Cargo.toml index a25bb1257..7c35fc38f 100644 --- a/roles/roles-utils/network-helpers/Cargo.toml +++ b/roles/roles-utils/network-helpers/Cargo.toml @@ -8,7 +8,7 @@ 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" +license = "MIT OR Apache-2.0" keywords = ["stratum", "mining", "bitcoin", "protocol"] diff --git a/roles/roles-utils/rpc/Cargo.toml b/roles/roles-utils/rpc/Cargo.toml index c71e7fba9..3a17ef02b 100644 --- a/roles/roles-utils/rpc/Cargo.toml +++ b/roles/roles-utils/rpc/Cargo.toml @@ -8,7 +8,7 @@ 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" +license = "MIT OR Apache-2.0" keywords = ["stratum", "mining", "bitcoin", "protocol"] diff --git a/roles/test-utils/mining-device/Cargo.toml b/roles/test-utils/mining-device/Cargo.toml index dc5c3bba5..5fa557db0 100644 --- a/roles/test-utils/mining-device/Cargo.toml +++ b/roles/test-utils/mining-device/Cargo.toml @@ -8,7 +8,7 @@ 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 = "MIT OR Apache-2.0" keywords = ["stratum", "mining", "bitcoin", "protocol"] diff --git a/roles/test-utils/sv1-mining-device/Cargo.toml b/roles/test-utils/sv1-mining-device/Cargo.toml index 5d1dd2d0f..edfa6fd1b 100644 --- a/roles/test-utils/sv1-mining-device/Cargo.toml +++ b/roles/test-utils/sv1-mining-device/Cargo.toml @@ -8,7 +8,7 @@ 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 = "MIT OR 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 f7cf2406e..5c077e637 100644 --- a/roles/tests-integration/Cargo.toml +++ b/roles/tests-integration/Cargo.toml @@ -7,7 +7,7 @@ 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 = "MIT OR Apache-2.0" keywords = ["stratum", "mining", "bitcoin", "protocol"] [dependencies] diff --git a/roles/translator/Cargo.toml b/roles/translator/Cargo.toml index 869999344..cf58e4093 100644 --- a/roles/translator/Cargo.toml +++ b/roles/translator/Cargo.toml @@ -8,7 +8,7 @@ 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" +license = "MIT OR Apache-2.0" keywords = ["stratum", "mining", "bitcoin", "protocol"] [lib] diff --git a/utils/bip32-key-derivation/Cargo.toml b/utils/bip32-key-derivation/Cargo.toml index 83704eef5..2bcdd6fe1 100644 --- a/utils/bip32-key-derivation/Cargo.toml +++ b/utils/bip32-key-derivation/Cargo.toml @@ -8,7 +8,7 @@ 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" +license = "MIT OR Apache-2.0" keywords = ["stratum", "mining", "bitcoin", "protocol"] [lib] diff --git a/utils/buffer/Cargo.toml b/utils/buffer/Cargo.toml index 279a00cfa..e7802be09 100644 --- a/utils/buffer/Cargo.toml +++ b/utils/buffer/Cargo.toml @@ -8,7 +8,7 @@ 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" +license = "MIT OR Apache-2.0" keywords = ["stratum", "mining", "bitcoin", "protocol"] [dependencies] diff --git a/utils/error-handling/Cargo.toml b/utils/error-handling/Cargo.toml index 19d9c4352..8d9c7fd07 100644 --- a/utils/error-handling/Cargo.toml +++ b/utils/error-handling/Cargo.toml @@ -8,7 +8,7 @@ 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" +license = "MIT OR Apache-2.0" keywords = ["stratum", "mining", "bitcoin", "protocol"] [package.metadata.docs.rs] diff --git a/utils/key-utils/Cargo.toml b/utils/key-utils/Cargo.toml index bc25b7bee..7d0213bba 100644 --- a/utils/key-utils/Cargo.toml +++ b/utils/key-utils/Cargo.toml @@ -8,7 +8,7 @@ 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" +license = "MIT OR Apache-2.0" keywords = ["stratum", "mining", "bitcoin", "protocol"] diff --git a/utils/message-generator/Cargo.toml b/utils/message-generator/Cargo.toml index 3be66a772..55f17d365 100644 --- a/utils/message-generator/Cargo.toml +++ b/utils/message-generator/Cargo.toml @@ -8,7 +8,7 @@ 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 = "MIT OR Apache-2.0" keywords = ["stratum", "mining", "bitcoin", "protocol"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html