Skip to main content

Crate kdo_core

Crate kdo_core 

Source
Expand description

Core types and error definitions for the kdo workspace manager.

This crate provides the foundational data structures used across all kdo crates: Project, Dependency, Language, and the unified KdoError type.

Structs§

Dependency
A single dependency edge between projects.
Project
A discovered project within the workspace.
ProjectConfig
Per-project overrides declared under [projects.<name>] in kdo.toml.
TaskDef
Full task definition with pipeline semantics.
WorkspaceConfig
Workspace configuration parsed from kdo.toml.
WorkspaceMeta
Workspace metadata section of kdo.toml.

Enums§

DepKind
Dependency relationship kind.
KdoError
Unified error type for all kdo operations.
Language
Programming language / framework detected for a project.
TaskSpec
A single task definition. Can be declared either as a bare command string (build = "cargo build") or as a full spec ([tasks.build] command = "...").

Functions§

estimate_tokens
Rough token estimator: ~4 characters per token for English/code.