inf2ron 0.1.0

Parse Stranded II .inf definition files (items, objects, units, buildings, combinations) and output RON format
Documentation
// inf2ron – parse Stranded II .inf definition files to RON
// Copyright (C) 2025  inf2ron contributors
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <https://www.gnu.org/licenses/>.

//! Parse Stranded II .inf definition files.
//!
//! Format: line-oriented key=value with multi-line blocks
//! delimited by `keyword=start` / `keyword=end`.
//! Supports `#` and `//` comments, multivalue keys,
//! comma-separated values.
//!
//! # Example
//!
//! ```rust
//! use inf2ron::InfParser;
//!
//! let entries = InfParser::parse_str(r#"
//! id=9
//! name=Meat
//! group=food
//! icon=gfx\meat.bmp
//! model=gfx\meat.b3d
//! "#).unwrap();
//! assert_eq!(entries.len(), 1);
//! assert_eq!(entries[0].fields.get("name").unwrap()[0], "Meat");
//! ```

pub mod cli;
pub mod error;
pub mod parser;
pub mod registry;
pub mod types;

pub use error::{InfError, InfResult};
pub use parser::InfParser;
pub use registry::*;
pub use types::*;