#client-server #nailgun #traits #protocols #logic #keep #plug

nails

Nailgun 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

15 releases (breaking)

0.13.0 Jun 22, 2022
0.12.0 Jan 20, 2021
0.11.0 Dec 23, 2020
0.8.0 Nov 20, 2020
0.3.0 Oct 30, 2019

#534 in HTTP server

Download history 55/week @ 2024-07-22 157/week @ 2024-07-29 35/week @ 2024-08-05 71/week @ 2024-08-12 585/week @ 2024-08-19 804/week @ 2024-08-26 366/week @ 2024-09-02 1774/week @ 2024-09-09 83/week @ 2024-09-16 2655/week @ 2024-09-23 3941/week @ 2024-09-30 4093/week @ 2024-10-07 198/week @ 2024-10-14 128/week @ 2024-10-21 364/week @ 2024-10-28 1793/week @ 2024-11-04

2,713 downloads per month
Used in 3 crates

Apache-2.0

45KB
986 lines

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.

Dependencies

~4–11MB
~116K SLoC