iso8583_parser 0.1.7

An ISO8583 Message Parser
Documentation

ISO8583 parser

This Rust program gets iso messages in hex string format and it extracts and processes specific fields from an input message.

Usage

Utilize as a Command Line Interface (CLI).

  1. Clone the repository:

    git clone https://github.com/HosseinAssaran/ISO8583-Parser
    
    cd ISO8583-Parser
    
    
  2. Build and run the program:

    cargo build
    
    cargo run
    
    
  3. Follow the prompts to enter an iso message for parsing.

Integrate the Rust Parser CLI with a PHP Web Server.

  1. Clone the repository:

    git clone https://github.com/HosseinAssaran/ISO8583-Parser
    
    cd ISO8583-Parser
    
    
  2. Build relaese:

    cargo build --release
    
    
  3. Run PHP Server:

    php -S localhost:12345
    
    
  4. Open you browser and go to localhost:12345

Testing

To run tests, use the following command:

cargo test

Usage As a Library

  1. Add the iso8583_parser package to your project using Cargo:
cargo add iso8583_parser

  1. Import the necessary modules where you want to use the library functions:
use iso8583_parser::{StringManipulation, positions_of_set_bits, LTV};