Crate preamble

source ·
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

  • Workspace Binary Crate Builders
  • Cargo Manifest Module
  • Github Actions Workflow Module
  • Et Cetera Directory Handlers
  • Git repository handler
  • Gitignore File Handler
  • Workspace Library Crate Builders
  • License File Helpers
  • Root-level Crate Helpers
  • Telemetry
  • Utility Functions

Macros

  • Creates a directory if it doesn’t exist and the provided --dry-run flag is not set.