laravel-rust-devtools 0.1.0

Developer tools for Laravel for Rust applications: an app inspector and request debugger in a floating toolbar.
Documentation
//! 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.
#![warn(
    missing_docs,
    unreachable_pub,
    clippy::missing_errors_doc,
    clippy::must_use_candidate,
    rustdoc::missing_crate_level_docs
)]

#[cfg(debug_assertions)]
mod collector;
#[cfg(debug_assertions)]
mod file_store;
mod gate;
#[cfg(debug_assertions)]
mod http;
mod provider;
#[cfg(debug_assertions)]
mod store;
#[cfg(test)]
mod tests;
#[cfg(debug_assertions)]
mod trace;

pub use gate::DevtoolsGate;
pub use provider::{DevtoolsConfig, DevtoolsServiceProvider};