postgresql_extensions 0.20.2

A library for managing PostgreSQL extensions
Documentation

PostgreSQL Extensions

ci Documentation Code Coverage Benchmarks Latest version License Semantic Versioning

A configurable library for managing PostgreSQL extensions.

Examples

Asynchronous API

use postgresql_extensions::{get_available_extensions, Result};

#[tokio::main]
async fn main() -> Result<()> {
    let extensions = get_available_extensions().await?;
    Ok(())
}

Synchronous API

use postgresql_extensions::Result;
use postgresql_extensions::blocking::get_available_extensions;

async fn main() -> Result<()> {
    let extensions = get_available_extensions().await?;
    Ok(())
}

Feature flags

postgresql_extensions uses [feature flags] to address compile time and binary size uses.

The following features are available:

Name Description Default?
blocking Enables the blocking API No
native-tls Enables native-tls support Yes
rustls-tls Enables rustls-tls support No

Repositories

Name Description Default?
portal-corp Enables PortalCorp PostgreSQL extensions Yes
steampipe Enables Steampipe PostgreSQL extensions Yes
tensor-chord Enables TensorChord PostgreSQL extensions Yes

Supported platforms

postgresql_extensions provides implementations for the following:

License

Licensed under either of

at your option.

Contribution

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