Skip to content

Commit

Permalink
avoid publishing protocols crates with all-features..
Browse files Browse the repository at this point in the history
publishing with all-features is overengineering:
- with_serde will be deprecated soon
- for crates with relevant features, we specifically list them for publishing
  • Loading branch information
plebhash committed Jan 28, 2025
1 parent 901b12a commit 2d65263
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 19 deletions.
3 changes: 0 additions & 3 deletions common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,3 @@ repository = "https://github.com/stratum-mining/stratum"
[dependencies]
bitcoin = {version="0.29.1",optional=true}
secp256k1 = { version = "0.28.2", default-features = false, features =["alloc","rand","rand-std"] }

[package.metadata.docs.rs]
all-features = true
3 changes: 0 additions & 3 deletions protocols/v1/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,3 @@ binary_sv2 = { path = "../v2/binary-sv2/binary-sv2" }
[dev-dependencies]
quickcheck = "1"
quickcheck_macros = "1"

[package.metadata.docs.rs]
all-features = true
2 changes: 1 addition & 1 deletion roles/roles-utils/network-helpers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ with_serde = ["binary_sv2/with_serde", "serde", "codec_sv2/with_serde"]
with_buffer_pool = ["codec_sv2/with_buffer_pool"]

[package.metadata.docs.rs]
all-features = true
features = ["with_buffer_pool", "with_tokio", "async_std"]
3 changes: 0 additions & 3 deletions roles/roles-utils/rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,3 @@ base64 = "0.21.5"
hyper = { version = "1.1.0", features = ["full"] }
hyper-util = { version = "0.1", features = ["full"] }
http-body-util = "0.1"

[package.metadata.docs.rs]
all-features = true
3 changes: 0 additions & 3 deletions utils/bip32-key-derivation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,3 @@ slip132 = "0.10"

[dev-dependencies]
toml = { version = "0.5.6", git = "https://github.com/diondokter/toml-rs", default-features = false, rev = "c4161aa" }

[package.metadata.docs.rs]
all-features = true
3 changes: 0 additions & 3 deletions utils/error-handling/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,3 @@ homepage = "https://stratumprotocol.org"
repository = "https://github.com/stratum-mining/stratum"
license = "MIT OR Apache-2.0"
keywords = ["stratum", "mining", "bitcoin", "protocol"]

[package.metadata.docs.rs]
all-features = true
3 changes: 0 additions & 3 deletions utils/key-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,3 @@ serde = { version = "1.0.89", features = ["derive","alloc"], default-features =

[dev-dependencies]
toml = { version = "0.5.6", git = "https://github.com/diondokter/toml-rs", default-features = false, rev = "c4161aa" }

[package.metadata.docs.rs]
all-features = true

0 comments on commit 2d65263

Please sign in to comment.