Skip to main content

Module core

Module core 

Source
Expand description

Core types and configuration for alef polyglot binding generator. Defines IR types, config schema, and backend trait.

Re-exports§

pub use backend::Backend;
pub use backend::Capabilities;
pub use backend::GeneratedFile;
pub use config::resolve_output_dir;
pub use error::AlefError;
pub use extension::Extension;
pub use extension::ExtensionConfig;
pub use ir::ApiSurface;
pub use template_env::TemplateEnv;
pub use toolchain::tool_command;

Modules§

backend
config
error
extension
Extension trait and supporting types for alef.
hash
Content hashing and generated-file headers.
ir
jni
Shared symbol-naming utilities for JNI emission.
keep_marker
Removal of alef’s internal ~keep comment marker from rendered template output.
keywords
Reserved keyword lists and field-name escaping for all supported language backends.
template_env
Thin wrapper over minijinja::Environment for use in extensions.
template_versions
Centralized third-party dependency version strings for code generation.
toolchain
Locating toolchain executables before spawning them.
validation
Central validation diagnostics for generation inputs and backend readiness.
version
Cross-ecosystem version-format conversions.