#server-sent-events #testing #cli

hitt-parser

Parser for http files for the hitt http testing tool

19 releases

Uses new Rust 2024

0.0.19 Mar 20, 2025
0.0.17 Jan 13, 2025
0.0.16 Oct 2, 2024
0.0.10 Jul 14, 2024
0.0.2 Dec 23, 2023

#2380 in Parser implementations

Download history 1/week @ 2024-12-18 94/week @ 2025-01-08 30/week @ 2025-01-15 3/week @ 2025-02-05 3/week @ 2025-02-12 138/week @ 2025-02-19 31/week @ 2025-02-26 2/week @ 2025-03-05 140/week @ 2025-03-19 7/week @ 2025-03-26 2/week @ 2025-04-02

150 downloads per month
Used in 2 crates

MIT license

72KB
2K SLoC

hitt-parser

A HTTP parser with support for some extra features, built for the HTTP testing tool hitt.

Supported features

  • HTTP Method
  • HTTP URI
  • HTTP Version
  • Single line comment (#)
  • Multi line comment
  • Multiple requests in single file (### on a blank line between each request)
  • Variable declaration (@variable_name=value on a blank line)
  • Variable usage ({{ variable_name }})

Dependencies

~650KB
~10K SLoC