Crates.io | inirs |
lib.rs | inirs |
version | 0.1.6 |
source | src |
created_at | 2024-06-20 12:18:54.122683 |
updated_at | 2024-06-20 12:23:48.27365 |
description | A simple command line task manager |
homepage | https://github.com/nobel-von-it/inirs.git |
repository | https://github.com/nobel-von-it/inirs.git |
max_upload_size | |
id | 1277925 |
size | 23,518 |
================
This crate manager is a command-line utility that helps you create and manage Rust projects with specific dependencies. It uses the clap
crate for command-line parsing.
git clone https://github.com/nobel-von-it/inirs.git
cd inirs
cargo build --release
target/release/inirs <options>
inirs
package:
cargo install inirs
dir
The directory where the new project will be created. Defaults to /home/nerd/Dev/Rusty/
. This is my personal project directory.
name
The name of the new crate.
crates
A list of crates to add to the project, separated by spaces.
inirs --dir /path/to/project --name clap serde serde_json ...
Currently, full snippets are supported only for the following libraries:
All other libraries will be added in the future, but for now, only these libraries have comprehensive snippet support.
The project structure will be as follows:
src/main.rs
Cargo.toml
After running the crate manager, you can build and run your project using cargo build
and cargo run
respectively.
This crate manager assumes that you have cargo
installed and configured on your system.