Skip to content

Commit

Permalink
Cargo.toml: upgrade libraries (removing patch versions) and remove …
Browse files Browse the repository at this point in the history
…default features
  • Loading branch information
max-ipinfo committed Jan 2, 2025
1 parent c1946ac commit ccfc6bd
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ccfc6bd

Please sign in to comment.