Skip to the content.

VeTiS

Crates.io downloads crates.io Build Status Crates.io MSRV Documentation MIT licensed codecov

VeTiS is a lightweight yet powerful web server that brings simplicity and performance together. Designed with Rust’s safety guarantees in mind, it delivers HTTP/1, HTTP/2, and HTTP/3 support with a clean, intuitive API that makes building web services a breeze.

Built on top of hyper.

History

VeTiS started as a component of deboa-tests, a private crate used by deboa http client for integration testing purposes, as it got more features, like HTTP1/2 and 3 support, alongside TLS, I realized project could be reused somehow.

So with reusability in mind, I started EasyHttpMock, a project which aims to be a quick and easy way to start a mock server for integration purposes, it didn’t took too much to realized this internal http server used by EasyHttpMock could be reused for other purposes than simply be a mock server.

That’s why VeTiS came to reality, by taking advantage of what I started on deboa-tests for testing purposes, it turned into a complete http server project, the goal is make it very flexible, while keeping it small and fast.

Features

Quick Start

Please check crates section below for more information. Each crate has its own documentation and examples.

Crates

Crate Description Documentation
vetis Core HTTP server library docs.rs
vetis-smol Smol runtime support docs.rs
vetis-tokio Tokio runtime support docs.rs
vetis-macros Macros for Vetis docs.rs

Standalone Server

Check out the standalone server for complete examples of how to use Vetis as a standalone server.

Examples

Check out the examples for complete examples of how to use Vetis in your projects.

Create project from template

You can create a new project from the template using cargo generate:

cargo generate ararog/vetis-templates

Benchmarks

Check out the benchmarks for performance details.

Documentation

Other Projects

License

Licensed under either of

at your option.

Author

Rogerio Pereira Araujo rogerio.araujo@gmail.com