Skip to content

Repository files navigation

pj-rust-lib

kata template layer for Rust library crates. Sits ABOVE yukimemi/pj-rust under yukimemi/pj-base in the compose order; pj-rust's CI matrix and tooling are the baseline, this layer adds:

  • A tag-driven release.yml that publishes to crates.io and stamps the GitHub release page with auto-generated notes — no cross-compile, no binary attach (libraries' canonical artifact is the crates.io tarball).
  • A kata:agents:rust-lib:* marker block in AGENTS.md covering the lib release flow, MSRV / SemVer caveats, and the cargo publish --dry-run pre-flight.
  • A baseline .editorconfig.

The companion preset is yukimemi/pj-presets:rust-lib (composes pj-base + pj-rust + pj-rust-lib).

Apply

kata init github.com/yukimemi/pj-presets:rust-lib

Or from a kata-managed PJ that's already on the cli preset and should be migrated to lib:

kata remove github.com/yukimemi/pj-rust-cli
kata add github.com/yukimemi/pj-rust-lib
kata apply

Sibling layers

About

kata template layer: Rust library extras (release flow → cargo publish + GitHub release notes, no binaries). Sits above pj-rust under pj-base.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors