Expand description
HTTP routing system for elif.rs
This module provides flexible HTTP routing with:
- Framework-independent route pattern matching
- Advanced parameter extraction with type conversion
- Route compilation and optimization
- Efficient route resolution
- Route groups and prefixes
- Route naming and URL generation
- Parameter validation and constraints
Re-exports§
pub use group::GroupBuilder;pub use group::RouteGroup;pub use params::ParamError;pub use params::ParamType;pub use params::PathParams;pub use params::RouteParam;pub use router::RouteBuilder;pub use router::Router as ElifRouter;pub use router::Router;pub use versioned::header_versioned_router;pub use versioned::path_versioned_router;pub use versioned::versioned_router;pub use versioned::VersionedRouteBuilder;pub use versioned::VersionedRouter;pub use compiler::CompilableRoute;pub use compiler::CompilationResult;pub use compiler::CompilationStats;pub use compiler::RouteCompiler;pub use compiler::RouteCompilerBuilder;pub use diagnostics::CliDiagnosticsFormatter;pub use diagnostics::RouteDiagnostics;pub use extraction::ExtractedParams;pub use extraction::ExtractionError;pub use extraction::ParameterExtractor;pub use extraction::TypedExtractorBuilder;pub use matcher::MatcherStats;pub use matcher::RouteDefinition;pub use matcher::RouteMatcher;pub use matcher::RouteMatcherBuilder;pub use matcher::RouteMatchError;pub use pattern::CompiledRoute;pub use pattern::ParamConstraint;pub use pattern::PathSegment;pub use pattern::RouteMatch;pub use pattern::RoutePattern;
Modules§
- compiler
- Route compilation and optimization for elif.rs
- diagnostics
- Route diagnostics and error reporting for development and debugging
- extraction
- Parameter extraction engine for elif.rs
- group
- Route groups for organizing related routes
- matcher
- Route matching engine for elif.rs
- params
- Route parameter extraction and validation
- pattern
- Route pattern matching system for elif.rs
- router
- Core routing functionality
- versioned
Structs§
- Route
Info - Route metadata for introspection and URL generation
- Route
Registry - Route registry for managing all registered routes
Enums§
- Http
Method - HTTP methods supported by the router