• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[package]
2name = "pest"
3description = "The Elegant Parser"
4version = "2.7.6"
5edition = "2021"
6authors = ["Dragoș Tiselice <dragostiselice@gmail.com>"]
7homepage = "https://pest.rs/"
8repository = "https://github.com/pest-parser/pest"
9documentation = "https://docs.rs/pest"
10keywords = ["pest", "parser", "peg", "grammar"]
11categories = ["parsing"]
12license = "MIT OR Apache-2.0"
13readme = "_README.md"
14rust-version = "1.61"
15
16[features]
17default = ["std", "memchr"]
18# Implements `std::error::Error` for the `Error` type
19std = ["ucd-trie/std", "dep:thiserror"]
20# Enables the `to_json` function for `Pair` and `Pairs`
21pretty-print = ["dep:serde", "dep:serde_json"]
22# Enable const fn constructor for `PrecClimber`
23const_prec_climber = []
24
25[dependencies]
26ucd-trie = { version = "0.1.5", default-features = false }
27serde = { version = "1.0.145", optional = true }
28serde_json = { version = "1.0.85", optional = true }
29thiserror = { version = "1.0.37", optional = true }
30memchr = { version = "2", optional = true }
31
32[dev-dependencies]
33criterion = { version = "0.5.1", features = ["html_reports"] }
34
35[[bench]]
36name = "stack"
37harness = false
38