pavex 0.2.10

A framework for building API services and web applications in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#[derive(Debug, Clone, Copy, Eq, Ord, PartialOrd, PartialEq, Hash)]
#[non_exhaustive]
/// Common mistakes and antipatterns that Pavex
/// tries to catch when analysing your [`Blueprint`].
///
/// These issues aren't considered fatal: Pavex will still
/// generate the server SDK code.
///
/// [`Blueprint`]: crate::Blueprint
pub enum Lint {
    /// You registered a component that's never used in the generated
    /// server SDK code.
    Unused,
    /// Allow Pavex to [invoke a fallback error handler if no specific error handler is provided][1].
    ///
    /// [1]: https://pavex.dev/docs/guide/errors/error_handlers/#fallback-error-handler
    ErrorFallback,
}