1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//! CKM Core — the Single Source of Truth for all CKM language SDKs.
//!
//! This crate contains ALL CKM algorithms: types, engine, migration,
//! validation, and formatting. It has zero FFI concerns. Language
//! wrappers (napi-rs, PyO3, CGo) depend on this crate.
//!
//! # Quick Start
//!
//! ```rust
//! use ckm::CkmEngine;
//! use serde_json::json;
//!
//! let data = json!({
//! "$schema": "https://ckm.dev/schemas/v2.json",
//! "version": "2.0.0",
//! "meta": {
//! "project": "my-tool",
//! "language": "rust",
//! "generator": "hand-authored",
//! "generated": "2026-01-01T00:00:00.000Z"
//! },
//! "concepts": [],
//! "operations": [],
//! "constraints": [],
//! "workflows": [],
//! "configSchema": []
//! });
//!
//! let engine = CkmEngine::new(data);
//! let index = engine.topic_index("my-tool");
//! println!("{}", index);
//! ```
// Re-exports for convenience
pub use CkmEngine;
pub use ;
pub use ;
pub use validate_manifest;