#initialization #management #latest-version #projects #manage #io #setup

bin+lib limp

effortless project initialization and dependency management

9 releases

0.2.0 Dec 18, 2024
0.1.7 Dec 18, 2024
0.1.6 Nov 6, 2024
0.1.3 Sep 25, 2024

#191 in Configuration

Download history 507/week @ 2024-09-20 38/week @ 2024-09-27 5/week @ 2024-10-04 9/week @ 2024-10-11 1/week @ 2024-10-18 308/week @ 2024-11-01 47/week @ 2024-11-08 3/week @ 2024-11-15 1/week @ 2024-11-22 183/week @ 2024-12-13 30/week @ 2024-12-20

213 downloads per month

MIT license

32KB
528 lines

Limp - Rust Project Management CLI

Overview

Limp is a simple Command Line Interface (CLI) tool designed to streamline dependency management for Rust projects. It provides an easy way to initialize projects, add dependencies, and manage your project's configuration.

Features

  • Effortless Project Initialization: Quickly set up new projects with a single command.
  • Dependency Management: Add and manage dependencies with ease, including version and feature handling.
  • Integration with Crates.io: If you want, fetch the latest versions and features of dependencies from Crates.io.
  • Configuration Management: Manage your project's dependencies and configuration easily.
  • Code Generation: Generate code snippets based on dependencies and configuration. (yet not supported)

Installation

You have two primary methods to install and use Limp:

cargo install limp

After installation, you can use Limp directly:

limp init my_project
limp new serde
# Other commands...

Option 2: Clone and Run from Source

If you want to use the latest development version or contribute to the project:

git clone --depth=1 https://github.com/nobel-von-it/limp
cd limp
cargo run -- init my_project
cargo run -- new serde
# Use cargo run -- before each command when running from source

Requirements

  • Rust toolchain (rustc, cargo)
  • Git (for source installation)

Usage/Examples

1. Initialize a New Project

limp init <project-name> [-d <dependencies>]
  • Creates a new Rust project
  • Optional: Specify dependencies during initialization with -d flag
  • Example: limp init my_project -d serde tokio

2. Add a New Dependency

limp new <dependency-name> [options]

Options:

  • -v, --version <version>: Specify dependency version
  • -p, --path <path_to_snippet>: Path to a code snippet (yet not supported)
  • -f, --features <feature1> <feature2>: Enable specific features

Example:

limp new serde -v 1.0.0 -f derive

3. Delete a Dependency

limp del <dependency-name>

Removes a dependency from your configuration

4. Add Dependency to Existing Project

limp add <dependency-name>

Adds a dependency directly to the current project's Cargo.toml

5. List Dependencies

limp list

Displays all configured dependencies

6. Update Dependencies

limp update

Updates all dependencies to their latest versions

Dependencies

~4–5.5MB
~96K SLoC