# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "public-ip-address" version = "0.3.2" authors = ["Tomash Ghz "] description = "A simple library for performing public IP and geolocation lookups from various services." readme = "README.md" keywords = [ "network", "geolocation", "geoip", "public", "ip", ] categories = [ "network-programming", "web-programming", ] license = "MIT OR Apache-2.0" repository = "https://github.com/ghztomash/public-ip-address" [profile.dev.package.cocoon] opt-level = 3 [profile.dev.package.sha2] opt-level = 3 [[example]] name = "blocking" required-features = ["blocking"] [dependencies.cocoon] version = "0.4" optional = true [dependencies.directories] version = "5.0" [dependencies.log] version = "0.4" [dependencies.maybe-async] version = "0.2" [dependencies.mid] version = "2.0" optional = true [dependencies.reqwest] version = "0.12" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.thiserror] version = "1.0" [dev-dependencies.crossterm] version = "0.27" [dev-dependencies.env_logger] version = "0.11" [dev-dependencies.ratatui] version = "0.26" [dev-dependencies.rusty-hook] version = "0.11" [dev-dependencies.serial_test] version = "3.0" [dev-dependencies.tokio] version = "1" features = [ "rt-multi-thread", "macros", ] [dev-dependencies.tokio-test] version = "0.4" [features] blocking = [ "maybe-async/is_sync", "reqwest/blocking", ] encryption = [ "dep:cocoon", "dep:mid", ]