poe-item-parser

Crates.iopoe-item-parser
lib.rspoe-item-parser
version0.1.0
created_at2025-07-02 22:47:15.298993+00
updated_at2025-07-02 22:47:15.298993+00
descriptionPath of Exile Item Text Parser
homepage
repositoryhttps://github.com/gailingmic/poe-item-parser
max_upload_size
id1735661
size52,998
Michell Gailing (gailingmic)

documentation

README

Path of Exile Item Text Parser

This Rust library provides a parser for extracting structured data from Path of Exile (PoE) Item Text descriptions, typically copied directly from the game with Ctrl + C (or Ctrl + Alt + C wich also includes modifier types, tags & names).

It currently (hopefully) supports every equipable item. Maps, Tattoos, Idols etc. will be added later.

Usage Example

use poe_item_parser::PoeItem;

fn main() {
    let item_text = r#"Item Class: Belts
Rarity: Magic
Rustic Sash of the Whelpling
--------
Item Level: 14
--------
14% increased Global Physical Damage (implicit)
--------
+8% to Fire Resistance
"#;

    match PoeItem::parse(item_text) {
        Ok(item) => {
            println!("{:#?}", item);
        }
        Err(e) => {
            eprintln!("Error parsing item: {}", e);
        }
    }
}
Commit count: 0

cargo fmt