excel-api-sys 0.1.0

Raw Microsoft Excel C API ABI definitions for Rust
Documentation
  • Coverage
  • 100%
    97 out of 97 items documented1 out of 14 items with examples
  • Size
  • Source code size: 37.7 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.5 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 2s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • evnekdev/excel-api
    2 1 51
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • evnekdev

excel-api-sys

Raw, no_std, ABI-focused Rust definitions for the 64-bit Microsoft Excel 12 C API. The crate mirrors the checked-in XLCALL.H contract: primitive aliases, constants, C-layout structs/unions, and callback signatures.

This is not a safe ownership layer. XLOPER12 tags and ownership bits describe Excel protocol state; they do not validate pointers, grant Rust ownership, or permit a callback value to escape its lifetime. Direct callers must verify the Excel-issued callback capability, calling convention, tag/union member, pointer alignment and extent, allocation origin, aliasing, and cleanup protocol.

Most XLL authors should depend on excel-api, which provides borrowed views, owned values, return allocation, xlFree RAII, registration, and typed contexts. The supported target is 64-bit Windows Excel; 32-bit Excel and non-Windows hosts are unsupported.

Licensed under either Apache-2.0 or MIT.