gai-core 0.1.4

Pure parsing + simulation of Linux name-resolution config (nsswitch.conf, resolv.conf, gai.conf, hosts) — no I/O. Core of the gai CLI.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! gai-core: pure logic for parsing the OS name-resolution configuration
//! and simulating the getaddrinfo() decision path.
//!
//! No network I/O, no process interception. Everything here is testable
//! against fixture files, which is the whole point of keeping it separate
//! from gai-probe.

pub mod config;
pub mod platform;
pub mod sim;
pub mod types;

pub use sim::{simulate, SimulationOutcome};
pub use types::*;