Skip to content
This repository was archived by the owner on Dec 29, 2021. It is now read-only.

Commit 1e04c94

Browse files
committed
chore(meta): Boilerplate
1 parent e0ec27a commit 1e04c94

File tree

7 files changed

+124
-0
lines changed

7 files changed

+124
-0
lines changed

.editorconfig

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# editorconfig.org
4+
5+
root = true
6+
7+
8+
[*]
9+
end_of_line = lf
10+
charset = utf-8
11+
trim_trailing_whitespace = true
12+
insert_final_newline = true
13+
indent_style = space
14+
indent_size = 4
15+
16+
[*.rs]
17+
indent_style = space
18+
indent_size = 4
19+
20+
[*.toml]
21+
indent_style = space
22+
indent_size = 4
23+
24+
[*.md]
25+
trim_trailing_whitespace = false

.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Project specific stuff
2+
target
3+
Cargo.lock
4+
# rustfmt
5+
*.bk
6+
7+
# Editor Stuff
8+
*.sublime-project
9+
*.sublime-workspace
10+
.*.swp
11+
*.bak
12+
*~
13+
.vscode
14+
15+
# System stuff
16+
.DS_Store
17+
.Spotlight-V100
18+
.Trashes
19+
Thumbs.db
20+
ehthumbs.db
21+
Desktop.ini
22+
$RECYCLE.BIN/
23+
.directory

.travis.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
sudo: false
2+
language: rust
3+
rust:
4+
- nightly
5+
- beta
6+
- stable
7+
matrix:
8+
allow_failures:
9+
- rust: nightly
10+
before_script:
11+
- |
12+
pip install 'travis-cargo<0.2' --user &&
13+
export PATH=$HOME/.local/bin:$PATH
14+
script:
15+
- |
16+
travis-cargo build &&
17+
travis-cargo test &&
18+
travis-cargo bench &&
19+
travis-cargo --only stable doc
20+
addons:
21+
apt:
22+
packages:
23+
- libcurl4-openssl-dev
24+
- libelf-dev
25+
- libdw-dev
26+
after_success:
27+
- travis-cargo --only stable doc-upload
28+
- travis-cargo coveralls --no-sudo
29+
notifications:
30+
email:
31+
on_success: never
32+
env:
33+
global:
34+
- TRAVIS_CARGO_NIGHTLY_FEATURE=dev
35+
- secure: xNQrPN8bKN/rMtloaj8CXj+Nd14t04tbChjm1RNm9MZ/z7y7RJnbOqz3RETd1FIcmkLDy7rSvwK1MPAUYlppnyy2TB9TDn+CR51G2yMQbs9fZG9W0yyz7NZnyUzdtPaL4MjdqNomEiFHxThx5/6n1QWGSuE5f86G1q1MfVyjraT6ZypZajwdXIqpqBJRB4OTFiDY96CbVgWUBm/cd8hIFAWtd2Kxotp0FUmgQWI5sg2TDjKyj+4kp+hA1FOSFyHqeI12G7k0gFJiABRY5BrjJ1DXwquaKdpxg7Gh07kyUMSsQ0hoTgiSTCGhvk5TD9n2nozuLLfId8RlY/5ex0Re2mD5093YymQVY826IhYkXPQB1/t7sORpSy8L9RMMZTZ2BM6QUVFqY+MDjZE49FYDn4ULag2c0dx/5ENfaEajMWES04f/fEJIssYALkNBqpMEIKzhHMUYgyKVaLw1Q6uNnnV7exxIH5gMJetojw8+XIxoEW99I70w/F3D+eWr4OwpgeWaWjiG4iSQ6JpI4Xr/JRKrSRtDCFT9QuF/XaDEtD2qf6v9RVIyYpX9M2GrcGAy4jcyZQK7eTrjY+PFtxEmsgy6YaPHjS0xWFFxhGCiN69QEOyXljrs5dWQc+FEhIU/3+Ny9SFeCwNNY5O318A/n8E/hjYJqKGDT3LZHzsdYmk=

Cargo.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[package]
2+
name = "assert_cli"
3+
version = "0.1.0"
4+
authors = ["Pascal Hertleif <[email protected]>"]
5+
6+
[features]
7+
default = []
8+
dev = ["clippy"]
9+
10+
[dependencies]
11+
ansi_term = "0.6.3"
12+
difference = "0.4.0"
13+
clippy = {version = "0.0.19", optional = true}

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2015 Pascal Hertleif
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+

rustfmt.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
format_strings = false
2+
reorder_imports = true
3+

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#[test]
2+
fn it_works() {
3+
}

0 commit comments

Comments
 (0)