From 09280a4cecb7d8c9dc8b757fb83ddd7ebce75025 Mon Sep 17 00:00:00 2001 From: David Hotham Date: Sun, 26 May 2024 13:47:57 +0100 Subject: [PATCH] set "vendored" for docs-rs so as to document the whole of the API --- CHANGELOG.md | 4 ++++ Cargo.toml | 5 ++++- c-ares-sys/CHANGELOG.md | 4 ++++ c-ares-sys/Cargo.toml | 11 +++++++---- 4 files changed, 19 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c2c0e3eeb..6cd9d0d1c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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()` diff --git a/Cargo.toml b/Cargo.toml index 807d2a767..07bda8503 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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. @@ -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 } diff --git a/c-ares-sys/CHANGELOG.md b/c-ares-sys/CHANGELOG.md index 577fc0edd..ea692ee79 100644 --- a/c-ares-sys/CHANGELOG.md +++ b/c-ares-sys/CHANGELOG.md @@ -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 diff --git a/c-ares-sys/Cargo.toml b/c-ares-sys/Cargo.toml index 5dee695d2..354eb3cd7 100644 --- a/c-ares-sys/Cargo.toml +++ b/c-ares-sys/Cargo.toml @@ -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" @@ -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" @@ -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 = []