Crates.io | nails |
lib.rs | nails |
version | 0.13.0 |
source | src |
created_at | 2019-10-20 04:52:51.664078 |
updated_at | 2022-06-22 18:46:46.988336 |
description | [Nailgun](http://martiansoftware.com/nailgun/protocol.html) client and server protocols and a `Nail` trait that consuming crates can implement to plug in the logic that they would like to keep warm in a nailgun server. |
homepage | https://github.com/stuhood/nails |
repository | https://github.com/stuhood/nails |
max_upload_size | |
id | 174125 |
size | 44,966 |
A nailgun protocol client/server implementation, using tokio.
This repository contains four crates:
nails
- contains nailgun client and server protocols and the Nail
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 a Nail
trait implementation that forks a process as the user running the server.nails-example
- an example server binary that configures and launches a server using nails-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.