PackageTrack
Sign in Get early access

test-log

A replacement of the #[test] attribute that initializes logging and/or tracing infrastructure before running tests.

0.2.21 63M downloads/mo #1077 most downloaded on crates.io d-e-s-o/test-log

What this package is like to depend on

Last release 2 months ago

30 May 2026

Ships fairly regularly

a new release about every 4 months

Nearly every release is documented

notes for 13 of 14 stable releases

1 version withdrawn

withdrawn after publishing

5 years old

15 releases · first in 2021

3 releases in the last 12 months

see the full history below

Release timeline

15 releases · Jun 2021 to May 2026
2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 15
  1. 0.2.21 30 May 2026
    Release notes
    • Fixed spans in generated code, improving rust-analyzer interaction

    New Contributors

    Full Changelog: v0.2.20...v0.2.21

    Open source →
    Release notes
    • Fixed spans in generated code, improving rust-analyzer interaction
    Open source →
  2. 0.2.20 18 Apr 2026
    Release notes
    • Factored out test-log-core crate to facilitate better testing

    Full Changelog: v0.2.19...v0.2.20

    Open source →
    Release notes
    • Factored out test-log-core crate to facilitate better testing
    Open source →
  3. 0.2.19 28 Nov 2025
    Release notes
    • Adjusted tracing output to log to stderr

    New Contributors

    • @dbdr made their first contribution in #64

    Full Changelog: v0.2.18...v0.2.19

    Open source →
    Release notes
    • Adjusted tracing output to log to stderr
    Open source →
  4. 0.2.18 30 Jun 2025
    Release notes
    • Improved cooperation with other similar procedural macros to enable attribute stacking

    New Contributors

    Full Changelog: v0.2.17...v0.2.18

    Open source →
    Release notes
    • Improved cooperation with other similar procedural macros to enable attribute stacking
    Open source →
  5. 0.2.17 18 Jan 2025
    Release notes
    • Changed default log level to INFO

    New Contributors

    Full Changelog: v0.2.16...v0.2.17

    Open source →
    Release notes
    • Changed default log level to INFO
    Open source →
  6. 0.2.16 30 Apr 2024
    Release notes
    • Use tracing-subscriber's tracing-log feature to unify log output if both log and trace features are enabled
    • Added color feature to enable colored output (enabled by default)

    New Contributors

    • @ctron made their first contribution in #48

    Full Changelog: v0.2.15...v0.2.16

    Open source →
    Release notes
    • Use tracing-subscriber's tracing-log feature to unify log output if both log and trace features are enabled
    • Added color feature to enable colored output (enabled by default)
    Open source →
  7. 0.2.15 26 Feb 2024
    Release notes
    • Formalized MSRV policy
    • Bumped minimum supported Rust version to 1.71
    • Bumped env_logger dependency to 0.11

    New Contributors

    Full Changelog: v0.2.14...v0.2.15

    Open source →
    Release notes
    • Formalized MSRV policy
    • Bumped minimum supported Rust version to 1.71
    • Bumped env_logger dependency to 0.11
    Open source →
  8. 0.2.14 06 Dec 2023
    Release notes
    • Factored out test-log-macros crate to relieve users from having to care about tracing/logging dependencies themselves
    • Introduced default_log_filter attribute for setting the default log filter on a per-test basis behind new unstable feature
    • Improved compile error output on wrong usage
    • Bumped minimum supported Rust version to 1.61
    • Bumped env_logger dependency to 0.10

    New Contributors

    Full Changelog: v0.2.13...v0.2.14

    Open source →
    Release notes
    • Factored out test-log-macros crate to relieve users from having to care about tracing/logging dependencies themselves
    • Introduced default_log_filter attribute for setting the default log filter on a per-test basis behind new unstable feature
    • Improved compile error output on wrong usage
    • Bumped minimum supported Rust version to 1.61
    • Bumped env_logger dependency to 0.10
    Open source →
  9. 0.2.13 13 Oct 2023
    Release notes
    • Improved interaction with nested attributes (such as those used by the test_case crate), that may not have been parsable in the past
    • Removed generated test_impl function, which could have "leaked" into test cases (#28)
    • Eliminated dependency on tracing crate
    • Bumped minimum supported Rust version to 1.56
    • Bumped syn dependency to 2.0

    Full Changelog: v0.2.12...v0.2.13

    Open source →
    Release notes
    • Improved interaction with nested attributes (such as those used by the test_case crate), that may not have been parsable in the past
    • Removed generated test_impl function, which could have "leaked" into test cases (#28)
    • Eliminated dependency on tracing crate
    • Bumped minimum supported Rust version to 1.56
    • Bumped syn dependency to 2.0
    Open source →
  10. 0.2.12 15 Jun 2023
    Release notes
    • Fixed handling of inner #[test] attributes that add arguments to test function
    • Added GitHub Actions workflow for publishing the crate

    Full Changelog: v0.2.11...v0.2.12

    Open source →
    Release notes
    • Fixed handling of inner #[test] attributes that add arguments to test function
    • Added GitHub Actions workflow for publishing the crate
    Open source →
  11. 0.2.11 23 Jul 2022
    Release notes
    • Fixed potential build failure due to unhygienic procedural macros
    • Switched to using GitHub Actions as CI provider
    Open source →
  12. 0.2.10 24 Mar 2022
    Release notes
    • Fixed potential build failure when used from edition 2021 crates
    Open source →
  13. 0.2.9 23 Mar 2022 withdrawn
    Release notes
    • Added support for inner #[test] attribute arguments
    • Added CI checks for auto generated code documentation
    • Bumped minimum supported Rust version to 1.49
    Open source →
  14. 0.2.8 21 Nov 2021
    Release notes
    • Renamed crate test-log
    Open source →
  15. 0.0.0 29 Jun 2021

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive