Milstian - a Rust Internet Framework

In progress, primarily used for learning Rust programming.
This project is based on the programming exercise Building a multithreaded web server from the book The Rust Programming Language (no starch press 2018) and inspired by the Aomebo Web Framework for PHP.
Major goal
- Easy to make any kind of website with it that is scaleable, fast and robust
Goals
- Concurrent Internet-server with integrated HTTP and HTTP over TLS via TCP/IP support
- Integrated web application framework
- Easy to customize for any kind of application
- Fast
- Scaleable
- Flexible
- Potential support for other transport protocols and application layer protocols
Development
- Use
rust-fmton all rust files - Use
cargo checkandcargo testto ensure validity
Run local server
- visit project repository root
- Run
cargo run --example static localhost 8888 10 index.htm ./html/ 404.htm 1024
Parameters are:
- TCP Hostname
- TCP Port
- Limit of workers
- HTTP directory index file
- HTTP web-server file-system root
- HTTP file not found file
- Maximum TCP request size
Example static TCP-HTTP application
extern crate milstian;
use ;
Example simple dynamic TCP-HTTP application
extern crate milstian;
use HashMap;
use SocketAddr;
extern crate milstian_http;
use request;
use response;
use ResponderInterface;
use ;
Docs
License
This project is under the GPLv3 license