laravel-rust 0.1.0

Laravel for Rust: a full-stack Rust web framework, inspired by PHP Laravel
Documentation
//! The imports most tests need.
//!
//! This module re-exports the [prelude](crate::prelude), the traits that give an
//! [`Application`] its test methods, and `serde_json`'s [`json!`] macro. With one import, a test
//! can send requests, run commands, jobs, and workflows, and check the database:
//!
//! ```
//! use laravel::testing::prelude::*;
//!
//! # laravel::testing::__run(async {
//! let app = Application::configure().replace_env(laravel::config::Env::default()).create();
//!
//! app.get("/missing").await.assert_not_found();
//! app.post("/missing").json(json!({ "name": "Taylor" })).await.assert_not_found();
//! app.command("list").await.assert_successful();
//! # });
//! ```

pub use crate::prelude::*;
pub use crate::queue::Job as _;
#[cfg(feature = "database")]
pub use crate::testing::InteractsWithDatabase;
pub use crate::testing::{MakesConsoleRequests, MakesHttpRequests, RunsJobs, RunsWorkflows};
pub use serde_json::json;