From c29df59cb8c3af6f99016b8b7a2e73049a117e54 Mon Sep 17 00:00:00 2001 From: Pieter Agten Date: Sun, 10 May 2020 05:30:33 +0200 Subject: [PATCH] Describe trusted_cert_callback feature and bump mbedtls-sys-auto version --- Cargo.lock | 4 ++-- README.md | 1 + mbedtls-sys/Cargo.toml | 2 +- mbedtls/Cargo.toml | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index afc46c31d..c197710a9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -240,7 +240,7 @@ dependencies = [ "hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)", "matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", - "mbedtls-sys-auto 2.18.4", + "mbedtls-sys-auto 2.18.5", "rand 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "rc2 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "rs-libc 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -253,7 +253,7 @@ dependencies = [ [[package]] name = "mbedtls-sys-auto" -version = "2.18.4" +version = "2.18.5" dependencies = [ "bindgen 0.19.2 (registry+https://github.com/rust-lang/crates.io-index)", "cmake 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/README.md b/README.md index 1546fd43a..79a2ffb96 100644 --- a/README.md +++ b/README.md @@ -105,6 +105,7 @@ This is a list of the Cargo features available for mbedtls-sys. Features in memmove/memcpy/memcmp/memset, and rand/printf. For printf, you can optionally use the `custom_printf` feature. * **time** Enable time support. +* *trusted_cert_callback* Enable trusted certificate callback support. * **zlib** Enable zlib support. For the complete mapping of features to config.h defines, see diff --git a/mbedtls-sys/Cargo.toml b/mbedtls-sys/Cargo.toml index dc5aa8968..f0dd423c8 100644 --- a/mbedtls-sys/Cargo.toml +++ b/mbedtls-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mbedtls-sys-auto" -version = "2.18.4" +version = "2.18.5" authors = ["Jethro Beekman "] build = "build/build.rs" license = "Apache-2.0/GPL-2.0+" diff --git a/mbedtls/Cargo.toml b/mbedtls/Cargo.toml index 4a958aaf9..307cda240 100644 --- a/mbedtls/Cargo.toml +++ b/mbedtls/Cargo.toml @@ -33,7 +33,7 @@ rc2 = { version = "0.3", optional = true } rs-libc = "0.1.0" [dependencies.mbedtls-sys-auto] -version = "2.18.0" +version = "2.18.5" default-features = false features = ["custom_printf", "trusted_cert_callback"] path = "../mbedtls-sys"