-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathCargo.toml
More file actions
38 lines (32 loc) · 1.4 KB
/
Cargo.toml
File metadata and controls
38 lines (32 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[package]
name = "odbc-sys"
version = "0.29.0"
authors = ["Markus Klein"]
license = "MIT"
description = "ODBC ffi bindings"
repository = "https://github.com/pacman82/odbc-sys"
keywords = ["sql","database","odbc","ffi"]
build = "build.rs"
categories = ["external-ffi-bindings", "database"]
edition = "2021"
[dependencies]
unix-odbc = { version = "0.1.4", path = "unix-odbc", optional = true }
[features]
default = ["odbc_version_3_80"]
static = []
iodbc = []
# unixODBC has a dependency on libltdl. If you want to create a fully statically linked executable
# and unixODBC is your driver manager of choice you need also to link statically against libltdl.
static_ltdl = []
# Use this to build unixODBC as a dependency of odbc-sys and link statically againts it. This can
# make installation of your artifact easier, because users may not need to install a driver manager.
# However, please note that unixODBC is published under an LGPL license, so by statically linking
# you need to take the implications for your artifact into account. `odbc-sys` itself is MIT
# licensed. In order to build unixODBC it draws in an optional dependency containing the unixODBC
# source code, which is licensed under the same terms as unixODBC itself.
vendored-unix-odbc = ["dep:unix-odbc", "static"]
odbc_version_3_50 = []
odbc_version_3_80 = ["odbc_version_3_50"]
odbc_version_4 = ["odbc_version_3_80"]
[workspace]
members = ["unix-odbc"]