[[bench]]
harness = false
name = "parsing_benchmark"
path = "benches/parsing_benchmark.rs"
[dependencies.json]
optional = true
package = "serde_json"
version = "1"
[dependencies.serde]
features = ["derive"]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.toml]
optional = true
version = "0.9"
[dependencies.yaml]
optional = true
package = "yaml-rust2"
version = "0.10"
[dev-dependencies.cargo-husky]
features = ["precommit-hook", "run-cargo-test", "run-cargo-clippy", "run-cargo-fmt"]
version = "1"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"
[dev-dependencies.gray_matter_old]
package = "gray_matter"
version = "0.2"
[features]
default = ["yaml"]
json = ["dep:json"]
toml = ["dep:toml"]
yaml = ["dep:yaml"]
[lib]
name = "gray_matter"
path = "src/lib.rs"
[package]
authors = ["Hanchin Hsieh <me@yuchanns.xyz>", "Knut Magnus Aasrud <km@aasrud.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Smart front matter parser. An implementation of gray-matter in rust. Parses YAML, JSON, TOML and support for custom parsers."
edition = "2018"
exclude = [".github/*"]
homepage = "https://github.com/the-alchemists-of-arland/gray-matter-rs"
keywords = ["markdown", "parse", "front-matter", "gray-matter", "front-matter-parsers"]
license = "MIT"
name = "gray_matter"
readme = "README.md"
repository = "https://github.com/the-alchemists-of-arland/gray-matter-rs"
version = "0.3.2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "matter_read"
path = "tests/matter_read.rs"