Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ concurrency:
cancel-in-progress: true

env:
RUST_BACKTRACE: 1
RUSTFLAGS: -Dwarnings
RUSTDOCFLAGS: -Dwarnings
MSRV: "1.81"
MSRV: "1.83"
SCCACHE_CACHE_SIZE: "50G"
IROH_FORCE_STAGING_RELAYS: "1"

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ on:
default: ${{ github.ref }}

env:
RUST_BACKTRACE: 1
RUSTFLAGS: -Dwarnings
RUSTDOCFLAGS: -Dwarnings
SCCACHE_CACHE_SIZE: "50G"
Expand Down Expand Up @@ -218,7 +217,7 @@ jobs:
env:
RUST_LOG: ${{ runner.debug && 'TRACE' || 'DEBUG'}}
NEXTEST_EXPERIMENTAL_LIBTEST_JSON: 1

- name: upload results
if: ${{ failure() && inputs.flaky }}
uses: actions/upload-artifact@v4
Expand Down
93 changes: 49 additions & 44 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors = ["n0 team"]
repository = "https://github.com/n0-computer/n0-snafu"
keywords = ["errors", "snafu"]

rust-version = "1.81"
rust-version = "1.83"

[dependencies]
anyhow = { version = "1.0.96", features = ["backtrace"] }
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
> Helpers to better work with [`snafu`](https://docs.rs/snafu) based errors.


## Backtrace printing

- Default: only error information
- `RUST_BACKTRACE=1` => library only backtraces
- `RUST_LIB_BACKTRACE=1 RUST_BACKTRACE=full` => library & std library backtraces


## License

Expand Down
Loading
Loading