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 64bb51e commit f7c9d8e
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 9.2.1 (26 May 2024)

- Include the whole API in docs

## 9.2.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"
license = "MIT"
version = "9.2.0"
version = "9.2.1"
authors = ["David Hotham"]
description = """
A Rust wrapper for the c-ares library, for asynchronous DNS requests.
Expand All @@ -20,6 +20,9 @@ include = [
"/src",
]

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

[dependencies]
bitflags = "2.0"
c-ares-sys = { version = "9.2.0", path = "c-ares-sys", default-features = false }
Expand Down
4 changes: 4 additions & 0 deletions c-ares-sys/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 9.2.1 (26 May 2024)

- Include the whole API in docs

## 9.2.0 (24 May 2024)

- c-ares 1.29.0
Expand Down
11 changes: 7 additions & 4 deletions c-ares-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "c-ares-sys"
license = "MIT"
version = "9.2.0"
version = "9.2.1"
authors = ["David Hotham"]
build = "build/main.rs"
links = "cares"
Expand All @@ -20,6 +20,12 @@ include = [
"/src",
]

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

[package.metadata.system-deps]
libcares = "1.13.0"

[build-dependencies]
cc = "1.0.61"
fs_extra = "1.3"
Expand All @@ -33,9 +39,6 @@ c-types = "3.0.0"
[target.'cfg(target_os = "android")'.dependencies]
jni-sys = "0.4"

[package.metadata.system-deps]
libcares = "1.13.0"

[features]
default = ["maybe-vendored"]
maybe-vendored = []
Expand Down

0 comments on commit f7c9d8e

Please sign in to comment.