#emit #run-time #events #api #emitter #diagnostics #applications

no-std emit_core

Core APIs and runtime infrastructure for emit

5 releases

new 0.11.0-alpha.5 Jun 13, 2024
0.11.0-alpha.4 Jun 12, 2024
0.11.0-alpha.3 Jun 8, 2024
0.11.0-alpha.2 Jun 7, 2024
0.11.0-alpha.1 Jun 6, 2024

#394 in Template engine

Download history 441/week @ 2024-06-05

441 downloads per month
Used in 6 crates (via emit_macros)

MIT/Apache

165KB
3.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

~225–540KB
~13K SLoC