nails-example

Crates.ionails-example
lib.rsnails-example
version0.13.0
sourcesrc
created_at2019-10-20 04:56:58.800961
updated_at2022-06-22 18:49:30.843538
descriptionAn example Nailgun server binary that configures and launches a server using `nails-fork`.
homepagehttps://github.com/stuhood/nails
repositoryhttps://github.com/stuhood/nails
max_upload_size
id174127
size14,535
Stu Hood (stuhood)

documentation

README

Nails

A nailgun protocol client/server implementation, using tokio.

This repository contains four crates:

  1. 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.
  2. nails-fork - contains a Nail trait implementation that forks a process as the user running the server.
  3. nails-example - an example server binary that configures and launches a server using nails-fork.
  4. 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.

Commit count: 94

cargo fmt