Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

API Documentation

This section documents the public Rust API of the dotling crate, similar to rustdoc output. dotling is primarily a CLI tool, but its modules can be used as a library for building custom dotfile management workflows.

Module overview

ModuleDescription
coreError types, filesystem helpers, path mapping, platform detection, state store
configConfiguration data model, TOML parser, template engine, variable store
cryptoChaCha20-Poly1305 encryption, Argon2id key derivation, vault management
syncEntry deployment, fingerprint tracking, lifecycle hooks, three-way merge

Re-exports

The crate root re-exports key types:

#![allow(unused)]
fn main() {
pub use error::{Error, Result};
pub use core::{error, fs, path, platform, store};
pub use config::{template, vars};
pub use sync::{deploy, fingerprint, hooks, merge};
}