About this project
VeTiS Tokio (Very Tiny Server with tokio runtime support) is a Rust library for building web servers on top of the tokio async runtime. It is published on crates.io and documented on docs.rs, with CI builds and code coverage reported through badges in the README.
Capabilities described in the README:
- Server construction through a builder API: listeners, hosts, and the server itself are configured separately and then assembled.
- Listener configuration: port, bind interface, and protocol versions (the example uses HTTP/1.1; crate features list http2 as default and http3 as optional).
- TLS support via a rust-tls feature (enabled by default), with security configuration accepting CA certificate, server certificate, and key bytes.
- Host configuration: hostname, security settings, bind addresses, and custom status pages (for example 404 and 500 pages) declared with a status_pages macro.
- Routing: handler paths are registered per host by URI, with async handler functions returning responses; the example shows /hello and /health endpoints.
- Lifecycle: the server exposes run and stop methods.
Crate features listed: http2 (default), http3, rust-tls (default).
Related external crates mentioned: vetis-static, vetis-rev-proxy, vetis-fash, vetis-log, and auth.
Installation is via Cargo (vetis = { version = "0.1.0" } in the example). The project is dual-licensed under Apache-2.0 or MIT, at the user's option. Author: Rogerio Pereira Araujo.
The README does not state benchmarks, performance figures, or comparisons with other servers; only the feature set and a usage example are provided.
Comments
0 people shared their preference · Deer Point appears after 10 participants
Sign in to join the discussion.