A nailgun protocol client/server implementation, using tokio.
This repository contains four crates:
nails
- contains nailgun client and server protocols 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 server binary that configures and launches a server usingnails-fork
.nails-client
- a nailgun client binary, intended to be equivalent to the C and Python clients.
Users will generally want to consume the nails
crate in order to act as either a client or server. Copy-pasting the nails-fork
crate might be helpful to bootstrap a new Nail
trait implementation to host in a server.