Skip to content

Commit b09cfcc

Browse files
PRolice v0.0.1
0 parents  commit b09cfcc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+10184
-0
lines changed
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# https://github.com/actions-rs/meta/blob/master/recipes/quickstart.md
2+
3+
on: [push, pull_request]
4+
5+
name: Continuous integration
6+
7+
jobs:
8+
check:
9+
name: Check
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions-rs/toolchain@v1
14+
with:
15+
profile: minimal
16+
toolchain: stable
17+
override: true
18+
- uses: actions-rs/cargo@v1
19+
with:
20+
command: check
21+
22+
test:
23+
name: Test Suite
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: actions/checkout@v2
27+
- uses: actions-rs/toolchain@v1
28+
with:
29+
profile: minimal
30+
toolchain: stable
31+
override: true
32+
- uses: actions-rs/cargo@v1
33+
with:
34+
command: test
35+
36+
fmt:
37+
name: Rustfmt
38+
runs-on: ubuntu-latest
39+
steps:
40+
- uses: actions/checkout@v2
41+
- uses: actions-rs/toolchain@v1
42+
with:
43+
profile: minimal
44+
toolchain: stable
45+
override: true
46+
- run: rustup component add rustfmt
47+
- uses: actions-rs/cargo@v1
48+
with:
49+
command: fmt
50+
args: --all -- --check
51+
52+
clippy:
53+
name: Clippy
54+
runs-on: ubuntu-latest
55+
steps:
56+
- uses: actions/checkout@v2
57+
- uses: actions-rs/toolchain@v1
58+
with:
59+
profile: minimal
60+
toolchain: stable
61+
override: true
62+
- run: rustup component add clippy
63+
- uses: actions-rs/cargo@v1
64+
with:
65+
command: clippy
66+
args: --

.gitignore

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/clion+all,rust
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=clion+all,rust
3+
4+
### CLion+all ###
5+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
6+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
7+
8+
# User-specific stuff
9+
.idea/**/workspace.xml
10+
.idea/**/tasks.xml
11+
.idea/**/usage.statistics.xml
12+
.idea/**/dictionaries
13+
.idea/**/shelf
14+
15+
# Generated files
16+
.idea/**/contentModel.xml
17+
18+
# Sensitive or high-churn files
19+
.idea/**/dataSources/
20+
.idea/**/dataSources.ids
21+
.idea/**/dataSources.local.xml
22+
.idea/**/sqlDataSources.xml
23+
.idea/**/dynamic.xml
24+
.idea/**/uiDesigner.xml
25+
.idea/**/dbnavigator.xml
26+
27+
# Gradle
28+
.idea/**/gradle.xml
29+
.idea/**/libraries
30+
31+
# Gradle and Maven with auto-import
32+
# When using Gradle or Maven with auto-import, you should exclude module files,
33+
# since they will be recreated, and may cause churn. Uncomment if using
34+
# auto-import.
35+
# .idea/artifacts
36+
# .idea/compiler.xml
37+
# .idea/jarRepositories.xml
38+
# .idea/modules.xml
39+
# .idea/*.iml
40+
# .idea/modules
41+
# *.iml
42+
# *.ipr
43+
44+
# CMake
45+
cmake-build-*/
46+
47+
# Mongo Explorer plugin
48+
.idea/**/mongoSettings.xml
49+
50+
# File-based project format
51+
*.iws
52+
53+
# IntelliJ
54+
out/
55+
56+
# mpeltonen/sbt-idea plugin
57+
.idea_modules/
58+
59+
# JIRA plugin
60+
atlassian-ide-plugin.xml
61+
62+
# Cursive Clojure plugin
63+
.idea/replstate.xml
64+
65+
# Crashlytics plugin (for Android Studio and IntelliJ)
66+
com_crashlytics_export_strings.xml
67+
crashlytics.properties
68+
crashlytics-build.properties
69+
fabric.properties
70+
71+
# Editor-based Rest Client
72+
.idea/httpRequests
73+
74+
# Android studio 3.1+ serialized cache file
75+
.idea/caches/build_file_checksums.ser
76+
77+
### CLion+all Patch ###
78+
# Ignores the whole .idea folder and all .iml files
79+
# See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360
80+
81+
.idea/
82+
83+
# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023
84+
85+
*.iml
86+
modules.xml
87+
.idea/misc.xml
88+
*.ipr
89+
90+
# Sonarlint plugin
91+
.idea/sonarlint
92+
93+
### Rust ###
94+
# Generated by Cargo
95+
# will have compiled files and executables
96+
/target/
97+
98+
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
99+
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
100+
Cargo.lock
101+
102+
# End of https://www.toptal.com/developers/gitignore/api/clion+all,rust

.rustfmt.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# https://rust-lang.github.io/rustfmt/?version=v1.4.36&search=
2+
3+
edition = "2018"
4+
5+
use_small_heuristics = "Off"
6+
use_try_shorthand = true
7+
fn_args_layout = "Compressed"

AUTHORS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Moral rights:
2+
Gonzalo López (DazedNConfused-)
3+
4+
The version control system provides attribution for specific lines of code.

0 commit comments

Comments
 (0)