alef-extract
Rust source extraction for alef
Parses Rust source files using syn to extract the public API surface into the alef IR (ApiSurface). Recursively resolves mod declarations from root source files, handles pub use re-exports, #[cfg]-gated fields, doc comments, serde rename_all attributes, newtype resolution, #[derive] trait detection, and default value extraction. Produces a complete ApiSurface containing struct definitions, enum definitions, error enums, free functions, and impl block methods for downstream code generation.
Part of the alef polyglot binding generator.
License
MIT