1#[cfg(feature = "auth")]
4pub mod auth;
5#[cfg(feature = "cache")]
6pub mod cache;
7pub mod config;
8mod constants;
9mod error;
10mod helpers;
11pub mod observability;
12mod pool;
13pub mod security;
14pub mod server;
15pub mod transport;
16pub mod types;
17mod validation;
18
19#[cfg(feature = "auth")]
20pub use auth::{
21 AuthConfig, AuthError, AuthMode, AuthenticatedUser, CachedOidcClient, IdTokenClaims, JwksCache,
22 JwtConfig, JwtValidator, OidcClient, OidcConfig, Permission, RbacConfig, RbacEnforcer,
23 TenantClaims, TenantConfig, TenantResolver,
24};
25#[cfg(all(feature = "auth", feature = "http"))]
26pub use auth::{AuthState, jwt_auth_middleware};
27#[cfg(feature = "cache")]
28pub use cache::{
29 CacheBackend, CacheConfig, CacheError, CacheKey, CacheNamespace, CacheProvider, CacheResult,
30 CacheStats, CacheTtlConfig, InMemoryCache, NoopCache, TracedCache, create_cache,
31};
32pub use config::{
33 AllowedOperations, Config, ConfigBuilder, DmlConfig, DmlOperation, ProcedureConfig,
34 TelemetryConfig, TransportConfig, TransportMode,
35};
36pub use error::{Error, Result};
37pub use pool::{Pool, PooledConnection, create_pool};
38pub use security::{QueryGuard, SchemaFilter};
39pub use server::ServerHandler;
40pub use types::*;