Skip to content

Commit

Permalink
Expose pg_config
Browse files Browse the repository at this point in the history
  • Loading branch information
theory committed Feb 7, 2025
1 parent 3dedec4 commit a16de7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ versions.
*/
pub mod api;
pub mod error;
mod pg_config;
pub mod pg_config;
mod pgrx;
mod pgxs;
mod pipeline;
Expand Down
2 changes: 2 additions & 0 deletions src/pg_config/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//! Interface to the `pg_config` utility.
use std::{
collections::{self, HashMap},
io::{BufRead, BufReader},
Expand All @@ -7,6 +8,7 @@ use std::{

use crate::error::BuildError;

/// Access values from the `pg_config` utility.
#[derive(Debug, PartialEq, Clone)]
pub struct PgConfig(HashMap<String, String>);

Expand Down

0 comments on commit a16de7a

Please sign in to comment.