An open API service indexing awesome lists of open source software.

https://github.com/benhunter/rust-test-tracing

Demo of tracing logs in test output.
https://github.com/benhunter/rust-test-tracing

log logging rust test testing tracing

Last synced: about 1 month ago
JSON representation

Demo of tracing logs in test output.

Awesome Lists containing this project

README

          

# Rust Test Tracing

A simple demo using the test-log and tracing crate to show logs in test output.

# Getting Started

```
RUST_LOG=info cargo test
```

Using cargo-watch and cargo-nextest:
```
RUST_LOG=info cargo watch --clear -x "nextest run"
RUST_LOG=info cargo watch --clear -x "run"
```

# Nix

`flake.nix`, `rust-toolchain.toml`, `.envrc` (for nix-direnv) are included.