From ccfc6bd0a4784f25620b300481cca17c2ed49297 Mon Sep 17 00:00:00 2001 From: Maxime Curioni Date: Thu, 2 Jan 2025 14:27:12 -0700 Subject: [PATCH 1/2] `Cargo.toml`: upgrade libraries (removing patch versions) and remove default features --- Cargo.toml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index dec87f7..904406d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,16 +22,17 @@ travis-ci = { repository = "ipinfo/rust", branch = "master" } codecov = { repository = "ipinfo/rust", branch = "master", service = "github" } [dependencies] -reqwest = { version = "0.12", features = ["json"], default-features = false } -lru = "0.12.1" +reqwest = { version = "0.12", default-features = false, features = ["json"] } +lru = "0.12" +# per https://serde.rs/no-std.html, "a dependency on serde_json always needs Serde built with std", which is why we do not set "default-features = false" on `serde`. serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -ipnetwork = "0.20.0" -tokio = { version = "1", features = ["time"] } -lazy_static = "1.4" +ipnetwork = "0.20" +tokio = { version = "1", default-features = false, features = ["time"] } +lazy_static = "1.5" [dev-dependencies] -tokio = { version = "1", features = ["rt-multi-thread", "macros"] } +tokio = { version = "1", default-features = false, features = ["rt-multi-thread", "macros"] } [profile.release] overflow-checks = true From e5d92df623d313396b5300c63e7d55139842ba08 Mon Sep 17 00:00:00 2001 From: Maxime Curioni Date: Thu, 2 Jan 2025 14:32:21 -0700 Subject: [PATCH 2/2] 3.1.0 release --- Cargo.toml | 6 +----- README.md | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 904406d..b534061 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,12 +1,8 @@ [package] name = "ipinfo" description = "ipinfo: A Rust library for IPInfo" -version = "3.0.1" +version = "3.1.0" authors = [ - "Amr Ali ", - "Uman Shahzad ", - "Umar Farooq ", - "Fayzan Ahmad ", "IPinfo Releases ", ] edition = "2021" diff --git a/README.md b/README.md index 7515a1d..6648ec0 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ To use IPinfo, add the following to your `Cargo.toml` file. ```toml [dependencies] -ipinfo = "3.0.1" +ipinfo = "3.1.0" ``` ## Getting Started