Skip to content

Commit

Permalink
📝 README + test env overflow checks
Browse files Browse the repository at this point in the history
  • Loading branch information
clabby committed Sep 22, 2023
1 parent 9cd8603 commit 8559eaf
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
with:
cache-on-failure: true
- name: cargo test
run: cargo test --all --all-features --release
run: cargo test --all --all-features
cargo-lint:
runs-on: ubuntu-latest
timeout-minutes: 20
Expand Down
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ resolver = "2"
[workspace.package]
version = "0.1.0"
authors = ["clabby"]

[profile.dev]
opt-level = 1
overflow-checks = false
28 changes: 27 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,33 @@ credits for the original idea and reference implementation of this concept go to

## Contributing

To get started, a few dependencies are required:
* [Rust toolchain][rustup]
* Recommended: [`cargo-nextest`][nextest]
* [Go toolchain][golang]
* [binutils][binutils]

### Testing

```sh
# With `cargo-nextest`
cargo nextest run --all --all-features
# Without `cargo-nextest`
cargo t --all --all-features
```

### Linting and Formatting

```sh
cargo +nightly fmt -- && cargo +nightly clippy --all --all-features -- -D warnings
```

### Running Benchmarks
*todo*

## Documentation

*todo*
Rustdocs are available by running `cargo doc --open` after cloning the repo.

## Docker

Expand All @@ -35,3 +57,7 @@ credits for the original idea and reference implementation of this concept go to
[geohot]: https://github.com/geohot
[op-labs]: https://oplabs.co
[cannon]: https://github.com/ethereum-optimism/optimism/tree/develop/cannon
[rustup]: https://rustup.rs/
[golang]: https://go.dev/doc/install
[binutils]: https://www.gnu.org/software/binutils/
[nextest]: https://nexte.st/

0 comments on commit 8559eaf

Please sign in to comment.