ffi: the core dependency names the forge registry, and 0.14.1 is the release that publishes (macula-rust#2) #12

Manually merged
terra merged 1 commit from titan/2-ffi-registry-dep into master 2026-12-01 21:36:00 +00:00
Member

macula-rust-ffi's only dependency on the core is macula-rust = { path = "..", version = "0.16.0" }, and a dependency that names no registry is read from crates.io. The ffi-v0.14.0 release job proved what that costs: it updated the macula index, packaged the crate, then went to the crates.io index for macula-rust ^0.16.0, found no such version there, and refused to package. ffi-v0.14.0 is therefore tagged and published in no registry.

This change gives that dependency registry = "macula" — the alias .cargo/config.toml defines — so it resolves to macula-pub both while the package is verified for upload and in the manifest a consumer reads. The crate moves to 0.14.1 (Cargo.lock following it), and the CHANGELOG records that 0.14.0 was tagged but never published, and why. ffi-v0.14.0 is not moved.

The workspace has exactly two manifests (./Cargo.toml and ./macula-rust-ffi/Cargo.toml), and this is the only path+version dependency in either; the core's own dependencies (macula-pqc, macula-mldsa, macula-mlkem) are crates.io dependencies.

Local proof against the real registry, on the committed tree:

    Updating `macula` index
   Verifying macula-rust-ffi v0.14.1 (...)
  Downloaded macula-rust v0.16.0 (registry `macula`)
   Compiling macula-rust v0.16.0 (registry `macula`)
   Compiling macula-rust-ffi v0.14.1 (.../target/package/macula-rust-ffi-0.14.1)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s
   Uploading macula-rust-ffi v0.14.1 (...)
warning: aborting upload due to dry run

cargo publish --dry-run --registry macula -p macula-rust-ffi, rc 0. The Downloaded ... (registry \macula`)` line is the one the failed job could not produce.

After this lands, ffi-v0.14.1 is the tag; nothing else in the release path changes.

Refs macula-io/macula-rust#2.

`macula-rust-ffi`'s only dependency on the core is `macula-rust = { path = "..", version = "0.16.0" }`, and a dependency that names no registry is read from crates.io. The `ffi-v0.14.0` release job proved what that costs: it updated the `macula` index, packaged the crate, then went to the crates.io index for `macula-rust ^0.16.0`, found no such version there, and refused to package. `ffi-v0.14.0` is therefore tagged and published in no registry. This change gives that dependency `registry = "macula"` — the alias `.cargo/config.toml` defines — so it resolves to `macula-pub` both while the package is verified for upload and in the manifest a consumer reads. The crate moves to `0.14.1` (`Cargo.lock` following it), and the CHANGELOG records that 0.14.0 was tagged but never published, and why. `ffi-v0.14.0` is not moved. The workspace has exactly two manifests (`./Cargo.toml` and `./macula-rust-ffi/Cargo.toml`), and this is the only `path`+`version` dependency in either; the core's own dependencies (`macula-pqc`, `macula-mldsa`, `macula-mlkem`) are crates.io dependencies. **Local proof against the real registry**, on the committed tree: ``` Updating `macula` index Verifying macula-rust-ffi v0.14.1 (...) Downloaded macula-rust v0.16.0 (registry `macula`) Compiling macula-rust v0.16.0 (registry `macula`) Compiling macula-rust-ffi v0.14.1 (.../target/package/macula-rust-ffi-0.14.1) Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s Uploading macula-rust-ffi v0.14.1 (...) warning: aborting upload due to dry run ``` `cargo publish --dry-run --registry macula -p macula-rust-ffi`, rc 0. The `Downloaded ... (registry \`macula\`)` line is the one the failed job could not produce. After this lands, `ffi-v0.14.1` is the tag; nothing else in the release path changes. Refs macula-io/macula-rust#2.
ffi: the dependency on the core names the forge's registry, and 0.14.1 is the release that publishes
All checks were successful
CI / uniffi bindings (kotlin generates and compiles) (pull_request) Has been skipped
CI / rust in . (pull_request) Has been skipped
CI / rustfmt (pull_request) Successful in 26s
CI / clippy (deny warnings) (pull_request) Successful in 2m23s
CI / docs (deny broken links) (pull_request) Successful in 3m29s
CI / Lint scripts/cross-verify-macula (structural floor) (pull_request) Successful in 1m58s
CI / rust in . (container) (pull_request) Successful in 24s
CI / Dependency advisories (pull_request) Successful in 0s
CI / Lint tests/teststation (structural floor) (pull_request) Successful in 1m58s
CI / test (pull_request) Successful in 11m24s
CI / coverage floor (lines) (pull_request) Successful in 22m27s
CI / key files without hard links (as on Android) (push) Has been skipped
CI / uniffi bindings (kotlin generates and compiles) (push) Has been skipped
CI / rust in . (push) Has been skipped
Sealed interop / sealed interop (macula 17.2.0) (push) Has been skipped
CI / rustfmt (push) Successful in 18s
CI / clippy (deny warnings) (push) Successful in 2m15s
CI / docs (deny broken links) (push) Successful in 2m25s
CI / Lint scripts/cross-verify-macula (structural floor) (push) Successful in 1m40s
CI / rust in . (container) (push) Successful in 36s
CI / Dependency advisories (push) Successful in 0s
CI / Lint tests/teststation (structural floor) (push) Successful in 54s
CI / test (push) Successful in 10m34s
CI / coverage floor (lines) (push) Successful in 20m29s
Release macula-rust-ffi to the forge's Cargo registry / rust in . (push) Has been skipped
Release macula-rust-ffi to the forge's Cargo registry / guard (push) Successful in 5s
Release macula-rust-ffi to the forge's Cargo registry / The release guard (push) Successful in 0s
Release macula-rust-ffi to the forge's Cargo registry / rust in . (container) (push) Successful in 20s
Release macula-rust-ffi to the forge's Cargo registry / Dependency advisories (push) Successful in 0s
Release macula-rust-ffi to the forge's Cargo registry / publish to the forge's Cargo registry (push) Successful in 19m13s
4b72f2719b
`macula-rust = { path = "..", version = "0.16.0" }` names no registry, and
cargo reads a registry-less dependency from crates.io. The ffi-v0.14.0
release job proved it: its dry run updated the macula index, then went to the
crates.io index for `macula-rust ^0.16.0`, found no such version there, and
refused to package. So ffi-v0.14.0 is tagged and published in no registry.

The dependency carries `registry = "macula"` now, the alias
`.cargo/config.toml` defines, so it resolves to macula-pub both while the
package is verified for upload and in the manifest a consumer reads. It is
the workspace's only path+version dependency: ./Cargo.toml and
./macula-rust-ffi/Cargo.toml are the two manifests here, and the core's own
dependencies (macula-pqc, macula-mldsa, macula-mlkem) come from crates.io.

0.14.1 carries the fix. ffi-v0.14.0 stays where it is and is not moved.

Refs macula-io/macula-rust#2.
terra manually merged commit 4b72f2719b into master 2026-12-01 21:36:00 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
macula-io/macula-rust!12
No description provided.