shopping-parser 0.1.1

A Rust-based parser for parsing structured product information and shopping lists, supporting multiple currencies and units.
Documentation
[
  {
    "product_name": "apple",
    "category": "fruit",
    "price_per_unit": 15.0,
    "unit": "UAH/kg",
    "calories": 52.0,
    "proteins": 0.4,
    "carbohydrates": 9.42,
    "fats": 0.2
  },
  {
    "product_name": "milk",
    "category": "dairy",
    "price_per_unit": 13.0,
    "unit": "UAH/l",
    "calories": 42.0,
    "proteins": 3.6,
    "carbohydrates": 4.8,
    "fats": 3.6
  },
  {
    "product_name": "chicken",
    "category": "meat",
    "price_per_unit": 40.0,
    "unit": "UAH/kg",
    "calories": 239.0,
    "proteins": 25.0,
    "carbohydrates": 0.0,
    "fats": 7.0
  },
  {
    "product_name": "beef",
    "category": "meat",
    "price_per_unit": 150.0,
    "unit": "UAH/kg",
    "calories": 250.0,
    "proteins": 26.1,
    "carbohydrates": 0.0,
    "fats": 15.0
  },
  {
    "product_name": "banana",
    "category": "fruit",
    "price_per_unit": 12.0,
    "unit": "UAH/kg",
    "calories": 96.0,
    "proteins": 1.3,
    "carbohydrates": 22.8,
    "fats": 0.3
  },
  {
    "product_name": "broccoli",
    "category": "vegetable",
    "price_per_unit": 25.0,
    "unit": "UAH/kg",
    "calories": 34.0,
    "proteins": 2.8,
    "carbohydrates": 6.6,
    "fats": 0.4
  },
  {
    "product_name": "yogurt",
    "category": "dairy",
    "price_per_unit": 20.0,
    "unit": "UAH/l",
    "calories": 59.0,
    "proteins": 3.5,
    "carbohydrates": 4.7,
    "fats": 3.3
  },
  {
    "product_name": "salmon",
    "category": "fish",
    "price_per_unit": 200.0,
    "unit": "UAH/kg",
    "calories": 208.0,
    "proteins": 20.4,
    "carbohydrates": 0.0,
    "fats": 13.0
  },
  {
    "product_name": "rice",
    "category": "grain",
    "price_per_unit": 30.0,
    "unit": "UAH/kg",
    "calories": 130.0,
    "proteins": 2.7,
    "carbohydrates": 28.0,
    "fats": 0.3
  },
  {
    "product_name": "cheese",
    "category": "dairy",
    "price_per_unit": 120.0,
    "unit": "UAH/kg",
    "calories": 402.0,
    "proteins": 25.0,
    "carbohydrates": 1.3,
    "fats": 33.0
  },
  {
    "product_name": "egg",
    "category": "poultry",
    "price_per_unit": 5.0,
    "unit": "UAH/pcs",
    "calories": 155.0,
    "proteins": 13.0,
    "carbohydrates": 1.1,
    "fats": 11.0
  },
  {
    "product_name": "avocado",
    "category": "fruit",
    "price_per_unit": 60.0,
    "unit": "UAH/pcs",
    "calories": 160.0,
    "proteins": 2.0,
    "carbohydrates": 8.5,
    "fats": 15.0
  }
]