feat(core/result): add rocket and okapi support

This commit is contained in:
Paul Makles
2023-06-03 13:01:12 +01:00
parent a29d8f6aab
commit e393e17b59
4 changed files with 150 additions and 0 deletions

View File

@@ -6,6 +6,12 @@ extern crate serde;
#[macro_use]
extern crate schemars;
#[cfg(feature = "rocket")]
pub mod rocket;
#[cfg(feature = "okapi")]
pub mod okapi;
/// Result type with custom Error
pub type Result<T, E = Error> = std::result::Result<T, E>;