packages feed

rustls 0.2.0.0 → 0.2.1.0

raw patch · 4 files changed

+18/−4 lines, 4 files

Files

CHANGELOG.md view
@@ -1,5 +1,10 @@ # Revision history for rustls +## 0.2.1.0 -- 30.12.2024++ * Add `use-pkg-config` flag (enabled by default).+ * Use rustls-ffi 0.14.1.+ ## 0.2.0.0 -- 24.09.2024   * Use rustls-ffi 0.14.0.
README.md view
@@ -25,7 +25,7 @@ Make sure to have [Cargo](https://doc.rust-lang.org/stable/cargo/getting-started/installation.html) installed. Then, clone and install rustls-ffi:  ```bash-git clone https://github.com/rustls/rustls-ffi -b v0.14.0+git clone https://github.com/rustls/rustls-ffi -b v0.14.1 cd rustls-ffi make DESTDIR=/path/to/some/dir install ```
rustls.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: rustls-version: 0.2.0.0+version: 0.2.1.0 synopsis: TLS bindings for Rustls description:   TLS bindings for [Rustls](https://github.com/rustls/rustls)@@ -22,6 +22,11 @@   location: https://github.com/amesgen/hs-rustls   type: git +flag use-pkg-config+  description: Whether to use pkgconfig-depends or extra-libraries+  default: True+  manual: False+ common commons   default-language: GHC2021   ghc-options:@@ -68,7 +73,11 @@     text >=2.0 && <2.2,     transformers >=0.5.6 && <0.7, -  extra-libraries: rustls+  if flag(use-pkg-config)+    pkgconfig-depends: rustls >=0.14 && <0.15+  else+    extra-libraries: rustls+   include-dirs: cbits  test-suite tasty
src/Rustls.hs view
@@ -185,7 +185,7 @@ -- cryptography provider. -- -- >>> version--- "rustls-ffi/0.14.0/rustls/0.23.13/aws-lc-rs"+-- "rustls-ffi/0.14.1/rustls/0.23.18/aws-lc-rs" version :: Text version = unsafePerformIO $ alloca \strPtr -> do   FFI.hsVersion strPtr