1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-26 02:19:22 +02:00

docs(session): doc adding features using cargo add

This commit is contained in:
Rob Ede
2024-08-07 01:03:40 +01:00
parent f2339971cd
commit d10b71fe06
2 changed files with 16 additions and 18 deletions

View File

@ -19,11 +19,17 @@ msrv_rustup := "+" + msrv
clippy:
cargo {{ toolchain }} clippy --workspace --all-targets --all-features
# Format workspace.
# Format project.
[group("lint")]
fmt: update-readmes
cargo +nightly fmt
fd --hidden --extension=yml --extension=md --exec-batch npx -y prettier --write
fd --type=file --hidden --extension=yml --extension=md --exec-batch npx -y prettier --write
# Check project.
[group("lint")]
check:
cargo +nightly fmt -- --check
fd --type=file --hidden --extension=yml --extension=md --exec-batch npx -y prettier --check
# Update READMEs from crate root documentation.
[group("lint")]