22 releases

0.4.1 Sep 23, 2025
0.4.0 Jul 12, 2024
0.3.1 May 23, 2024
0.3.0 Nov 15, 2023
0.1.4 Jul 13, 2020

#16 in Debugging

Download history 69833/week @ 2025-12-28 93728/week @ 2026-01-04 99516/week @ 2026-01-11 106223/week @ 2026-01-18 102400/week @ 2026-01-25 129070/week @ 2026-02-01 123887/week @ 2026-02-08 114764/week @ 2026-02-15 130418/week @ 2026-02-22 152850/week @ 2026-03-01 149250/week @ 2026-03-08 144315/week @ 2026-03-15 173973/week @ 2026-03-22 202668/week @ 2026-03-29 201599/week @ 2026-04-05 212159/week @ 2026-04-12

806,781 downloads per month
Used in 108 crates (67 directly)

MIT/Apache

48KB
1K SLoC

tracing-tree

Instrument your application with tracing and get tree-structured summaries of your application activity with timing information on the console:

https://github.com/davidbarsky/tracing-tree/blob/483cc0a118c3170f4246d6fa4a9f018a00d8f0a9/examples/quiet.stdout#L1-L28

(Format inspired by slog-term)

Setup

After instrumenting your app with tracing, add this subscriber like this:

let subscriber = Registry::default().with(HierarchicalLayer::new(2));
tracing::subscriber::set_global_default(subscriber).unwrap();

Dependencies

~1.2–3.5MB
~58K SLoC