1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//! `krypt-core` — the engine.
//!
//! Everything that does real work lives here, behind a stable Rust API.
//! The `krypt` binary (in `krypt-cli`) is a thin shell around this crate.
//!
//! Current modules:
//!
//! - [`config`] — `.krypt.toml` schema, parser, validator (issue #9)
//! - [`paths`] — `${VAR}` resolution with XDG defaults + platform gating
//! (issue #11)
//! - [`include`] — `include = [...]` glob expansion and config merging
//! (issue #10)
//! - [`copy`] — plan + atomic deploy of [[link]] and [[template]]
//! entries to their resolved destinations (issue #12)
//! - [`manifest`] — versioned record of what was deployed, with sha256
//! hashes for drift detection (issue #13)
//! - [`deploy`] — high-level link / unlink / relink orchestration
//! over the other modules (issue #15)
//! - [`tool_config`] — `${XDG_CONFIG}/krypt/config.toml` schema + I/O
//! (issue #14)
//! - [`init`] — `krypt init` orchestration: clone + write tool config
//! (issue #14)
//! - [`update`] — `krypt update` orchestration: pull repo + re-deploy
//! (issue #17)
//! - [`adopt`] — `krypt adopt` / `krypt adopt-edits`: import existing
//! dotfiles into the repo and sync in-place edits back (issue #16)
//! - [`doctor`] — `krypt doctor` diagnostic health-check: prints one
//! status line per check and serializes to JSON for `--json` (issue #20)
//!
//! - [`setup`] — `krypt setup` interactive wizard: reads `[prompts]`
//! sections, asks questions, and applies one of four built-in writers
//! (gitconfig, hypr_vars, env, generic_template) (issue #18).
pub use ;
/// Crate version, exposed for `krypt --version` aggregation.
pub const VERSION: &str = env!;