1pub mod advisory_lock;
37pub mod auth;
38pub mod cache;
39pub mod cancel;
40pub mod config;
41pub mod connection;
42pub mod copy;
43pub mod error;
44pub mod generic_client;
45pub mod notify;
46pub mod observability;
47pub mod pipeline;
48pub mod pool;
49pub mod portal;
50pub mod protocol;
51pub mod row;
52pub mod statement;
53pub mod stream;
54pub mod tls;
55pub mod transaction;
56pub mod types;
57
58pub use advisory_lock::{PgAdvisoryLock, PgAdvisoryLockGuard};
61pub use cache::{CacheMetrics, StatementCache};
62pub use cancel::CancelToken;
63pub use config::{ChannelBinding, Config, LoadBalanceHosts, SslMode, TargetSessionAttrs};
64pub use connection::Connection;
65pub use copy::binary::{BinaryCopyDecoder, BinaryCopyEncoder};
66pub use copy::text::{TextCopyDecoder, TextCopyEncoder};
67pub use error::{Error, Result};
68pub use generic_client::GenericClient;
69pub use notify::Notification;
70pub use observability::{ObservabilityConfig, QueryMetrics, QueryMetricsCallback};
71pub use pool::{Pool, PoolMetrics, PooledConnection};
72pub use portal::Portal;
73pub use row::{CommandResult, Row, RowDescription, SimpleQueryMessage, SimpleQueryRow};
74pub use statement::Statement;
75pub use stream::RowStream;
76pub use transaction::{IsolationLevel, TransactionConfig};
77pub use types::{FromSql, Oid, ToSql};
78
79#[cfg(feature = "with-serde-json")]
80pub use types::json::Json;
81
82#[cfg(feature = "derive")]
84pub use sentinel_derive::{FromRow, FromSql, ToSql};