Skip to content

Add uniform Rust project configuration - #3

Merged
alshdavid merged 1 commit into
mainfrom
ALSH-239-uniform-rust-config
Oct 24, 2026
Merged

alshdavid merged 1 commit into
mainfrom
ALSH-239-uniform-rust-config

Conversation

@alshdavid-machine

Copy link
Copy Markdown
Contributor

Adopt the http-server-rs project configuration in flatdir so binary-building repos are uniform.

Added

  • .editorconfig, rust-toolchain (1.99.1), rustfmt.toml
  • AGENTS.md (copied from http-server-rs, title adjusted to flatdir)
  • .github/workflows/pull_request.yaml (test / format / lint / build)
  • .github/workflows/release.yaml (version / test / format / lint / multi-platform build / GitHub release / changelog)

Changed

  • Cargo.toml: added the http-server-rs [lints.rust] and [lints.clippy] blocks and bumped edition to 2024.
  • Code formatted with cargo xfmt where the new rustfmt config changed output.

Release workflow

  • crates.io publish step: excluded (this repo does not deploy to crates.io)
  • npm publish step: excluded (this repo does not deploy to npm)

Verification

  • cargo build --quiet
  • cargo xfmt
  • cargo clippy --quiet --all-targets --workspace -- -D warnings
  • cargo test --quiet --workspace

Add .editorconfig, rust-toolchain, rustfmt.toml, AGENTS.md and the
pull_request/release workflows modelled on http-server-rs. Add the
http-server-rs lints and clippy config, bump the edition to 2024, and
apply cargo xfmt formatting.
@alshdavid
alshdavid merged commit 0dc5db6 into main Oct 24, 2026
6 checks passed
@alshdavid
alshdavid deleted the ALSH-239-uniform-rust-config branch October 24, 2026 04:32
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.

2 participants