netdb 0.1.0

Access to network-related name databases
Documentation

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