A nailgun protocol server in rust, using tokio.
This repository contains three crates:
nails
- contains the nailgun protocol and theNail
trait that consuming crates can implement to plug in the logic that they would like to keep warm in the nailgun server.nails-fork
- contains aNail
trait implementation that forks a process as the user running the server.nails-example
- an example binary that configures and launches a server usingnails-fork
.
Users will generally want to consume the nails
crate, but copy-pasting the nails-fork
crate is helpful to bootstrap your own new Nail
trait implementation.