Skip to main content

Module info

Module info 

Source
Expand description

cargo kick info — print a snapshot of the current kick-rs project.

Pulls together:

  • Package metadata from Cargo.toml (name, version)
  • Which kick-rs version + features the project declares
  • Every module on disk (under src/modules/<name>/mod.rs), plus the services and contributors registered in each module’s builder chain.

Module-detail extraction is text-level — we scan for the same patterns the scaffold + generators emit (define_module(...), .prefix(...), .service::<...>(), .contribute(...)). That intentionally undercovers exotic adopter shapes; cleanly-shaped projects (generated by cargo kick g) report perfectly.

Structs§

InfoArgs
Decoded form of the info subcommand.
ModuleInfo
ProjectInfo
Top-level snapshot rendered by render_info.

Enums§

InfoError

Functions§

collect_info
Collect the snapshot from disk.
render_info
Render the snapshot for the CLI.