templateme

Crates.iotemplateme
lib.rstemplateme
version0.1.3
sourcesrc
created_at2019-08-10 00:39:02.787802
updated_at2019-08-11 15:12:23.678569
descriptionGenerate Cargo project template in Rust
homepage
repositoryhttps://github.com/zTgx/t.git
max_upload_size
id155515
size39,915
(zTgx)

documentation

README

templateme Travis status crate

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: false

rust:
  - stable

script:
  - cargo build --verbose --all  

and others includings default contents.

Have Fun.

Commit count: 19

cargo fmt