alef 0.24.6

Opinionated polyglot binding generator for Rust libraries
Documentation

License Crates.io CI Built with alef

alef

Polyglot binding generator for Rust libraries. alef generates complete language bindings from a single source-of-truth configuration, targeting 18 languages: Python, TypeScript/Node, WebAssembly, C FFI, Ruby, PHP, Elixir, R, Go, Java/JNI, Kotlin, Kotlin Android, C#, Dart, Gleam, Swift, Zig, and Brew CLI.

Install

cargo install alef --locked

Quick start

alef generate              # Generate all configured bindings
alef e2e generate         # Generate end-to-end test suites
alef readme               # Generate README templates for each language

See the full documentation for configuration, CLI reference, and architecture.

Ecosystem

  • Kreuzberg — document intelligence: text, tables, metadata from 91+ formats with optional OCR.
  • Kreuzberg Cloud — managed extraction API with SDKs, dashboards, and observability.
  • kreuzcrawl — web crawling and scraping with HTML→Markdown and headless-Chrome fallback.
  • html-to-markdown — fast, lossless HTML→Markdown engine.
  • liter-llm — universal LLM API client with native bindings for 14 languages and 143 providers.
  • tree-sitter-language-pack — tree-sitter grammars and code-intelligence primitives.

License

MIT