1 unstable release

0.2.0 Apr 14, 2024
0.1.0 Mar 30, 2024

#15 in #ip-geolocation


Used in 2 crates

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–17MB
~224K SLoC