Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit d6efeb3

Browse files
committed
Add comment
1 parent 52fc72b commit d6efeb3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

core/Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,11 @@ matches = { workspace = true }
7878
raptorq = { workspace = true }
7979
serde_json = { workspace = true }
8080
serial_test = { workspace = true }
81-
solana-core = { workspace = true, features = ["dev-context-only-utils"] }
81+
# Even if we want to activate features only for dev-dep., `cargo publish`
82+
# complains about self-dep with version specified. So don't inherit with
83+
# `workspace = true`. In this way, `cargo publish` will strip this self-dep
84+
# according to https://github.com/rust-lang/cargo/pull/7333
85+
solana-core = { path = ".", features = ["dev-context-only-utils"] }
8286
solana-logger = { workspace = true }
8387
solana-program-runtime = { workspace = true }
8488
solana-stake-program = { workspace = true }

0 commit comments

Comments
 (0)