Skip to content

Commit

Permalink
set "vendored" for docs-rs
Browse files Browse the repository at this point in the history
so as to document the whole of the API
  • Loading branch information
dimbleby committed May 26, 2024
1 parent 0471980 commit f10da0a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 8.5.1 (26 May 2024)

- Include the whole API in docs

## 8.5.0 (26 May 2024)

- add `get_servers()`
Expand Down
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "c-ares-resolver"
license = "MIT"
version = "8.5.0"
version = "8.5.1"
authors = ["David Hotham"]
description = """
An asynchronous DNS resolver, backed by c-ares.
Expand All @@ -20,6 +20,9 @@ include = [
"/src",
]

[package.metadata.docs.rs]
features = ["vendored"]

[dependencies]
c-ares = { version = "9.2.0", default-features = false }
c-ares-sys = { version = "9.2.0", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion src/resolver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ impl Options {
/// When a DNS server fails to respond to a query, c-ares will deprioritize the server. On
/// subsequent queries, servers with fewer consecutive failures will be selected in preference.
/// However, in order to detect when such a server has recovered, c-ares will occasionally
/// retry failed servers. [`cares::ServerFailoverOptions`] contains options to control this
/// retry failed servers. [`c_ares::ServerFailoverOptions`] contains options to control this
/// behaviour.
///
/// If this option is not specified then c-ares will use a retry chance of 10% and a minimum
Expand Down

0 comments on commit f10da0a

Please sign in to comment.