Skip to content

Commit

Permalink
Merge pull request #1193 from Shourya742/2024-10-remove-manifest-warning
Browse files Browse the repository at this point in the history
move metadata away from workspace manifests
  • Loading branch information
plebhash authored Oct 10, 2024
2 parents 94b9ead + ce2f085 commit f29ab00
Show file tree
Hide file tree
Showing 37 changed files with 202 additions and 86 deletions.
2 changes: 1 addition & 1 deletion examples/interop-cpp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "interop-cpp"
version = "0.1.0"
authors = ["fi3 <[email protected]>"]
authors = ["The Stratum V2 Developers"]
edition = "2018"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion examples/ping-pong-with-noise/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "ping_pong_with_noise"
version = "0.1.0"
authors = ["fi3 <[email protected]>"]
authors = ["The Stratum V2 Developers"]
edition = "2018"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion examples/ping-pong-without-noise/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "ping_pong_without_noise"
version = "0.1.0"
authors = ["fi3 <[email protected]>"]
authors = ["The Stratum V2 Developers"]
edition = "2018"
publish = false

Expand Down
13 changes: 0 additions & 13 deletions protocols/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
5 changes: 5 additions & 0 deletions protocols/fuzz-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 6 additions & 2 deletions protocols/v1/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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

Expand Down
8 changes: 6 additions & 2 deletions protocols/v2/binary-sv2/binary-sv2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
[package]
name = "binary_sv2"
version = "1.2.0"
authors = ["fi3 <[email protected]>"]
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

Expand Down
8 changes: 6 additions & 2 deletions protocols/v2/binary-sv2/no-serde-sv2/codec/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
[package]
name = "binary_codec_sv2"
version = "1.2.0"
authors = ["fi3 <[email protected]>"]
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

Expand Down
8 changes: 6 additions & 2 deletions protocols/v2/binary-sv2/no-serde-sv2/derive_codec/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
[package]
name = "derive_codec_sv2"
version = "1.1.0"
authors = ["fi3 <[email protected]>"]
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

Expand Down
8 changes: 6 additions & 2 deletions protocols/v2/binary-sv2/serde-sv2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
[package]
name = "serde_sv2"
version = "1.0.1"
authors = ["fi3 <[email protected]>"]
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
Expand Down
8 changes: 6 additions & 2 deletions protocols/v2/codec-sv2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
[package]
name = "codec_sv2"
version = "1.2.1"
authors = ["fi3 <[email protected]>"]
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 }
Expand Down
8 changes: 6 additions & 2 deletions protocols/v2/const-sv2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
[package]
name = "const_sv2"
version = "2.0.0"
authors = ["fi3 <[email protected]>"]
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

Expand Down
8 changes: 6 additions & 2 deletions protocols/v2/framing-sv2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
[package]
name = "framing_sv2"
version = "2.0.0"
authors = ["fi3 <[email protected]>"]
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

Expand Down
8 changes: 6 additions & 2 deletions protocols/v2/noise-sv2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
[package]
name = "noise_sv2"
version = "1.1.0"
authors = ["fi3 <[email protected]>"]
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"] }
Expand Down
7 changes: 6 additions & 1 deletion protocols/v2/roles-logic-sv2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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

Expand Down
8 changes: 6 additions & 2 deletions protocols/v2/subprotocols/common-messages/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
[package]
name = "common_messages_sv2"
version = "2.0.0"
authors = ["fi3 <[email protected]>"]
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

Expand Down
8 changes: 6 additions & 2 deletions protocols/v2/subprotocols/job-declaration/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
[package]
name = "job_declaration_sv2"
version = "1.0.0"
authors = ["fi3 <[email protected]>"]
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]
Expand Down
8 changes: 6 additions & 2 deletions protocols/v2/subprotocols/mining/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
[package]
name = "mining_sv2"
version = "1.0.0"
authors = ["fi3 <[email protected]>"]
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
Expand Down
8 changes: 6 additions & 2 deletions protocols/v2/subprotocols/template-distribution/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
[package]
name = "template_distribution_sv2"
version = "1.0.2"
authors = ["fi3 <[email protected]>"]
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

Expand Down
8 changes: 6 additions & 2 deletions protocols/v2/sv2-ffi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
[package]
name = "sv2_ffi"
version = "1.0.0"
authors = ["fi3 <[email protected]>"]
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"]
Expand Down
13 changes: 0 additions & 13 deletions roles/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
9 changes: 7 additions & 2 deletions roles/jd-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
9 changes: 8 additions & 1 deletion roles/jd-server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
9 changes: 7 additions & 2 deletions roles/mining-proxy/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
Loading

0 comments on commit f29ab00

Please sign in to comment.