excel-api
Safe Rust building blocks for native 64-bit Microsoft Excel XLL add-ins.
excel-api is the high-level companion to excel-api-sys: callback inputs are
borrowed for exactly their Excel callback lifetime, owned semantic values are
pointer-free, return planning allocates stable DLL-owned XLOPER12 storage, and
typed contexts restrict Excel calls to documented callback capabilities.
Quick start
use *;
#
The default macros feature re-exports excel_function and excel_command.
xlcontime-research is an experimental, doc-hidden compatibility probe; it is
not a supported autonomous wake mechanism. RTD, COM/Ribbon UI, task panes, and
autonomous notification are outside the stable core.
Async UDFs and the cooperative dispatcher are preview features: automated coverage is present, while their full Excel lifecycle/pump validation remains pending. Enqueueing dispatcher work never wakes Excel.
See the repository user guide, the minimal XLL example, and the crate Rustdoc for API-specific ownership and callback restrictions.
Supported target: 64-bit Windows Excel using the Excel 12 C API. 32-bit Excel and arbitrary background-thread Excel calls are unsupported.
Licensed under either Apache-2.0 or MIT.