1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-05-19 16:58:14 +00:00
actix-web/actix-router/src/lib.rs

32 lines
732 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)]
#![allow(clippy::uninlined_format_args)]
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")]
2023-02-26 21:55:25 +00:00
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
2021-08-06 21:42:31 +00:00
mod de;
mod path;
mod pattern;
2022-01-04 12:58:40 +00:00
mod quoter;
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
#[cfg(feature = "http")]
2022-01-04 12:58:40 +00:00
pub use self::url::Url;
2023-07-17 01:38:12 +00:00
pub use self::{
de::PathDeserializer,
path::Path,
pattern::{IntoPatterns, Patterns},
quoter::Quoter,
resource::ResourceDef,
resource_path::{Resource, ResourcePath},
router::{ResourceId, Router, RouterBuilder},
};