1 unstable release

Uses old Rust 2015

0.1.0 May 1, 2017

#34 in #host-name

MIT license

21KB
372 lines

netdb: Network Database for Rust

This crate will eventually contain a pure-Rust implementation of queries for network-related names similar to the functions found in POSIX’ netdb.h. The eventual implementation will be cross-platform and perform the correct actions as configured for the particular system.

Usage

Add this to your Cargo.toml:

[dependencies]
netdb = "0.1.0"

Then, add this to your crate root:

extern crate netdb

Databases

The crate will contain the following databases, each available in a module of the same name:

  • hosts
  • networks
  • protocols
  • services

In addition, the following modules will provide functions combining information from several databases:

  • addr

Dependencies

~9.5MB
~164K SLoC