[package]
edition = "2024"
rust-version = "1.88"
name = "rd-ast"
version = "0.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Canonical, producer-agnostic AST for R's Rd (documentation) format"
readme = "README.md"
keywords = [
"r",
"rstats",
"rd",
"documentation",
"ast",
]
categories = [
"data-structures",
"parsing",
]
license = "MIT"
repository = "https://github.com/eitsupi/r-documentation-rs"
[package.metadata.docs.rs]
all-features = true
[features]
rds = ["dep:rd-rds"]
serde = ["dep:serde"]
[lib]
name = "rd_ast"
path = "src/lib.rs"
[[test]]
name = "escape_semantics_fixture"
path = "tests/escape_semantics_fixture.rs"
[[test]]
name = "public_api"
path = "tests/public_api.rs"
[[test]]
name = "semantic_views_fixture"
path = "tests/semantic_views_fixture.rs"
[[test]]
name = "serde_roundtrip"
path = "tests/serde_roundtrip.rs"
[[test]]
name = "system_macro_provenance"
path = "tests/system_macro_provenance.rs"
[dependencies.rd-rds]
version = "0.0.1"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dev-dependencies.flate2]
version = "1"
[dev-dependencies.serde_json]
version = "1"