This repo is a workspace with the library at axum-login/ and examples under
examples/*.
- Prefer the builder-based
requireAPI for new docs/examples; macros are legacy conveniences. - Keep public API changes breaking only in breaking releases; document in
CHANGELOG.md. - Avoid unnecessary cloning; favor
Arcwhere shared state is needed. - Keep docs and examples in sync with the library API.
- Run
cargo fmt(orcargo +nightly fmt --all -- --checkin CI). - Clippy is enforced:
cargo clippy --workspace --all-targets --all-features -- -D warnings.
- Full suite:
cargo test(includes unit, integration, doc tests). - Targeted runs are ok while iterating, but re-run full suite before shipping.
- Update
CHANGELOG.mdfor net-new changes relative tomain. - Keep commit messages descriptive and documentation-friendly.