alef
OfficialGenerate fully-typed Rust bindings across languages.
Software Engineering#code generation#multi-language#rust#e2e testing#ffi#ci verification#language bindings
Authorkreuzberg-dev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Alef eliminates the repetitive, error-prone work of manually writing and keeping multi-language bindings in sync with a Rust codebase, so your generated APIs stay accurate as your Rust sources evolve.
Core Features & Use Cases
- One config, many languages: Generate fully-typed language bindings from a single Rust-focused source-of-truth configuration for 16 backends (e.g., Python, Node/TypeScript, WASM, Ruby, PHP, Go, Java, C#, Kotlin, Elixir, Gleam, R, Swift, Dart, Zig, C).
- End-to-end pipeline: Extract API surface, generate bindings and type stubs, scaffold packages, generate per-language READMEs/docs, and optionally create fixture-driven e2e test suites.
- CI-friendly freshness guarantees: Use verify/diff to detect stale generated outputs via embedded per-file hashes, preventing silently diverging bindings across languages.
- Advanced interoperability patterns: Configure DTO styles, trait bridges, adapter patterns, FFI layers, version syncing, and pre-commit hooks to fit real-world library publishing workflows.
Quick Start
Run alef generate to produce the configured language bindings from your Rust crate and alef.toml configuration.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: alef Download link: https://github.com/kreuzberg-dev/alef/archive/main.zip#alef Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.