seal/lib.rs
1//! Seal - Create Kubernetes SealedSecrets with a single secure command
2//!
3//! This library provides the core functionality for the Seal CLI tool,
4//! which simplifies the creation of Kubernetes SealedSecrets by handling
5//! temporary file management, cleanup, and kubeseal integration automatically.
6
7pub mod cli;
8pub mod error;
9pub mod k8s;
10pub mod models;
11pub mod security;
12
13// Re-export commonly used types
14pub use error::{KubeConfigError, SealingError, ValidationError};
15pub use models::{ClusterContext, SecretKeyValue};
16pub use security::{CleanupGuard, SecureTempFile};
17
18/// Library version
19pub const VERSION: &str = env!("CARGO_PKG_VERSION");