Skip to content

Setup as a cargo workspace with core lib and CLI projects.

Notifications You must be signed in to change notification settings

jcpst/rust-utility-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

{{project-name}}

Quick Start

~$ cd {{project-name}}
~/{{project-name}}$ cargo run -- double 50

Project Structure

This repository is setup as a cargo workspace containing two rust projects: a library, and a CLI binary that brings it in as a dependency. The intention is to separate the core functionality from any presentation layer early on.

├── Cargo.lock
├── Cargo.toml
├── README.md
├── {{project-name}}
│   ├── Cargo.toml
│   └── src
│       └── lib.rs
└── {{project-name}}-cli
    ├── Cargo.toml
    └── src
        └── main.rs

About

This repository was generated using cargo-generate, with jcpst/rust-utility-template as the template.

cargo install cargo-generate
cargo generate --git jcpst/rust-utility-template --name {{project-name}}

About

Setup as a cargo workspace with core lib and CLI projects.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages