Skip to content

Commit 7a5e816

Browse files
committed
initial commit
0 parents  commit 7a5e816

Some content is hidden

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

52 files changed

+15621
-0
lines changed

.github/workflows/ci.yml

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main, develop]
6+
pull_request:
7+
branches: [main, develop]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
build:
14+
name: Build
15+
runs-on: ${{ matrix.os }}
16+
strategy:
17+
matrix:
18+
os: [ubuntu-latest, macos-latest, windows-latest]
19+
20+
steps:
21+
- name: Checkout code
22+
uses: actions/checkout@v4
23+
24+
- name: Install Rust toolchain
25+
uses: dtolnay/rust-toolchain@stable
26+
27+
- name: Cache dependencies
28+
uses: actions/cache@v4
29+
with:
30+
path: |
31+
~/.cargo/registry
32+
~/.cargo/git
33+
target/
34+
key: ${{ runner.os }}-cargo-stable-${{ hashFiles('**/Cargo.lock') }}
35+
restore-keys: |
36+
${{ runner.os }}-cargo-stable-
37+
${{ runner.os }}-cargo-
38+
39+
- name: Build project
40+
run: cargo build --all --verbose
41+
42+
- name: Check examples compile
43+
run: cargo check --examples --verbose
44+
45+
formatting:
46+
name: Formatting
47+
runs-on: ubuntu-latest
48+
steps:
49+
- name: Checkout code
50+
uses: actions/checkout@v4
51+
52+
- name: Install Rust toolchain
53+
uses: dtolnay/rust-toolchain@stable
54+
with:
55+
components: rustfmt
56+
57+
- name: Check formatting
58+
run: cargo fmt -- --check
59+
60+
linting:
61+
name: Linting
62+
runs-on: ubuntu-latest
63+
steps:
64+
- name: Checkout code
65+
uses: actions/checkout@v4
66+
67+
- name: Install Rust toolchain
68+
uses: dtolnay/rust-toolchain@stable
69+
with:
70+
components: clippy
71+
72+
- name: Cache dependencies
73+
uses: actions/cache@v4
74+
with:
75+
path: |
76+
~/.cargo/registry
77+
~/.cargo/git
78+
target/
79+
key: ${{ runner.os }}-cargo-stable-${{ hashFiles('**/Cargo.lock') }}
80+
restore-keys: |
81+
${{ runner.os }}-cargo-stable-
82+
${{ runner.os }}-cargo-
83+
84+
- name: Run clippy
85+
run: cargo clippy --all-targets --all-features -- -D warnings

.gitignore

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/target
2+
3+
# Added by Claude Task Master
4+
# Logs
5+
logs
6+
*.log
7+
npm-debug.log*
8+
yarn-debug.log*
9+
yarn-error.log*
10+
dev-debug.log
11+
# Dependency directories
12+
node_modules/
13+
# Environment variables
14+
.env
15+
# Editor directories and files
16+
.idea
17+
.vscode
18+
*.suo
19+
*.ntvs*
20+
*.njsproj
21+
*.sln
22+
*.sw?
23+
# OS specific
24+
.DS_Store
25+
26+
# Task files
27+
tasks.json
28+
tasks/
29+
TODO.md
30+
.cursor
31+
.taskmaster/
32+
.cursorignore

0 commit comments

Comments
 (0)