open_postgres_pool_with_tls_options (src/lib.rs)

ironclaw · crates/events/ironclaw_event_store/src/lib.rs · rust · Apache-2.0
database

open_postgres_pool_with_tls_options creates a Postgres connection pool with TLS settings for secure event storage.

// Source: https://github.com/nearai/ironclaw | License: Apache-2.0 | Copyright 2026 NEAR AI
// Provided via justclaw.it.com; keep this notice with the code.
// arch-exempt: large_file, adds Postgres TLS preflight helper in existing backend module, plan #8
//! Reborn-owned durable event and audit store backends.
//!
//! This crate is the production-composition side of the Reborn event
//! substrate. `ironclaw_event_log` owns the durable log traits and redacted record
//! vocabulary; this crate owns backend selection, fail-closed profile
//! validation, and concrete storage adapters that should not live in the
//! substrate crate.
//!
//! Backend dispatch happens at the [`RootFilesystem`] layer: the `Libsql` /
//! `Postgres` variants of [`RebornEventStoreConfig`] open a backend-specific
//!

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key