tpt-carbon

Audit-grade GHG accounting and ESG disclosure (CSRD, TCFD, SEC, ISSB) in Rust. Scope 1/2/3, typed units, full provenance. MIT OR Apache-2.0.

0 stars0 forks0 watchers
README

tpt-carbon

Audit-grade GHG (greenhouse gas) accounting and ESG disclosure data models in Rust, by TPT Solutions.

Status: scoping. No code yet. See TODO.md for the roadmap and spec.txt for the design.

Why

EU CSRD and SEC climate rules are turning voluntary ESG reporting into audited filings. Teams using spreadsheets and notebooks need reproducible tooling. There is no serious Rust implementation of the GHG Protocol today.

Principles

  • Methodological correctness: every calculation traces to a specific version of the GHG Protocol, PCAF or ISO 14064.
  • Provenance on every number: factor used, factor database version, and the activity data behind each emission quantity.
  • No floating point for emissions: rust_decimal plus typed units, so tCO2e and kgCO2e cannot be mixed by accident.
  • Uncertainty is shown: spend-based Scope 3 estimates carry ranges, not just point values.

Planned crates

CratePurpose
tpt-carbon-factorsEmission factor schema, GWP tables, DEFRA/eGRID data, ecoinvent loader (schema only)
tpt-carbon-scope1Direct emissions
tpt-carbon-scope2Purchased energy, location- and market-based
tpt-carbon-scope3Value chain (categories 1, 3, 6, 7, 11, 15 first)
tpt-carbon-inventoryAggregation, boundaries, base year, intensity
tpt-carbon-disclosureTCFD, CSRD ESRS E1, SEC, ISSB data models
tpt-carbon-pathwayTargets, SBTi trajectories, abatement
tpt-carbonUmbrella crate behind features

Not in scope

Carbon market trading, ESG scoring of third parties, and full life-cycle assessment.

License

Licensed under either of

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Copyright (c) TPT Solutions.