fr-rust 0.2.0

A comprehensive framework/utility library for Actix-web, Postgres, Redis, and authentication.
Documentation
// Module Declarations
pub mod crypto;
pub mod db;
pub mod ddos;
pub mod email;
pub mod jwt;
pub mod linkv;
pub mod otp;
pub mod redis;
pub mod server;
pub mod types;
pub mod ws;
pub mod macros;
pub mod req;
pub mod res;

// The Framework Prelude
pub mod prelude {
    // Internal Library Re-exports
    pub use crate::crypto::{self, CryptoService, CryptoError};
    pub use crate::db::{self, DbPool, DbError};
    pub use crate::ddos::{self, DdosConfig, DdosShield};
    pub use crate::email::{self, EmailConfig, EmailData, EmailService};
    pub use crate::jwt::{self, JwtService};
    pub use crate::linkv::{self, LinkV, LinkVConfig};
    pub use crate::otp::{self, OtpConfig, OtpService};
    pub use crate::redis::{self, RedisManager, RedisManagerError};
    pub use crate::server::{self, env, env_or_default, load_env};
    pub use crate::types::{self, Main, Http, ResError};
    pub use crate::ws::{self, UserMsg, WsConfig, WsManager, MsgBatcher};
    pub use crate::{
        err, cfg, route, get, post, put, delete, patch, head, options, scope, resource, run
    };
    pub use crate::res::{
          self,
          http_ok_static,
          http_ok_stream,
          http_no_content,
          http_created,
          http_accepted,
          http_partial_content,
          http_bad_static,
          http_unauthorized,
          http_forbidden,
          http_not_found,
          http_method_not_allowed,
          http_unsupported_media,
          http_too_many_requests,
          http_service_unavailable,
          http_server_error,
          send_file_fast,
          stream_file_chunked,
          send_file_range,
          http_brotli,
          http_lz4,
          parse_multipart_stream,
          parse_json_fast,
          parse_range,
          upload_with_progress,
          upload_streaming
    };
    pub use actix_web::main as web_main;
    pub use actix_web::web::ServiceConfig as Config;
}