# cmdb-ip-mapping [![Crates.io](https://img.shields.io/crates/v/rlink?color=blue)](https://crates.io/crates/cmdb-ip-mapping) [![Released API docs](https://docs.rs/rlink/badge.svg)](https://docs.rs/cmdb-ip-mapping) [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE-MIT) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](./LICENSE-APACHE) Depend on [rlink](https://github.com/rlink-rs/rlink-rs). Get appuk by ip from cmdb in rlink task. ## Example ```yaml [dependencies] cmdb-ip-mapping = "0.1" ``` ``` rust let ip = "10.99.5.49"; let ip_mapping_url = "http://ipappukmapping.17usoft.com/mapping/all"; load_ip_mapping_task(ip_mapping_url); let option = get_ip_mapping_config(ip); assert!(option.is_some()); assert!(option.unwrap().app_uk.eq("dssteamyyjk.java.ip.appuk.mapping")) ```