From 3a521b5414a066a8e9c1ec9e3046b12df148fcc6 Mon Sep 17 00:00:00 2001 From: Markus Klein Date: Wed, 10 Jan 2024 18:18:53 +0100 Subject: [PATCH] remove unused dependency --- Cargo.lock | 7 ------- Changelog.md | 4 ++++ odbc-api/Cargo.toml | 5 ++++- odbc-api/src/lib.rs | 3 +-- 4 files changed, 9 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9d9881b0..3ef6f0b0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -593,12 +593,6 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764" -[[package]] -name = "force-send-sync" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32688dcc448aa684426ecc398f9af78c55b0769515ccd12baa565daf6f32feb6" - [[package]] name = "foreign-types" version = "0.5.0" @@ -947,7 +941,6 @@ dependencies = [ "criterion", "csv", "env_logger", - "force-send-sync", "lazy_static", "log", "odbc-sys", diff --git a/Changelog.md b/Changelog.md index fc63af00..c23a3d33 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,9 @@ # Changelog +## (next) + +* Removed reexport of force_send_sync + ## 4.1.0 * Introducing `Quirks` to document knoweldege about behaviour from drivers which is different from the ODBC specification. This can be helpful for generic applications in order to support databases if they want to invest in workarounds for bugs or percularities of ODBC drivers. diff --git a/odbc-api/Cargo.toml b/odbc-api/Cargo.toml index 44ccd161..5ff77c19 100644 --- a/odbc-api/Cargo.toml +++ b/odbc-api/Cargo.toml @@ -64,11 +64,14 @@ iodbc = ["odbc_version_3_5", "narrow", "odbc-sys/iodbc"] default=["odbc_version_3_80"] [dependencies] +# Low level bindings to ODBC API calls into libodbc.so odbc-sys = { version = ">= 0.22, < 0.25", default-features = false } +# Used to generate code for the error type thiserror = "1.0.56" +# Used as a log frontend to emit log messages for applications log = "0.4.20" +# Interacting with UTF-16 texts for wide columns or wide function calls widestring = "1.0.2" -force-send-sync = "1.1.0" [target.'cfg(windows)'.dependencies] # We use winit to display dialogs prompting for connection strings. We can deactivate default diff --git a/odbc-api/src/lib.rs b/odbc-api/src/lib.rs index 8adb484d..1dce522c 100644 --- a/odbc-api/src/lib.rs +++ b/odbc-api/src/lib.rs @@ -52,8 +52,7 @@ pub use self::{ sleep::Sleep, statement_connection::StatementConnection, }; -// Reexports -pub use force_send_sync; + /// Reexports `odbc-sys` as sys to enable applications to always use the same version as this /// crate. pub use odbc_sys as sys;