2018-05-22 23:15:08 +02:00
|
|
|
---
|
|
|
|
title: What is Actix
|
|
|
|
menu: docs_intro
|
|
|
|
weight: 100
|
|
|
|
---
|
|
|
|
|
|
|
|
# Actix is Multiple Things
|
|
|
|
|
|
|
|
Actix is a few things. The base of it is a powerful actor system for Rust on
|
2019-06-19 20:53:45 +02:00
|
|
|
top of which the `actix-web` system was originally built. This is what you are most
|
|
|
|
likely going to work with. What `actix-web` gives you is a fun and very fast web
|
2018-05-22 23:15:08 +02:00
|
|
|
development framework.
|
|
|
|
|
|
|
|
We call `actix-web` a small and pragmatic framework. For all intents and purposes
|
|
|
|
it's a microframework with a few twists. If you are already a Rust programmer
|
|
|
|
you will probably find yourself at home quickly, but even if you are coming from
|
2019-06-19 20:53:45 +02:00
|
|
|
another programming language you should find `actix-web` easy to pick up.
|
2018-05-22 23:15:08 +02:00
|
|
|
|
|
|
|
An application developed with `actix-web` will expose an HTTP server contained
|
2018-09-18 09:46:06 +02:00
|
|
|
within a native executable. You can either put this behind another HTTP server like
|
|
|
|
nginx or serve it up as-is. Even in the complete absence of another HTTP
|
2018-05-22 23:15:08 +02:00
|
|
|
server `actix-web` is powerful enough to provide HTTP 1 and HTTP 2 support as
|
|
|
|
well as SSL/TLS. This makes it useful for building small services ready for
|
|
|
|
distribution.
|
|
|
|
|
2019-06-13 05:53:04 +02:00
|
|
|
Most importantly: `actix-web` runs on Rust {{< rust-version "actix-web" >}} or later
|
|
|
|
and it works with stable releases.
|