diff --git a/Cargo.toml b/Cargo.toml index cdb76cc..b75bd54 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/Xuanwo/reqwest-hickory-resolver" edition = "2021" license = "Apache-2.0" name = "reqwest-hickory-resolver" -version = "0.0.1" +version = "0.0.2" [dependencies] hickory-resolver = "0.24.0" diff --git a/README.md b/README.md index f7f4cfc..07b3a32 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ fn init_with_hickory_resolver() -> reqwest::Result<()> { HickoryResolver has cache support, we can share the same resolver across different client for better performance. -``` +```rust use std::sync::Arc; use once_cell::sync::Lazy; use reqwest::ClientBuilder;