In-progress extractors and middleware for Actix Web

Overview

actix-web-lab

Experimental extractors, middleware, and other extras for possible inclusion in Actix Web.

crates.io Documentation MIT or Apache 2.0 licensed
dependency status Download CircleCI

Things To Know About This Crate

  • It will never reach v1.0.
  • Minimum Supported Rust Version (MSRV) is latest stable at the time of each release.
  • Breaking changes will likely happen on every 0.x version bump.
  • Documentation will probably be limited for some items.
  • Items that graduate to the main Actix Web crate will be deprecated for at least one minor version of this crate.
  • It will often be as easy as dropping the _lab suffix from imports when items graduate.
You might also like...
Basic Actix + Diesel + Postgres REST API

Actix-Crud Basic Actix + Diesel + Postgres REST API Setup Install and setup PostgreSQL Set DATABASE_URL environment variable or specify in .env file g

Cookiecutter Rust Actix template for jumpstarting production-ready projects quickly.

Cookiecutter actix simple clean architecture This is a reusable Rust Cookiecutter template. The project is based on Actix web in combination with Dies

Fahrenheit-celsius converter using actix

fahrenheit-celsius-converter Simple http Fahrenheit/Celsius/Kelvin converter using actix-web. Note This is a toy project, not yet finished. It's not r

A blazingly fast static web server with routing, templating, and security in a single binary you can set up with zero code. :zap::crab:
A blazingly fast static web server with routing, templating, and security in a single binary you can set up with zero code. :zap::crab:

binserve ⚡ 🦀 A blazingly fast static web server with routing, templating, and security in a single binary you can set up with zero code. 🔥 UPDATE: N

Simple and fast web server

see Overview Simple and fast web server as a single executable with no extra dependencies required. Features Built with Tokio and Hyper TLS encryption

A flexible web framework that promotes stability, safety, security and speed.

A flexible web framework that promotes stability, safety, security and speed. Features Stability focused. All releases target stable Rust. This will n

Sincere is a micro web framework for Rust(stable) based on hyper and multithreading

The project is no longer maintained! Sincere Sincere is a micro web framework for Rust(stable) based on hyper and multithreading. Style like koa. The

Operator is a web server. You provide a directory and Operator serves it over HTTP.
Operator is a web server. You provide a directory and Operator serves it over HTTP.

Operator Operator is a web server. You provide a directory and Operator serves it over HTTP. It serves static files the way you'd expect, but it can a

Archibald is my attempt at learning Rust and writing a HTTP 1.1 web server.
Archibald is my attempt at learning Rust and writing a HTTP 1.1 web server.

Archibald To be a butler, is to be able to maintain an even-temper, at all times. One must have exceptional personal hygiene and look sharp and profes

Comments
  • [poll] Server-sent events (SSE) types

    [poll] Server-sent events (SSE) types

    Includes Sse & SseSender.

    React to this issue with a ":+1:" to vote for this feature. Highest voted features will graduate to Actix Web sooner.

    poll 
    opened by robjtede 0
Releases(lab-v0.18.8)
  • lab-v0.18.8(Dec 10, 2022)

  • lab-v0.18.7(Dec 10, 2022)

  • lab-v0.18.6(Dec 8, 2022)

    • Add #[from_request(copy_from_app_data)] field attribute to the FromRequest derive macro.
    • Add extractor support to from_fn when used as initial arguments.
    • Feature gate spa features. Enabled by default.
    • Fix derive feature flag.
    Source code(tar.gz)
    Source code(zip)
  • lab-v0.18.5(Oct 13, 2022)

  • lab-v0.18.4(Oct 9, 2022)

  • lab-v0.18.3(Oct 1, 2022)

  • lab-v0.18.2(Sep 13, 2022)

  • lab-v0.18.1(Sep 13, 2022)

  • lab-v0.18.0(Sep 13, 2022)

    • Add body::{writer, Writer} rudimentary async-write body adapter.
    • Add error type parameter to body::channel and body::Sender.
    • Add body::Sender::close() with optional error argument.
    • Unwrap body::Sender::send() return error type.
    Source code(tar.gz)
    Source code(zip)
  • lab-v0.17.0(Aug 9, 2022)

    • Add sse::Sse::from_stream() constructor.
    • Add sse::Data::new_json() constructor.
    • Rename sse::{sse => channel}().
    • Rename sse::{SseData => Data}().
    • Rename sse::{SseMessage => Event}().
    • Rename sse::{SseSendError => SendError}.
    • Rename sse::{SseTrySendError => TrySendError}.
    • Removed extract::BodyHash and associated types; promoted to actix-hash crate.
    • Removed extract::BodyHmac and associated types; prefer RequestSignatureScheme + RequestSignature. See body_hmac in examples folder.
    • Removed header::Hsts alias; use header::StrictTransportSecurity.
    Source code(tar.gz)
    Source code(zip)
  • lab-v0.16.9(Aug 9, 2022)

  • lab-v0.16.8(Aug 7, 2022)

  • lab-v0.16.7(Jul 27, 2022)

  • lab-v0.16.6(Jul 27, 2022)

  • lab-v0.16.5(Jul 24, 2022)

  • lab-v0.16.4(Jul 3, 2022)

  • lab-v0.16.3(Jul 3, 2022)

  • lab-v0.16.2(Jul 2, 2022)

  • hash-v0.4.0(Jul 2, 2022)

  • lab-v0.16.1(Apr 23, 2022)

    • Query extractor now supports collecting multi-value items into a Vec.
    • Add derive crate feature (on-by-default) that enables derive macros.
    Source code(tar.gz)
    Source code(zip)
  • lab-v0.16.0(Apr 11, 2022)

    • Add very basic FromRequest derive macro.
    • RequestSignatureScheme associated types are no longer bound to RustCrypto ecosystem.
    • Deprecate BodyHmac; migrate to RequestSignature[Scheme].
    Source code(tar.gz)
    Source code(zip)
  • lab-v0.15.2(Apr 8, 2022)

  • lab-v0.15.1(Apr 7, 2022)

  • hash-v0.3.0(Mar 28, 2022)

    • Removed BodyHashParts::body_bytes field.
    • Rename BodyHashParts::{body => inner} field.
    • Improve fault tolerance when placed on non-body extractors.
    Source code(tar.gz)
    Source code(zip)
  • hash-v0.2.0(Mar 24, 2022)

  • lab-v0.15.0(Mar 7, 2022)

  • lab-v0.14.0(Mar 7, 2022)

    • Add test module containing new test request builders and response testing macros.
    • Add RedirectHttps::to_port() for specifying custom HTTPS redirect port.
    • Fix RedirectHttps when host contains port already.
    Source code(tar.gz)
    Source code(zip)
  • lab-v0.13.0(Mar 3, 2022)

    • Add Hsts (Strict-Transport-Security) typed header.
    • Convert redirect_to_https function middleware to RedirectHttps middleware type.
    • Add HSTS configuration to new RedirectHttps middleware.
    Source code(tar.gz)
    Source code(zip)
  • lab-v0.12.1(Mar 2, 2022)

  • lab-v0.12.0(Feb 25, 2022)

    • Add Path extractor that can be deconstructed.
    • Json limit const generic parameter now has a default and can be omitted.
    • Update actix-web dependency to 4.0.0.
    Source code(tar.gz)
    Source code(zip)
Owner
Rob Ede
Full-stack Web Developer | Typography, UX & Security Enthusiast | Rust + TypeScript | Core @actix & @deps-rs
Rob Ede
Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.

Actix Web Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust Features Supports HTTP/1.x and HTTP/2 Streaming and pipelining

Actix 16.3k Jan 8, 2023
Handlebars middleware for Iron web framework

handlebars-iron Handlebars middleware for the Iron web framework. This library, together with handlebars, iron and hyper, works on both stable and nig

Ning Sun 118 Jun 28, 2022
A starter template for actix-web projects that feels very Django-esque. Avoid the boring stuff and move faster.

Jelly A.K.A, the actix-web starter you probably wish you had. This is provided as-is, and anyone is free to extend it or rework it as they desire - ju

SecretKeys 198 Dec 15, 2022
Add Facebook and Google authentication to your HTTP REST API in Actix-web

I created this project while learning Rust. Project shows how to handle Facebook and Google token verification in Rust using Actix-Web. Hope this help

null 37 Dec 31, 2022
Extension for actix-web to validate user permissions

actix-web-grants Extension for actix-web to validate user permissions. To check user access to specific services, you can use built-in proc-macro, Per

Artem Medvedev 114 Dec 22, 2022
Easy to use multipart forms for actix-web

Actix Easy Multipart Easy to use Multipart Forms for actix-web. File uploads are written to disk as temporary files similar to the way the $_FILES var

Jacob Halsey 17 Jan 3, 2023
Example Blog using Rust, Actix Web, HTMX, Mustache

Actix Blog An example blog built with Actix. It uses htmx and handlebar templates. Running To run the blog, you need to have a recent version of Rust

Dru Jensen 2 Nov 11, 2022
Actix-web wrapper for garde, a Rust validation library.

Garde-actix-web   Actix-web wrapper for garde, a Rust validation library. Installation Usage example Feature flags About us Installation [dependencies

Netwo 5 Sep 8, 2023
Static Web Server - a very small and fast production-ready web server suitable to serve static web files or assets

Static Web Server (or SWS abbreviated) is a very small and fast production-ready web server suitable to serve static web files or assets.

Jose Quintana 496 Jan 2, 2023
Example Actix 2.x REST application implementing many features

Rust/Actix Example An Actix 2.0 REST server using the Rust language. Motivation Actix Web is a fast, powerful web framework for building web applicati

David D. 238 Dec 31, 2022