Skip to main content

Module module

Module module 

Source
Available on crate feature module only.
Expand description

Module authoring support.

Modules§

cargo_toml
Targeted Cargo.toml edits that preserve existing formatting and comments.
lintlint
Consistency checks for an existing module directory.
manifest_edit
A narrow text-based edit for .asimov/module.yaml, deliberately not a full YAML parse+reserialize: every real manifest opens with a # See: ... comment and represents empty handles: fields as bare keys, and a serde round-trip would silently drop the comment and reformat those fields — an unacceptable blast radius for what should be a one-line insertion.
program
Adding a program to an existing module.

Structs§

CreatedModule
InvalidProgramName
The program name doesn’t match the asimov-<module>-<kind> shape.
NewModuleOptions

Enums§

NewModuleError
TemplateSource

Constants§

DEFAULT_TEMPLATE_GIT

Functions§

new_module