serde-doc

Crates.ioserde-doc
lib.rsserde-doc
version0.1.0
created_at2025-03-28 21:31:29.098799+00
updated_at2025-03-28 21:31:29.098799+00
descriptionA tool to generate documentation for Serde serialization and deserialization.
homepage
repository
max_upload_size
id1610485
size21,757
Shihao Xia (charlesxsh)

documentation

README

Crates.io

serde-doc is an tool that generates documentations for the serde structures in your source code without modifying any source code.

Features

  • Markdown (WIP) Direct human readable markdown document for the serde structures

  • JSON Schema (WIP) JSON Schema gives you more flexibilities to use other document generators.

Usage

A cargo extension CLI for generating documentation for serde structs

Usage: cargo serde-doc [OPTIONS] <COMMAND> [ARGS]

Commands:
  list  List available serde structs
  gen   Generate files using a generator
  help  Print this message or the help of the given subcommand(s)

Options:
  -m, --manifest-path <MANIFEST_PATH>  Path to the Cargo.toml file or directory containing it [default: .]
  -h, --help                           Print help
  -V, --version                        Print version

Dev

cargo install --path .
Commit count: 0

cargo fmt