Skip to content

Commit 0c56d6c

Browse files
authored
Initial commit
0 parents  commit 0c56d6c

File tree

16 files changed

+538
-0
lines changed

16 files changed

+538
-0
lines changed

.editorconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[*]
2+
charset = utf-8
3+
4+
5+
[*.pest]
6+
indent_style = space
7+
indent_size = 4
8+
9+
[*.toml]
10+
indent_style = space
11+
indent_size = 4

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "cargo"
4+
directory: "/projects/sub_projects"
5+
target-branch: "dev"
6+
schedule:
7+
interval: "daily"
8+
- package-ecosystem: "github-actions"
9+
directory: "/"
10+
target-branch: "dev"
11+
schedule:
12+
interval: "daily"

.github/workflows/rust.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Rust
2+
3+
on:
4+
push:
5+
branches: [ master, dev ]
6+
pull_request:
7+
branches: [ master, dev ]
8+
9+
jobs:
10+
build:
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
matrix:
14+
os: [ubuntu-latest, macos-latest, windows-latest]
15+
steps:
16+
- run: git config --global core.autocrlf false
17+
- uses: actions/checkout@v2
18+
- name: Rust Nightly
19+
uses: actions-rs/toolchain@v1
20+
with:
21+
toolchain: nightly
22+
override: true
23+
components: rustfmt, clippy
24+
- name: Build
25+
run: cargo build --release
26+
- name: Tests
27+
run: cargo test --release

.gitignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# OS
2+
.DS_Store/
3+
thumbs.db
4+
time-travel.*
5+
6+
# IDE
7+
.vscode/
8+
.vs/
9+
.idea/
10+
*.iml
11+
12+
# Rust
13+
target/
14+
Cargo.lock

Cargo.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[workspace]
2+
resolver = "2"
3+
members = ["projects/*"]
4+
default-members = [
5+
"projects/sub_projects",
6+
]
7+
exclude = [
8+
"projects/.DS_Store",
9+
]
10+
11+
[profile.release]
12+
lto = true
13+
panic = "abort"

0 commit comments

Comments
 (0)