Expand description
§adrs-core
Core library for managing Architecture Decision Records (ADRs).
This library provides the foundational types and operations for working with ADRs, including parsing, creating, linking, and querying decision records.
§Modes
The library supports two modes:
- Compatible mode (default): Writes markdown-only format compatible with adr-tools, but can read both legacy and next-gen formats.
- Next-gen mode: Uses YAML frontmatter for structured metadata, enabling richer features like typed links and better validation.
Structs§
- Adr
- An Architecture Decision Record.
- AdrLink
- A link between ADRs.
- Config
- Configuration for an ADR repository.
- Parser
- Parser for ADR files.
- Repository
- A repository of Architecture Decision Records.
- Template
- A template for generating ADRs.
- Template
Engine - Template engine for managing and rendering templates.
Enums§
- AdrStatus
- The status of an ADR.
- Config
Mode - The mode of operation for the ADR tool.
- Error
- Errors that can occur when working with ADRs.
- Link
Kind - The kind of link between ADRs.
- Template
Format - Built-in template formats.
- Template
Variant - Template variants for different levels of detail.
Type Aliases§
- Result
- Result type alias using the library’s error type.