socketry-project 0.1.1

Shared project conventions and development tasks for Socketry Rust crates
Documentation

socketry-project

Shared conventions and development tasks for Rust projects in the Socketry organization.

Motivation

Rust projects should share a small set of clear conventions and a reliable release process without repeating task wiring in every repository.

Usage

Add socketry-project to the dependencies of your private bake/ package:

# bake/Cargo.toml
[dependencies]
bake = { package = "socketry-bake", version = "0.2" }
socketry-project = "0.1"

Link the tasks from bake/src/main.rs:

use bake::{Registry, Result};
use socketry_project as _;

fn main() -> Result<()> {
    Registry::discover()?.run()
}

This adds the standard Cargo, release, license, Readme, and agent-context tasks. It also registers a version-bump hook that updates the project's standard files.

See the project setup guide for the minimal Cargo configuration and the project conventions for repository layout, documentation, and code conventions. The Rust Project Layout and GitHub Repository Setup guides provide more detail.

Agent Context

Install Bake once, then install all context documents provided by the resolved Cargo dependencies:

cargo install socketry-cargo-bake --locked
cargo bake agent:context:install

The command copies every dependency's context/ guides into .agents/context/ and updates agents.md with links to those guides. Read agents.md, then open the relevant context files before continuing work. This crate provides Socketry project guidance, while its Bake dependencies provide focused guidance for Cargo publishing, licenses, Readmes, releases, and agent context. The no-argument install command discovers context from all resolved dependency crates used by the workspace.

The generated .agents/context/ directory is ignored by Git and can be refreshed by running the install task again after dependency updates. To install only this crate's guides, use cargo bake agent:context:install --package socketry-project.

See Agent Context for guidance on writing and organizing context for a project.

Releases

See releases.md for the full release history.

v0.1.1

  • Add a reusable Pull Requests guide to the packaged agent context.

v0.1.0

  • Establish shared conventions and standard Bake tasks for Socketry Rust projects.
  • Document project layout, GitHub setup, and agent context installation.

See Also

  • socketry-project — Shared project conventions and development tasks for Socketry Rust crates

Contributing

Please open an issue or pull request on GitHub.