Skip to main content

Crate spikard_core

Crate spikard_core 

Source

Re-exports§

pub use bindings::response::RawResponse;
pub use bindings::response::StaticAsset;
pub use http::CompressionConfig;
pub use http::CorsConfig;
pub use http::Method;
pub use http::RateLimitConfig;
pub use http::RouteMetadata;
pub use lifecycle::HookResult;
pub use lifecycle::LifecycleHook;
pub use lifecycle::LifecycleHooks;
pub use lifecycle::LifecycleHooksBuilder;
pub use lifecycle::request_hook;
pub use lifecycle::response_hook;
pub use parameters::ParameterValidator;
pub use problem::ProblemDetails;
pub use request_data::RequestData;
pub use router::JsonRpcMethodInfo;
pub use router::Route;
pub use router::RouteHandler;
pub use router::Router;
pub use schema_registry::SchemaRegistry;
pub use validation::SchemaValidator;
pub use validation::ValidationError;
pub use validation::ValidationErrorDetail;

Modules§

bindings
debug
Debug logging utilities for spikard-http
errors
Shared structured error types and panic shielding utilities.
http
lifecycle
Lifecycle hooks for request/response processing
parameters
Parameter validation using JSON Schema
problem
RFC 9457 Problem Details for HTTP APIs
request_data
Request data structures for HTTP handlers
router
Route management and handler registration
schema_registry
Schema registry for deduplication and OpenAPI generation
type_hints
Path parameter type hint parsing
validation
Request/response validation using JSON Schema

Macros§

debug_log
Log a debug message if debugging is enabled
debug_log_module
Log a debug message with a specific module/component name
debug_log_value
Log a debug value with pretty-printing