Debian Codegraph @

/

debian rust-tracing-test-macro 0.2.6-1debian librust-tracing-test-macro-dev debian librust-tracing-test-macro+default-dev debian librust-tracing-test-macro+no-env-filter-dev debian librust-tracing-test-macro-0-dev debian librust-tracing-test-macro-0+default-dev debian librust-tracing-test-macro-0+no-env-filter-dev debian librust-tracing-test-macro-0.2-dev debian librust-tracing-test-macro-0.2+default-dev debian librust-tracing-test-macro-0.2+no-env-filter-dev debian librust-tracing-test-macro-0.2.6-dev debian librust-tracing-test-macro-0.2.6+default-dev debian librust-tracing-test-macro-0.2.6+no-env-filter-dev cargo tracing-test-macro 0.2.6 debianjsonmakefilemarkdownrustrust-c-abishelltoml 16 files · 100 symbols
View dependency graph

Depends on

  • dh-cargo (dh-sequence-cargo)
  • rust-quote (librust-quote-1+default-dev)
  • rust-syn (librust-syn-2+default-dev, librust-syn-2+full-dev)
  • cargo, debhelper-compat, libstd-rust-dev, rustc
README (full)

tracing-test

Build status Crates.io Version Crates.io Downloads

This crate provides an easy way to enable logging in tests that use tracing, even if they're async. Additionally, it adds a way to assert that certain things were logged.

The focus is on testing the logging, not on debugging the tests. That's why the library ensures that the logs do not depend on external state. For example, the RUST_LOG env variable is not used for log filtering.

Similar crates:

Docs / Usage / Example

See https://docs.rs/tracing-test/.

License

Copyright © 2020-2023 Threema GmbH, Danilo Bargen and Contributors.

Licensed under either of

  • Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
  • MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

dir debian/
dir src/
file .cargo_vcs_info.json
file .gitignore
file Cargo.lock
file Cargo.toml
file Cargo.toml.orig
file LICENSE-APACHE
file LICENSE-MIT
file README.md