bestool_psql/
lib.rs

1#![deny(rust_2018_idioms)]
2// #[doc(hidden)] items must not be used! Only pub for testing purposes.
3
4#[doc(hidden)]
5pub mod audit;
6mod completer;
7mod config;
8mod error;
9mod input;
10mod ots;
11mod parser;
12mod pool;
13mod query;
14#[doc(hidden)]
15pub mod repl;
16#[doc(hidden)]
17pub mod result_store;
18mod schema_cache;
19mod signals;
20#[doc(hidden)]
21pub mod snippets;
22mod table;
23mod theme;
24mod tls;
25
26pub use audit::{ExportOptions, QueryOptions, export_audit_entries};
27pub use config::Config;
28pub use pool::{PgConnection, PgPool, create_pool};
29pub use repl::run;
30pub use signals::register_sigint_handler;
31pub use theme::Theme;
32
33pub fn default_audit_dir() -> String {
34	audit::Audit::help_text_default_dir()
35}