alef-core 0.3.0

Core types, config schema, and backend trait for the alef polyglot binding generator
Documentation

alef-core

Core types, config schema, and backend trait for the alef polyglot binding generator

Defines the intermediate representation (IR) used to describe a Rust crate's public API surface, including ApiSurface, TypeDef, FunctionDef, EnumDef, ErrorDef, FieldDef, MethodDef, and TypeRef. Also defines the Backend trait that all language backends implement, the AlefConfig schema for alef.toml configuration files, the Language enum covering all supported targets, and the GeneratedFile/Capabilities types. The IR is serializable via serde and serves as the exchange format between extraction and code generation stages.

Part of the alef polyglot binding generator.

License

MIT