PGXN Meta
The pgxn_meta crate provides PGXN Meta Spec validation
The PGXN Meta Spec defines the requirements for the metadata file
(META.json) file for PGXN source distribution packages. This project
provides Rust a crates for working with spec META.json files.
Crate Usage
[]
= "1.0"
= "0.1"
use json;
use *;
func main
See the pgxn_meta docs on docs.rs for complete details.
Installation
There are several ways to install pgxn_meta.
ubi
Install the universal binary installer (ubi) and use it to install
pgxn_meta and many other tools.
Binary Releases
Grab the appropriate binary release, untar or unzip it, and put the
pgxn_meta executable somewhere in your path.
Cargo
Compile and install pgxn_meta via cargo by running:
See the cargo docs to learn where the binary will be installed.
Usage
Simply execute pgxn_meta to validate the PGXN META.json file in the
current directory:
If the file has a different name, simply pass it:
Contributing
We welcome community contributions to this project. All contributors must abide by the PostgresSQL Code of Conduct.
- Create Issues to submit bug reports and feature requests
- Submit Pull Requests to fix issues or add features
License
This project is distributed under the PostgreSQL License.