-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
51 lines (41 loc) · 1.58 KB
/
Cargo.toml
File metadata and controls
51 lines (41 loc) · 1.58 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
39
40
41
42
43
44
45
46
47
48
49
50
51
[package]
authors = ["Stackable GmbH <info@stackable.tech>"]
edition = "2024"
license = "OSL-3.0"
name = "odbc-driver-rs"
repository = "https://github.com/stackabletech/odbc-rs-sqlite"
version = "0.1.0"
[lib]
crate-type = ["cdylib"]
[features]
# Default configuration: dynamic linking with unixODBC on Unix systems
default = []
# Cross-platform ODBC linking options:
# Use these features to control which ODBC library to link against
# Link statically against ODBC libraries instead of dynamically
# Useful for creating self-contained binaries without runtime dependencies
# Examples:
# cargo build --features static # Static unixODBC on Unix
# cargo build --features static,iodbc # Static iODBC on Unix
static = []
# Use iODBC instead of unixODBC on Unix systems
# iODBC is an alternative ODBC implementation, commonly used on macOS
# Examples:
# cargo build --features iodbc # Dynamic iODBC
# cargo build --features static,iodbc # Static iODBC
iodbc = []
# ODBC version-specific features (for future compatibility):
# These are currently unused but defined to prevent cfg warnings
# They could be used to enable version-specific ODBC functionality
# Enable ODBC 3.50 specific features
odbc_version_3_50 = []
# Enable ODBC 4.0 specific features
odbc_version_4 = []
[dependencies]
odbc-sys = { git = "https://github.com/lfrancke/odbc-sys.git", branch = "stackable" }
rusqlite = { version = "0.37.0", features = ["bundled"] }
snafu = "0.8.6"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
[dev-dependencies]
odbc-api = "14.3.0"