actix_router/
lib.rs

1//! Resource path matching and router.
2
3#![doc(html_logo_url = "https://actix.rs/img/logo.png")]
4#![doc(html_favicon_url = "https://actix.rs/favicon.ico")]
5#![cfg_attr(docsrs, feature(doc_cfg))]
6
7mod de;
8mod path;
9mod pattern;
10mod quoter;
11mod regex_set;
12mod resource;
13mod resource_path;
14mod router;
15
16#[cfg(feature = "http")]
17mod url;
18
19#[cfg(feature = "http")]
20pub use self::url::Url;
21pub use self::{
22    de::PathDeserializer,
23    path::Path,
24    pattern::{IntoPatterns, Patterns},
25    quoter::Quoter,
26    resource::ResourceDef,
27    resource_path::{Resource, ResourcePath},
28    router::{ResourceId, Router, RouterBuilder},
29};