ffi: the core dependency names the forge registry, and 0.14.1 is the release that publishes (macula-rust#2) #12
Loading…
Reference in a new issue
No description provided.
Delete branch "titan/2-ffi-registry-dep"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
macula-rust-ffi's only dependency on the core ismacula-rust = { path = "..", version = "0.16.0" }, and a dependency that names no registry is read from crates.io. Theffi-v0.14.0release job proved what that costs: it updated themaculaindex, packaged the crate, then went to the crates.io index formacula-rust ^0.16.0, found no such version there, and refused to package.ffi-v0.14.0is therefore tagged and published in no registry.This change gives that dependency
registry = "macula"— the alias.cargo/config.tomldefines — so it resolves tomacula-pubboth while the package is verified for upload and in the manifest a consumer reads. The crate moves to0.14.1(Cargo.lockfollowing it), and the CHANGELOG records that 0.14.0 was tagged but never published, and why.ffi-v0.14.0is not moved.The workspace has exactly two manifests (
./Cargo.tomland./macula-rust-ffi/Cargo.toml), and this is the onlypath+versiondependency 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:
cargo publish --dry-run --registry macula -p macula-rust-ffi, rc 0. TheDownloaded ... (registry \macula`)` line is the one the failed job could not produce.After this lands,
ffi-v0.14.1is the tag; nothing else in the release path changes.Refs macula-io/macula-rust#2.
`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.