Crates.io | turbolift |
lib.rs | turbolift |
version | 0.1.9 |
source | src |
created_at | 2020-07-30 06:52:13.941325 |
updated_at | 2021-12-05 12:41:51.242209 |
description | Easy distribution interface 🚡 |
homepage | https://dominic.computer/turbolift |
repository | https://github.com/dominicburkart/turbolift/ |
max_upload_size | |
id | 271209 |
size | 15,781 |
Turbolift is a prototype distribution interface for rust. It's designed to make distribution easier and more maintainable by extracting and distributing specific functions and their dependencies from a larger rust application. Turbolift then acts as the glue between these extracted mini-apps and the main application.
Look in the examples directory for full projects with working syntax examples. An external example is maintained that can be used as a template repo.
reqwest
and actix-web
(no current plans to
refactor to use a lower level network protocol).More information is available on the project homepage.
RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo build
)
(tracking issue).main
.main.rs
cannot use functions declared
in main.rs
.-> impl Trait
types.on
macro will still be
compiled for distribution, even if eventually the linker will then
remove the completed binary and distribution code.cargo build --features "distributed"
). Otherwise, just transform the
tagged function into an async function (to provide an identical API), but
don't build any microservices or alter any code.