Skip to content

Commit

Permalink
docs: improve name explainer
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed May 25, 2024
1 parent cf1669b commit c7eeff7
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 18 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@

<!-- cargo-rdme start -->

String deserializers customization for serde.
**De**serialization trimming for strings in serde models.

<!-- cargo-rdme end -->
35 changes: 19 additions & 16 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,25 @@ msrv_rustup := "+" + msrv
_list:
@just --list

# Check project.
check: && clippy
just --unstable --fmt --check
fd --hidden --extension=md --extension=yml --exec-batch prettier --check
fd --hidden --extension=toml --exec-batch taplo format --check
fd --hidden --extension=toml --exec-batch taplo lint
cargo +nightly fmt -- --check
cargo machete --with-metadata
cargo rdme --check

# Format project.
fmt:
just --unstable --fmt
cargo rdme --force
fd --hidden --extension=toml --exec-batch taplo format
cargo +nightly fmt
cargo rdme --force
fd --hidden --extension=md --extension=yml --exec-batch prettier --write

# Clippy check workspace.
clippy:
cargo clippy --workspace --no-default-features
Expand Down Expand Up @@ -46,19 +65,3 @@ doc *args:
# Build workspace documentation, open it, and watch for changes.
doc-watch: (doc "--open")
cargo watch -- @just doc

# Check project.
check: && clippy
just --unstable --fmt --check
fd --hidden --extension=md --extension=yml --exec-batch prettier --check
fd --hidden --extension=toml --exec-batch taplo format --check
fd --hidden --extension=toml --exec-batch taplo lint
cargo +nightly fmt -- --check

# Format project.
fmt:
just --unstable --fmt
cargo rdme --force
fd --hidden --extension=toml --exec-batch taplo format
cargo +nightly fmt
fd --hidden --extension=md --extension=yml --exec-batch prettier --write
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! String deserializers customization for serde.
//! **De**serialization **trim**ming for strings in serde models.
#![no_std]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
Expand Down

0 comments on commit c7eeff7

Please sign in to comment.