Skip to main content

krypt_platform/
lib.rs

1//! `krypt-platform` — cross-platform OS abstractions.
2//!
3//! Where the OSes genuinely differ, the difference is handled here so the rest
4//! of the workspace does not need `cfg` arms:
5//!
6//! - [`process`] — spawning a program by name, including Windows `.cmd` /
7//!   `.bat` shims that `std::process::Command` cannot find on its own.
8//!
9//! The notification backends live in `krypt_core::notify`, not here.
10
11#![forbid(unsafe_code)]
12#![warn(missing_docs)]
13
14pub mod process;
15
16/// Crate version, exposed for `krypt --version` aggregation.
17pub const VERSION: &str = env!("CARGO_PKG_VERSION");