#metrics #tracing #observability

no-std emit_core

Core APIs and runtime infrastructure for emit

41 releases (9 stable)

new 1.5.0 Mar 27, 2025
1.0.1 Feb 25, 2025
0.11.10 Feb 11, 2025
0.11.0-alpha.21 Oct 21, 2024
0.11.0-alpha.7 Jul 31, 2024

#1644 in Algorithms

Download history 70/week @ 2024-12-04 46/week @ 2024-12-11 5/week @ 2024-12-18 1062/week @ 2025-01-08 237/week @ 2025-01-15 312/week @ 2025-01-22 464/week @ 2025-01-29 403/week @ 2025-02-05 373/week @ 2025-02-12 516/week @ 2025-02-19 262/week @ 2025-02-26 227/week @ 2025-03-05 884/week @ 2025-03-12 455/week @ 2025-03-19

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

MIT/Apache

235KB
5.5K SLoC

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.


lib.rs:

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.

Dependencies

~235–560KB
~13K SLoC