xll_utils/lib.rs
1//! PE/COFF parsing and export verification utilities for Excel XLL development.
2//!
3//! `xll-utils` provides tools to inspect, verify, and manage XLL add-in binaries.
4//!
5//! # Quick start
6//!
7//! ```no_run
8//! use xll_utils::pe::parse_pe_file;
9//! use xll_utils::exports::verify_pe_exports;
10//!
11//! let pe = parse_pe_file("my_xll.xll").unwrap();
12//! let report = verify_pe_exports(&pe, &["xlAutoOpen", "xlAutoFree12"]);
13//! assert!(report.complete);
14//! ```
15
16#![cfg_attr(docsrs, feature(doc_cfg))]
17
18pub mod error;
19pub mod types;
20pub mod pe;
21pub mod exports;
22pub mod xll;
23
24#[cfg(feature = "build")]
25#[cfg_attr(docsrs, doc(cfg(feature = "build")))]
26pub mod build;
27
28#[cfg(feature = "cli")]
29#[cfg_attr(docsrs, doc(cfg(feature = "cli")))]
30pub mod cli;
31
32#[cfg(windows)]
33#[cfg_attr(docsrs, doc(cfg(windows)))]
34pub mod registry;
35
36// Re-export commonly used types
37pub use error::{Error, Result};
38pub use types::{Architecture, ExportDiff, ExportInfo, NameMismatch, PeFile, VerificationReport};