Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcph4 committed Jan 24, 2025
0 parents commit b055a2b
Show file tree
Hide file tree
Showing 7 changed files with 103 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: [jmcph4]
62 changes: 62 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: Rust

on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

- name: Run build
run: cargo build --verbose
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

- name: Run tests
run: cargo test --verbose

- name: Generate documentation
run: cargo doc --verbose

- name: Run coverage
run: cargo install cargo-tarpaulin && cargo tarpaulin --avoid-cfg-tarpaulin # --fail-under 75

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

- name: Run Rustfmt
run: cargo fmt -- --check

- name: Run Clippy
run: cargo clippy --verbose

- name: Run Cargo check
run: cargo check --verbose

benchmark:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

- name: Run benchmarks
run: cargo bench --verbose

audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

- name: Run dependency security audit
run: cargo install cargo-audit && cargo --verbose audit

- name: Install cargo-outdated
run: cargo install cargo-outdated

- name: Run depedency version audit
run: cargo outdated --root-deps-only --verbose --exit-code 1

25 changes: 25 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Generated by Cargo
# will have compiled files and executables
debug/
target/

# These are backup files generated by rustfmt
**/*.rs.bk

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb

# RustRover
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

Cargo.lock

# Miscellaneous
msg.tmp
*.tmp
*.secret

6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[package]
name = "bundled"
version = "0.1.0"
edition = "2021"

[dependencies]
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# `bundled` #

`bundled` is a lightweight server that exposes various MEV APIs.

2 changes: 2 additions & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
max_width = 80

3 changes: 3 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}

0 comments on commit b055a2b

Please sign in to comment.