diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 134beff..cf165d9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -111,7 +111,7 @@ jobs: - name: Publish to crates.io env: CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} - run: cargo publish + run: cargo rustdoc -p hyper-custom-cert --all-features && cargo publish release: name: Create GitHub Release diff --git a/Cargo.lock b/Cargo.lock index 0488e60..851b284 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -364,7 +364,7 @@ dependencies = [ [[package]] name = "hyper-custom-cert" -version = "0.1.8" +version = "0.2.2" dependencies = [ "hyper-rustls", "hyper-tls", diff --git a/README.md b/README.md index c9d60a6..74ec491 100644 --- a/README.md +++ b/README.md @@ -17,12 +17,7 @@ A small, ergonomic HTTP client wrapper around hyper with optional support for cu ## Quick Start -Add this to your `Cargo.toml`: - -```toml -[dependencies] -hyper-custom-cert = "0.1.0" -``` +`cargo add hyper-custom-cert` ### Basic Usage (Secure Default) diff --git a/crates/hyper-custom-cert/Cargo.toml b/crates/hyper-custom-cert/Cargo.toml index 98c437f..8fc5c14 100644 --- a/crates/hyper-custom-cert/Cargo.toml +++ b/crates/hyper-custom-cert/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "hyper-custom-cert" -version = "0.1.9" +version = "0.2.2" edition = "2021" description = "A small, ergonomic HTTP client wrapper around hyper with optional support for custom Root CAs and a dev-only insecure mode for self-signed certificates." license = "MIT OR Apache-2.0" repository = "https://github.com/seemueller-io/hyper-custom-cert" documentation = "https://docs.rs/hyper-custom-cert" homepage = "https://docs.rs/hyper-custom-cert" -readme = "README.md" +readme = "../../README.md" keywords = ["hyper", "http-client", "tls", "rustls", "self-signed"] categories = ["asynchronous", "network-programming", "web-programming::http-client"]