Expand description
A library for building and managing rust workspaces with batteries included. Preamble is used by amble for its core functionality.
§Overview
Contains a number of modules for building rust workspaces with batteries included.
§Usage
ⓘ
use preamble::telemetry;
fn main() {
// Initialize the tracing subscriber with 0 verbosity (only errors)
telemetry::init_tracing_subscriber(0).unwrap();
}
Modules§
- bins
- Workspace Binary Crate Builders
- cargo
- Cargo Manifest Module
- ci
- Github Actions Workflow Module
- etc
- Et Cetera Directory Handlers
- git
- Git repository handler
- gitignore
- Gitignore File Handler
- libs
- Workspace Library Crate Builders
- license
- License File Helpers
- root
- Root-level Crate Helpers
- telemetry
- Telemetry
- utils
- Utility Functions
Macros§
- create_
dir_ gracefully - Creates a directory if it doesn’t exist and the provided
--dry-run
flag is not set.