1 unstable release

0.2.0 Apr 14, 2024
0.1.0 Mar 30, 2024

#1737 in Network programming

Download history 179/week @ 2024-03-27 28/week @ 2024-04-03 135/week @ 2024-04-10 14/week @ 2024-04-17

356 downloads per month

MIT license

21KB
369 lines

ipstruct Crates.io License

Rust client library for accessing the ipstruct.com Web API. With this library, you can easily retrieve information related to public IP addresses. It supports both IPv4 and IPv6, and provides asynchronous and synchronous request capabilities.

Key Features

  • Retrieve information related to public IP addresses.
    • Public IP Address
    • Country
    • ASN
    • AS Name (ISP or network operator)
  • Supports both IPv4 and IPv6.
  • Provides asynchronous and synchronous request capabilities.
  • Proxy support with customizable options (default or user-specified).

Usage

Add ipstruct to your dependencies

[dependencies]
ipstruct = "0.2.0"

For more details, see examples or doc.

Dependencies

~6–21MB
~270K SLoC