# wolfxl-core
[](https://crates.io/crates/wolfxl-core)
[](https://docs.rs/wolfxl-core)
Pure-Rust xlsx reader with Excel number-format-aware cell rendering. Backs the
[`wolfxl-cli`](https://crates.io/crates/wolfxl-cli) previewer.
```toml
[dependencies]
wolfxl-core = "0.4"
```
```rust
use wolfxl_core::Workbook;
let mut wb = Workbook::open("examples/sample-financials.xlsx")?;
let sheet = wb.first_sheet()?;
let (rows, cols) = sheet.dimensions();
println!("{} rows x {} columns", rows, cols);
# Ok::<_, wolfxl_core::Error>(())
```
## Scope
- **In scope today**: read xlsx values, extract best-effort number-format
strings via [`calamine-styles`], classify formats into `FormatCategory`,
render via `format_cell`.
- **Not yet**: full `xl/styles.xml` cellXfs walker (style ids fall back to
`None` for fixtures generated by openpyxl), schema inference, write side.
The PyO3 layer in the sibling [`wolfxl`](https://pypi.org/project/wolfxl/)
PyPI package still owns its own xlsx implementation; unifying the two is
follow-up work.
## License
MIT