four-word-networking 2.4.0

Convert IP addresses to memorable, family-friendly word groups with autocomplete API. IPv4 = 4 words, IPv6 = 6-12 words. Perfect reconstruction with progressive hints and validation.
Documentation
use four_word_networking::FourWordAdaptiveEncoder;

fn main() {
    let encoder = FourWordAdaptiveEncoder::new().unwrap();
    let test_cases = vec!["[::1]:443", "[fe80::1]:22", "[2001:db8::1]:8080"];

    for addr in test_cases {
        println!("\n=== Testing address: {} ===", addr);
        
        match encoder.encode(addr) {
            Ok(encoded) => {
                println!("Encoded: '{}'", encoded);
                let word_count = encoded.split_whitespace().count();
                println!("Word count: {}", word_count);
                
                match encoder.decode(&encoded) {
                    Ok(decoded) => {
                        println!("Decoded: '{}'", decoded);
                    }
                    Err(e) => {
                        println!("Decode error: {}", e);
                    }
                }
            }
            Err(e) => {
                println!("Encode error: {}", e);
            }
        }
    }
}