Skip to content

Commit

Permalink
feat: First implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Flix committed Sep 28, 2024
1 parent c906e7a commit 959a2e6
Show file tree
Hide file tree
Showing 32 changed files with 9,449 additions and 8 deletions.
13 changes: 13 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# These are supported funding model platforms

github: [FlixCoder] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
50 changes: 50 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Rust

on:
push:
branches: ["main"]
tags: ["*"]
pull_request:
branches: ["*"]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
formatting:
name: Formatting
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Install/update Rust
shell: bash
run: rustup toolchain install nightly --component rustfmt

- name: Formatting
shell: bash
run: cargo +nightly fmt -- --check

checks:
name: Tests and Lints
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Install/update Rust
shell: bash
run: rustup show # Uses rust-toolchain.toml file to install the correct version and components.

- uses: taiki-e/install-action@v2
with:
tool: cargo-make

- name: Caching
uses: Swatinem/rust-cache@v2

- name: Run the CI checks
shell: bash
run: cargo make stable-ci
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/target
/.vscode
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Changelog

All notable changes to this project will be documented in this file.

## [0.1.0] - 2024-09-29

### Features

- Initial implementation
254 changes: 254 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 959a2e6

Please sign in to comment.