[package]
name = "granit-parser"
readme = "README.md"
authors = [
"Ethiraric <ethiraric@gmail.com>",
"David Aguilar <davvid@gmail.com>",
"Yuheng Chen <yuhengchen@sensetime.com>",
"Bourumir Wyngs <bourumir-wyngs@gmail.com>"
]
categories = [ "encoding", "parser-implementations" ]
description = "A YAML parser in pure Rust with strict compliance"
documentation = "https://docs.rs/granit-parser/latest/granit_parser"
edition = "2021"
keywords = [ "yaml", "parser", "no-std" ]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bourumir-wyngs/granit-parser"
rust-version = "1.81.0"
version = "0.0.2"
exclude = [
"/tests/yaml-test-suite",
"/documents",
]
[features]
debug_prints = []
[dependencies]
arraydeque = { version = "0.5.1", default-features = false }
smallvec = { version = ">= 1.0.0, < 1.16.0" }
[dev-dependencies]
clap = "=4.5.48"
libtest-mimic = "=0.8.1"
[[test]]
name = "yaml-test-suite"
harness = false
[[bin]]
name = "dump_events"
path = "tools/dump_events.rs"
[[bin]]
name = "time_parser"
path = "tools/time_parse.rs"
[[bin]]
name = "run_parser"
path = "tools/run_bench.rs"
[lints.rust]
unsafe_code = "forbid"
unsafe_op_in_unsafe_fn = "deny"