19 releases

0.8.2 Nov 5, 2019
0.8.1 Feb 14, 2019
0.7.0 Nov 1, 2018
0.6.1 Jun 24, 2018
0.2.6 Mar 26, 2017

#132 in Database interfaces

Download history 476/week @ 2019-12-10 365/week @ 2019-12-17 132/week @ 2019-12-24 145/week @ 2019-12-31 549/week @ 2020-01-07 350/week @ 2020-01-14 377/week @ 2020-01-21 588/week @ 2020-01-28 638/week @ 2020-02-04 506/week @ 2020-02-11 543/week @ 2020-02-18 605/week @ 2020-02-25 584/week @ 2020-03-03 458/week @ 2020-03-10 587/week @ 2020-03-17 438/week @ 2020-03-24

1,035 downloads per month
Used in 9 crates (4 directly)

MIT license

58KB
998 lines

odbc-sys

Build Status Docs MIT licensed Published

FFI (Foreign Function Interface) bindings for ODBC (Open Database Connectivity) As ffi bindings to C-APIs are low level by nature this library is intended to be the foundation of other libraries to build on top, rather than to be used directly.

Design Goals

  • Providing declarations of ODBC Symbols compatible to the C-Interface of an ODBC Driver Manager
  • Provide correct definition of symbols for Unix and Windows in either 32Bit or 64Bit flavour
  • Not to abstract away any power of the underlying API
  • Increase type safety where feasable
  • As it is as of now unlikely to happen that anyone is writing ODBC 2.0 applications in Rust therefore deprecated symbols like 'SQLAllocEnv' have been left out intentionally.

Current State

Symbols are added to this library as we go along implementing uses cases in higher level APIs. If you miss something please do not hesitate to contribute.

Documentation

Thanks to the folks of docs.rs for building and hosting the documentation!

Contributing

Want to help out? Just create an issue, pull request or contact markus.klein@live.de.

No runtime deps