1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! Developer tools for [Laravel for Rust](https://laravel.com/rust) applications.
//!
//! A floating toolbar for applications in development: a pill at the bottom of each page with its
//! last request, and a panel with the history of the application's requests, console commands,
//! queued jobs and scheduled tasks, each with its timeline, queries, log lines, outgoing HTTP,
//! cache, mail and errors, built on the spans the framework already emits. The crate's README
//! describes what the panel shows and who sees it.
//!
//! An application registers the [`DevtoolsServiceProvider`]. In local development only, as
//! [`DevtoolsConfig`] allows, it records each request, console command, queued job, scheduled task,
//! workflow step and tick as a trace into `storage/devtools`, which the application's processes
//! share, marks each page with its trace for whoever may see the developer tools, adds the pill's
//! script to their pages, and serves the panel at `/_devtools` and the traces under
//! `/_devtools/api`. A [`DevtoolsGate`] decides who that is, beyond the provider's own rules. These
//! three are the crate's whole API.
pub use DevtoolsGate;
pub use ;