#emit #metrics #tracing #emit-core

no-std emit_core

Core APIs and runtime infrastructure for emit

46 releases (14 stable)

new 1.9.0 May 19, 2025
1.7.0 Apr 21, 2025
1.6.0 Mar 28, 2025
0.11.10 Feb 11, 2025
0.11.0-alpha.7 Jul 31, 2024

#14 in #emit

Download history 478/week @ 2025-01-28 358/week @ 2025-02-04 442/week @ 2025-02-11 374/week @ 2025-02-18 426/week @ 2025-02-25 224/week @ 2025-03-04 863/week @ 2025-03-11 406/week @ 2025-03-18 711/week @ 2025-03-25 212/week @ 2025-04-01 171/week @ 2025-04-08 246/week @ 2025-04-15 317/week @ 2025-04-22 72/week @ 2025-04-29 316/week @ 2025-05-06 544/week @ 2025-05-13

1,327 downloads per month
Used in 9 crates (2 directly)

MIT/Apache

250KB
6K SLoC

A diagnostic framework for Rust applications.

This library is the core API of emit, defining the fundamental abstractions used by the higher-level emit crate. This library is home to event::Event, emit's model of diagnostic data through with their template::Template, props::Props, and extent::Extent.

In this library is also the all-encapsulating runtime::Runtime, which collects the platform capabilities and event processing pipeline into a single value that powers the diagnostics for your applications.

If you're looking to explore and understand emit's API, you can start with runtime::Runtime and event::Event and follow their encapsulated types.

If you're looking to use emit in an application you can use this library directly, but emit itself is recommended.


emit_core

core

A diagnostic framework for Rust applications.

This library is the core API of emit, defining the fundamental abstractions used by the higher-level emit crate.

Dependencies

~235–550KB
~13K SLoC