1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! Fast Excel writer optimized for streaming
//!
//! This module provides a high-performance Excel writer that focuses on:
//! - Minimal memory allocations (< 80 MB for any file size)
//! - Direct XML generation
//! - Optimized ZIP compression
//! - Streaming-first design
use crateResult;
use Path;
pub use ;
pub use UltraLowMemoryWorkbook;
pub use FastWorksheet;
/// Create a fast Excel writer optimized for large datasets
///
/// # Examples
///
/// ```no_run
/// use excelstream::fast_writer::UltraLowMemoryWorkbook;
///
/// let mut workbook = UltraLowMemoryWorkbook::new("output.xlsx")?;
/// workbook.add_worksheet("Sheet1")?;
///
/// workbook.write_row(&["Name", "Age", "Email"])?;
/// workbook.write_row(&["Alice", "30", "alice@example.com"])?;
///
/// workbook.close()?;
/// # Ok::<(), Box<dyn std::error::Error>>(())
/// ```