molecular_formulas
emi_monorepo · Molecular-formula parser and strongly typed PostgreSQL data type
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 100811 | molecular_formulas | emi_monorepo | 0.1.0 | TYPE | GPL-3.0 | Rust |
PostgreSQL · 13, 14, 15, 16, 17
Usage
Sources:
molecular_formulas packages a Rust parser and utility library for molecular formulas as a PGRX extension artifact. In the reviewed 0.1.0 artifact, the generated extension SQL exposes no user-facing SQL parser, type, or function.
Core Workflow
This registers the extension only. Rust objects such as MolecularFormula, Ion, Atom, and Token are library APIs and are not PostgreSQL objects in the pinned generated SQL.
Current SQL Surface
- No SQL type, function, operator, view, or configuration parameter is declared in the reviewed generated SQL.
- The README describes the Rust parser as work in progress and lists molecular-orbital validation as future work; do not infer chemical-validity guarantees from parsing alone.
Operational Notes
Version 0.1.0 is non-relocatable. Its control file sets superuser = true and trusted = false, so a superuser must create it; it declares no prerequisite extension or preload requirement. Reinspect generated SQL and release notes before an upgrade because the SQL boundary may change independently of the Rust crate API.