Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ztgx/templateme
Generate template Cargo project in Rust
https://github.com/ztgx/templateme
Last synced: 2 days ago
JSON representation
Generate template Cargo project in Rust
- Host: GitHub
- URL: https://github.com/ztgx/templateme
- Owner: zTgx
- License: apache-2.0
- Created: 2019-08-09T09:55:04.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-11T14:31:35.000Z (over 5 years ago)
- Last Synced: 2025-01-01T07:08:13.708Z (14 days ago)
- Language: Rust
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# templateme [![Travis status](https://travis-ci.org/zTgx/templateme.svg?branch=master)](https://travis-ci.org/zTgx/templateme) [![crate](https://img.shields.io/crates/v/templateme.svg)](https://crates.io/crates/templateme)
Generate template Cargo project in Rust
NOTE:
`git` required.# Usage
```
git clone https://github.com/zTgx/templateme.git
cd templateme
cargo install --path .
templateme --new proj_name
```
Template project's src tree :
```
├── Cargo.toml
├── .travis.yml
├── LICENSE-APACHE
├── LICENSE-MIT
├── README.md
├── .gitignore
├── examples
└── src
```and in `Cargo.toml` includings:
```
[package]
name = "proj_name"
version = "0.1.0"
authors = ["Replace Me"]
edition = "2018"
repository = "https://github.com/Replace Me.git"
readme = "README.md"
keywords = [ "Replace Me" ]
categories = [ "Replace Me" ]
license = "MIT/Apache-2.0"
exclude = [ "/.travis.yml" ]
description = "Replace Me"[dependencies]
```
and in `.gitignore` includings:
```
/target
**/*.rs.bk
Cargo.lock
```
and in `.travis.yml` includings:
```
language: rust
sudo: falserust:
- stablescript:
- cargo build --verbose --all
```
and others includings default contents.# Have Fun.