dependabot[bot] 1e047d88e1 Build(deps): bump mongodb from 3.2.1 to 3.2.5 in /frameworks/Rust/actix 1 tuần trước cách đây
..
src 669a3995f3 Fixed actix build error. Upgraded rust to 2024 edition 7 tháng trước cách đây
templates 32111f7310 Add yarte at actix-pg fortunes (#4983) 6 năm trước cách đây
Cargo.lock 1e047d88e1 Build(deps): bump mongodb from 3.2.1 to 3.2.5 in /frameworks/Rust/actix 1 tuần trước cách đây
Cargo.toml 1e047d88e1 Build(deps): bump mongodb from 3.2.1 to 3.2.5 in /frameworks/Rust/actix 1 tuần trước cách đây
README.md 20381d4312 docs (rust/actix): update links in readme.md (#9116) 1 năm trước cách đây
actix-http.dockerfile 669a3995f3 Fixed actix build error. Upgraded rust to 2024 edition 7 tháng trước cách đây
actix-server.dockerfile 669a3995f3 Fixed actix build error. Upgraded rust to 2024 edition 7 tháng trước cách đây
actix-web-diesel.dockerfile 669a3995f3 Fixed actix build error. Upgraded rust to 2024 edition 7 tháng trước cách đây
actix-web-mongodb.dockerfile 669a3995f3 Fixed actix build error. Upgraded rust to 2024 edition 7 tháng trước cách đây
actix-web-pg-deadpool.dockerfile 669a3995f3 Fixed actix build error. Upgraded rust to 2024 edition 7 tháng trước cách đây
actix.dockerfile 669a3995f3 Fixed actix build error. Upgraded rust to 2024 edition 7 tháng trước cách đây
benchmark_config.json 669a3995f3 Fixed actix build error. Upgraded rust to 2024 edition 7 tháng trước cách đây
rust-toolchain.toml 46f68aeccd Use stable toolchain (#8812) 1 năm trước cách đây
rustfmt.toml fab368b3b6 prepare Actix Web v4 update (#7120) 3 năm trước cách đây

README.md

Actix web framework

Description

Actix web is a small, fast, pragmatic, open source rust web framework.

Features

  • Supported HTTP/1.x and HTTP/2.0 protocols
  • Streaming and pipelining
  • Keep-alive and slow requests handling
  • Client/Server WebSockets
  • Transparent content compression/decompression (br, gzip, deflate)
  • Configurable request routing
  • Graceful server shutdown
  • Multipart streams
  • Middlewares (Logger, Session, DefaultHeaders, CORS)

Databases

  • PostgreSQL

  • MongoDB

    • Raw driver access and connection pooling via mongodb (actix-web-mongodb test)

Test URLs

Test 1: JSON Encoding

http://localhost:8080/json

Test 2: Single Row Query

http://localhost:8080/db

Test 3: Multi Row Query

http://localhost:8080/queries?q=20

Test 4: Fortunes (Template rendering)

http://localhost:8080/fortune

Test 5: Update Query

http://localhost:8080/updates?q=20

Test 6: Plaintext

http://localhost:8080/plaintext