All Projects → steveklabnik → Simple Server

steveklabnik / Simple Server

Licence: other
A simple webserver built on top of the Rust standard library and the http crate.

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Simple Server

Ansible Role Haproxy
Ansible Role - HAProxy
Stars: ✭ 112 (-30.86%)
Mutual labels:  webserver
Webserver
A C++ Lightweight Web Server based on Linux epoll
Stars: ✭ 135 (-16.67%)
Mutual labels:  webserver
Uhttpsharp
A very lightweight & simple embedded http server for c#
Stars: ✭ 151 (-6.79%)
Mutual labels:  webserver
Microdot
The impossibly small web framework for MicroPython
Stars: ✭ 121 (-25.31%)
Mutual labels:  webserver
Goserv
A lightweight toolkit for web applications in Go
Stars: ✭ 132 (-18.52%)
Mutual labels:  webserver
Owasp Mth3l3m3nt Framework
OWASP Mth3l3m3nt Framework is a penetration testing aiding tool and exploitation framework. It fosters a principle of attack the web using the web as well as pentest on the go through its responsive interface.
Stars: ✭ 139 (-14.2%)
Mutual labels:  webserver
Ipfscloud Web
IpfsCloud: A Decentralized, Anonymous Cloud Storage web client on IPFS.
Stars: ✭ 105 (-35.19%)
Mutual labels:  webserver
Mypoorwebserver
基于tinyhttpd和《Linux高性能服务器编程》改编的个人破产版HTTP WebServer服务器,哈哈~
Stars: ✭ 150 (-7.41%)
Mutual labels:  webserver
Octane
A web server modeled after express in Rust.
Stars: ✭ 136 (-16.05%)
Mutual labels:  webserver
Nginx
A fairly flexible and feature full Ansible role for the NGINX web server.
Stars: ✭ 151 (-6.79%)
Mutual labels:  webserver
Lophttpd
lots of performance (or lots of porn, if you prefer) httpd: Easy, chrooted, fast and simple to use HTTP server for static content. Runs on Linux, BSD, Android and OSX/Darwin. It's free but if you like it, consider donating to the EFF: https://supporters.eff.org/donate
Stars: ✭ 123 (-24.07%)
Mutual labels:  webserver
Agoo C
Agoo webserver in C.
Stars: ✭ 125 (-22.84%)
Mutual labels:  webserver
Gofast
gofast is a FastCGI "client" library written purely in go
Stars: ✭ 140 (-13.58%)
Mutual labels:  webserver
Php Server
Start a PHP server
Stars: ✭ 119 (-26.54%)
Mutual labels:  webserver
Gulp Server Io
Standalone / gulp (stream) / delivery server setup with Proxy options remote debugger and more
Stars: ✭ 152 (-6.17%)
Mutual labels:  webserver
Restup
Webserver for universal windows platform (UWP) apps
Stars: ✭ 112 (-30.86%)
Mutual labels:  webserver
Pure Http
✨ The simple web framework for Node.js with zero dependencies.
Stars: ✭ 139 (-14.2%)
Mutual labels:  webserver
Android Http Server
A complete zero-dependency implementation of a web server and a servlet container in Java with a sample Android application.
Stars: ✭ 158 (-2.47%)
Mutual labels:  webserver
Ambassador
Super lightweight web framework in Swift based on SWSGI
Stars: ✭ 152 (-6.17%)
Mutual labels:  webserver
Piadvanced
This started as a custom install for my pihole!
Stars: ✭ 144 (-11.11%)
Mutual labels:  webserver

simple-server

a crate for building a simple blocking HTTP server

Build Status crates.io

NOTE: this crate has not been evaluated for security concerns. therefore, we recommend that you take caution before using it in a production application.

up and running

this crate is written in the rust programming language. you'll need rust to run this crate. you can install rust using rustup. simple-server requires that you use rust version 1.20+.

to get this crate running locally:

  1. fork and clone this repository
  2. cd simple-server
  3. cargo build

to use this crate in your project, add the following line to your Cargo.toml in the [dependencies] section:

simple-server = "0.3.0"

to see this crate in action, check out the examples.

tests

to test this crate locally, run:

cargo test

docs

this crate has documentation. to build and open the docs locally:

cargo doc --open

examples

there are several examples provided with this crate:

to run an example:

cargo run --example <name of example>

this crate uses the log crate for logging. in the example, we use the env-logger crate to display the logs. by default, env-logger only prints out error-level logs. to enable info-level logging as well, you'll need to do one of the following depending on your system:

on Linux/OS X:

RUST_LOG="simple_server=info" cargo run --example server

on Windows PowerShell:

$env:RUST_LOG="simple_server=info";
cargo run --example server

license

simple-server is licensed under both the Apache2 and MIT licenses.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].