Skip to content

Commit bed53cb

Browse files
authored
fix(crypto): drop dangling serde_json/std refs in 4 crypto crates (#1420)
* chore(deps): bump tnt-core-bindings 0.17.0 → 0.17.1 (crates.io) v0.17.1 lands the post-audit follow-up batch: - M-2 escrow rescue: `withdrawRemainingEscrowTo(serviceId, to)` — owner-chosen recipient escape hatch when escrow token blocklists the service owner. - H-1 oracle snapshot at activation/join — per-(serviceId, op, asset) USD price pinned at activation; post-activation oracle drift cannot inflate one operator's bill share against honest co-operators. - F-001 pull-payment staker forward — distributor pulls ERC20 via `safeTransferFrom`; reverting distributor no longer strands tokens. - Governance-tunable operator cap — `setMaxOperatorsPerService` / `maxOperatorsPerService` view, default 256 (was hardcoded 64). - New events: PushTransferFailed, PriceOracleFallback, MaxOperatorsPerServiceUpdated. Switches off the git-branch pin and onto the published crates.io release. `cargo check --workspace` clean — no ABI break sites in the workspace. * chore(release): bump workspace to alpha.5 — tnt-core-bindings v0.17.1 + audit follow-up Per-crate prerelease bump preserving each crate's major/minor lineage: - blueprint-* core/sdk/runner/etc.: 0.2.0-alpha.4 → 0.2.0-alpha.5 - blueprint-manager: 0.4.0-alpha.3 → 0.4.0-alpha.4 - blueprint-pricing-engine: 0.3.0-alpha.3 → 0.3.0-alpha.4 - cargo-tangle: 0.5.0-alpha.3 → 0.5.0-alpha.4 Picks up tnt-core-bindings v0.17.1 transitively (M-2 escrow rescue, H-1 oracle snapshot, F-001 pull-payment, governance-tunable operator cap). * fix(crypto-bls): remove dangling serde_json/std feature reference `serde_json` is a dev-dependency, not a top-level dep — its `std` feature can't be activated from the package's own `std` feature gate. Cargo's strict manifest validation rejects this on publish. Triggered by `cargo workspaces publish` halting on: > error: feature `std` includes `serde_json/std`, but `serde_json` is not a dependency * fix(crypto): drop dangling serde_json/std refs in crypto crates Same bug as #1419 in 4 more crypto crates (ed25519, bn254, sr25519, k256). serde_json is only a dev-dependency in these crates; referencing its `std` feature from the package's own `std` feature is a manifest validation error that halts `cargo publish`. Removed the dangling references; serde_json isn't used in non-test paths.
1 parent 71e7c2d commit bed53cb

4 files changed

Lines changed: 0 additions & 4 deletions

File tree

crates/crypto/bn254/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ std = [
3636
"blueprint-crypto-core/std",
3737
"blueprint-std/std",
3838
"serde/std",
39-
"serde_json/std",
4039
"serde_bytes/std",
4140
"ark-bn254/std",
4241
"ark-ec/std",

crates/crypto/ed25519/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ std = [
2929
"blueprint-crypto-core/std",
3030
"blueprint-std/std",
3131
"serde/std",
32-
"serde_json/std",
3332
"serde_bytes/std",
3433
"ed25519-zebra/std",
3534
]

crates/crypto/k256/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ std = [
3131
"blueprint-crypto-core/std",
3232
"blueprint-std/std",
3333
"serde/std",
34-
"serde_json/std",
3534
"serde_bytes/std",
3635
"k256/std",
3736
]

crates/crypto/sr25519/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ std = [
2929
"blueprint-crypto-core/std",
3030
"blueprint-std/std",
3131
"serde/std",
32-
"serde_json/std",
3332
"serde_bytes/std",
3433
"schnorrkel/std",
3534
]

0 commit comments

Comments
 (0)