Module specification

Module specification 

Source
Expand description

Specification models for feature specifications and requirements

This module provides data structures for managing project specifications. Specifications represent detailed requirements, features, or implementation plans for specific aspects of a project. Each specification tracks its progress through defined status states.

§Examples

use project_manager_mcp::models::specification::{Specification, SpecStatus};
use chrono::Utc;

// Create a new specification
let spec = Specification {
    id: "20240115_user_authentication".to_string(),
    name: "User Authentication System".to_string(),
    description: "OAuth2 and JWT-based authentication".to_string(),
    status: SpecStatus::Draft,
    created_at: Utc::now(),
    updated_at: Utc::now(),
    content: "# User Authentication\n\n## Requirements\n- OAuth2 support\n- JWT tokens".to_string(),
};

Structs§

Specification
Represents a project specification with detailed requirements and implementation details.

Enums§

SpecStatus
Status of a specification throughout its lifecycle.