[package]
edition = "2024"
rust-version = "1.95"
name = "tfparser-core"
version = "0.1.0"
authors = ["tfparser contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Library for parsing Terraform / Terragrunt source repositories into a queryable IR (Parquet-backed)."
homepage = "https://github.com/tchen/tfparser"
documentation = "https://docs.rs/tfparser-core"
readme = "README.md"
keywords = [
"terraform",
"terragrunt",
"hcl",
"parquet",
"infrastructure",
]
categories = [
"development-tools",
"parser-implementations",
]
license = "MIT"
repository = "https://github.com/tchen/tfparser"
[lib]
name = "tfparser_core"
path = "src/lib.rs"
[[example]]
name = "parse_and_export"
path = "examples/parse_and_export.rs"
[[example]]
name = "parse_one_liner"
path = "examples/parse_one_liner.rs"
[[test]]
name = "dependency_graph_pipeline"
path = "tests/dependency_graph_pipeline.rs"
[[test]]
name = "discovery_loader_pipeline"
path = "tests/discovery_loader_pipeline.rs"
[[test]]
name = "evaluator_pipeline"
path = "tests/evaluator_pipeline.rs"
[[test]]
name = "graph_expansion_pipeline"
path = "tests/graph_expansion_pipeline.rs"
[[test]]
name = "parquet_export_pipeline"
path = "tests/parquet_export_pipeline.rs"
[[test]]
name = "parquet_schema_golden"
path = "tests/parquet_schema_golden.rs"
[[test]]
name = "provider_pipeline"
path = "tests/provider_pipeline.rs"
[[test]]
name = "terragrunt_cascade"
path = "tests/terragrunt_cascade.rs"
[[test]]
name = "workspace_round_trip"
path = "tests/workspace_round_trip.rs"
[[bench]]
name = "pipeline"
path = "benches/pipeline.rs"
harness = false
[dependencies.arc-swap]
version = "1.9"
[dependencies.arrow]
version = "58"
features = ["prettyprint"]
default-features = false
[dependencies.base64]
version = "0.22"
[dependencies.dashmap]
version = "6"
[dependencies.globset]
version = "0.4"
[dependencies.hcl-edit]
version = "0.9"
[dependencies.hcl-rs]
version = "0.19"
[dependencies.ignore]
version = "0.4"
[dependencies.jiff]
version = "0.2"
[dependencies.parquet]
version = "58"
features = [
"arrow",
"zstd",
"snap",
]
default-features = false
[dependencies.regex]
version = "1.12"
[dependencies.rust-ini]
version = "0.21"
[dependencies.ryu]
version = "1"
[dependencies.serde]
version = "1"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "1"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.sha2]
version = "0.11"
[dependencies.smallvec]
version = "1.15"
features = [
"serde",
"const_generics",
]
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dependencies.typed-builder]
version = "0.23"
[dependencies.validator]
version = "0.20"
features = ["derive"]
[dev-dependencies.anyhow]
version = "1"
[dev-dependencies.criterion]
version = "0.8"
features = [
"html_reports",
"rayon",
]
default-features = false
[dev-dependencies.insta]
version = "1.47"
[dev-dependencies.proptest]
version = "1.11"
[dev-dependencies.rstest]
version = "0.26"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"fmt",
]
[lints.clippy]
dbg_macro = "deny"
expect_used = "deny"
indexing_slicing = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unsafe_code = "forbid"
[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1