Crate rustypaste

Source
Expand description

Rustypaste is a minimal file upload/pastebin service.

Modules§

auth
Auth handler.
config
Configuration file parser.
file
File metadata handler.
header
HTTP headers.
middleware
Custom middleware implementation.
mime
Media type handler.
paste
Storage handler.
random
Random URL generator.
server
Server routes.
util
Helper functions.

Constants§

AUTH_TOKENS_FILE_ENV
Environment variable for the path to a file containing multiple authentication token.
AUTH_TOKEN_ENV
Environment variable for setting the authentication token.
CONFIG_ENV
Environment variable for setting the configuration file path.
DELETE_TOKENS_FILE_ENV
Environment variable for the path to a file containing multiple deletion token.
DELETE_TOKEN_ENV
Environment variable for setting the deletion token.