bobozaur / sqlx-exasol

An Exasol database driver for the Rust SQLx framework
Apache License 2.0
1 stars 0 forks source link

Fix builds after tungstenite 0.20.1 #18

Closed bobozaur closed 8 months ago

bobozaur commented 8 months ago

async-tungstenite imports the minor version of tungstenite (0.20 at the time of this PR).

The sqlx-exasol library was developed according to tungstenite version 0.20.0 but after CVE-2023-43669 version 0.20.1 was released, and that was making builds fail. The issue #17 uncovered this as part of a Windows build, but it in fact affects all OS's.

This PR imports a fixed version of tungstenite (0.20.1) and accommodates the added error variant as part of the vulnerability fix.

Additionally, for the sake of ensuring builds, cargo check CI jobs were added to build the library on Windows and MacOS.