Skip to content

Publish as barbacane-libinjection + release workflow - #5

Merged
ndreno merged 2 commits into
mainfrom
feat/publish-barbacane-libinjection
Sep 12, 2026
Merged

ndreno merged 2 commits into
mainfrom
feat/publish-barbacane-libinjection

Conversation

@ndreno

@ndreno ndreno commented Sep 12, 2026

Copy link
Copy Markdown

Prepares the fork for crates.io. libinjectionrs (upstream) and libinjection
(an FFI-bindings crate) are both taken, so this publishes under
barbacane-libinjection.

  • Package renamed to barbacane-libinjection; the library target keeps the
    name libinjectionrs
    ([lib] name), and internal path deps use
    package = "barbacane-libinjection", so no code using libinjectionrs::
    changes. cargo publish --dry-run packages and verifies cleanly.
  • repository points at the fork; description notes it is the differential-
    tested port.
  • New release.yml: on a v* tag it checks the tag matches Cargo.toml and
    runs cargo publish, using CARGO_REGISTRY_TOKEN.

Requires CARGO_REGISTRY_TOKEN to be available to this repo (org-level
secret, or added here) before tagging. Publishing is the first step of the
sequence; parapet (barbacane-waf) follows once this crate is on crates.io.

The crate names libinjectionrs and libinjection are already taken on
crates.io (by the upstream original and an FFI-bindings crate), so this
fork publishes under barbacane-libinjection. The library target keeps the
name libinjectionrs, and internal path deps use `package =
"barbacane-libinjection"`, so no source using `libinjectionrs::` changes.

Add .github/workflows/release.yml: on a version tag it checks the tag
matches Cargo.toml and runs `cargo publish`, using a CARGO_REGISTRY_TOKEN
secret (org-level, or set on this repo).
@ndreno
ndreno merged commit a1c5d09 into main Sep 12, 2026
4 checks passed
@ndreno
ndreno deleted the feat/publish-barbacane-libinjection branch September 12, 2026 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant