{"id":63597,"library":"ip","title":"IP","description":"Provides the IpAddr enum for representing IPv4 or IPv6 addresses. Note: deprecated in favor of std::net::IpAddr since Rust 1.7.0.","status":"deprecated","version":"1.1.1","language":"rust","source_language":null,"source_url":"https://github.com/dimbleby/ip-rs","tags":["ip","address","deprecated","networking"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nip = \"1.1.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add ip","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"IpAddr","correct":"use ip::IpAddr;"}],"quickstart":{"code":"use ip::IpAddr;\n\nfn main() {\n    let addr: IpAddr = \"127.0.0.1\".parse().unwrap();\n    println!(\"{}\", addr);\n}","lang":"rust","description":"Parse and display an IP address using the deprecated IpAddr type."},"warnings":[{"fix":"Replace `use ip::IpAddr` with `use std::net::IpAddr`.","message":"This crate is deprecated; use `std::net::IpAddr` instead.","severity":"breaking","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'1.7.0':22 'address':11,24 'deprec':13,25 'enum':5 'favor':15 'ip':1,23 'ipaddr':4,19 'ipv4':8 'ipv6':10 'net':18 'network':26 'note':12 'provid':2 'repres':7 'rust':21 'sinc':20 'std':17","created_at":"2026-06-17T16:45:43.791289+00:00","updated_at":"2026-06-17T16:45:43.791289+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/dimbleby/ip-rs","github":"https://github.com/dimbleby/ip-rs","docs":"https://docs.rs/ip/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}