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
50
51
52
53
54
55
//! Build-time tooling for scanning and processing Evenframe types.
//!
//! This module provides utilities for:
//! - Scanning Rust workspaces for types with Evenframe derives
//! - Building configuration from parsed Rust types
//! - Processing struct and enum definitions
//! - Generating TypeScript types in build.rs files
//!
//! ## Quick Start (in build.rs)
//!
//! ```rust,ignore
//! fn main() {
//! evenframe_core::tooling::generate().expect("Type generation failed");
//! println!("cargo:rerun-if-changed=src/");
//! println!("cargo:rerun-if-changed=evenframe.toml");
//! }
//! ```
pub use *;
pub use *;
pub use *;
pub use *;
use crateEvenframeError;
/// Generates all enabled type outputs using configuration from evenframe.toml.
///
/// This is the simplest way to use the tooling module. It reads configuration from
/// `evenframe.toml` (searching from `CARGO_MANIFEST_DIR` upward) and generates
/// all enabled type outputs.
///
/// # Errors
///
/// Returns `EvenframeError` if:
/// - Configuration file cannot be found or parsed
/// - Source files cannot be read
/// - Output files cannot be written
/// Generates type outputs with a custom configuration.
///
/// Use this when you need to override settings from evenframe.toml or
/// configure generation programmatically.