1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-06-12 10:19:36 +00:00
actix-web/actix-router/src/lib.rs

27 lines
669 B
Rust
Raw Normal View History

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