Modules
- Deadpool for Redis Latest Version Unsafe forbidden Rust 1.59+
- Semi-hierarchical configuration so con-free, it’s unreal.
- Handlebars
- Serialization and deserialization support.
Macros
- The ncryptf::auth!() macro provides the appropriate generic implementation details of FromRequest to allow User entities to be returned as a Rocket request guard (FromRequest). The core features of ncryptf authorization verification are implemented through this macro. If you wish to utilize ncryptf’s authorization features you must perform the following.
- A macro to easily create a template rendering context.
- EkRoute provides a generic route which you can use to generate ephemeral (single use) encryption keys to bootstrap your request/response cycle within your application.
Structs
- Generates, validates, and parses Authorization header information
- Base configuration for all database drivers.
- A request guard which retrieves a single connection to a
Database
. - A structure exposing access to templating engines.
- Represents a generic keypair
- Request guard for dynamically querying template metadata.
- A request that emits a encrypted string for submission to the server.
- Response allows for decrypting of a request
- Represents a signature and provides utility methods for validating signatures on a request.
- Responder that renders a dynamic template.
- Authorization token data to be either stored locally, or server side in a cache.
Enums
- A general error type for use by
Pool
implementors and returned by theConnection
request guard. - Errors that ncryptf may encounter during encrypting and decrypting data - generalized.
Traits
- Derivable trait which ties a database
Pool
with a configuration name. - Generic
Database
driver connection pool trait.
Functions
- Returns len random bytes a Vec
using libsodium
Derive Macros
- Automatic derive for the
Database
trait.