2021-08-06 23:42:31 +02:00
|
|
|
//! Resource path matching and router.
|
|
|
|
|
|
|
|
#![deny(rust_2018_idioms, nonstandard_style)]
|
2021-12-08 07:09:56 +01:00
|
|
|
#![warn(future_incompatible)]
|
2021-08-06 23:42:31 +02:00
|
|
|
#![doc(html_logo_url = "https://actix.rs/img/logo.png")]
|
|
|
|
#![doc(html_favicon_url = "https://actix.rs/favicon.ico")]
|
|
|
|
|
|
|
|
mod de;
|
|
|
|
mod path;
|
2021-12-14 19:33:17 +01:00
|
|
|
mod pattern;
|
2021-08-06 23:42:31 +02:00
|
|
|
mod resource;
|
2021-12-14 19:33:17 +01:00
|
|
|
mod resource_path;
|
2021-08-06 23:42:31 +02:00
|
|
|
mod router;
|
|
|
|
|
2021-12-14 19:33:17 +01:00
|
|
|
#[cfg(feature = "http")]
|
|
|
|
mod url;
|
|
|
|
|
2021-08-06 23:42:31 +02:00
|
|
|
pub use self::de::PathDeserializer;
|
|
|
|
pub use self::path::Path;
|
2021-12-14 19:33:17 +01:00
|
|
|
pub use self::pattern::{IntoPatterns, Patterns};
|
2021-08-06 23:42:31 +02:00
|
|
|
pub use self::resource::ResourceDef;
|
2021-12-14 19:33:17 +01:00
|
|
|
pub use self::resource_path::{Resource, ResourcePath};
|
2021-08-06 23:42:31 +02:00
|
|
|
pub use self::router::{ResourceInfo, Router, RouterBuilder};
|
|
|
|
|
|
|
|
#[cfg(feature = "http")]
|
|
|
|
pub use self::url::{Quoter, Url};
|