odbc-api 20.1.2

Write ODBC Applications in (mostly) safe Rust.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "odbc-api"
version = "20.1.2"
authors = ["Markus Klein"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Write ODBC Applications in (mostly) safe Rust."
documentation = "https://docs.rs/odbc-api/"
readme = "Readme.md"
keywords = [
    "odbc",
    "database",
    "sql",
]
categories = [
    "api-bindings",
    "database",
]
license = "MIT"
repository = "https://github.com/pacman82/odbc-api"
resolver = "2"

[package.metadata.docs.rs]
features = [
    "derive",
    "odbc_version_3_80",
]

[features]
default = [
    "odbc_version_3_80",
    "prompt",
]
derive = ["dep:odbc-api-derive"]
iodbc = [
    "odbc_version_3_5",
    "narrow",
    "odbc-sys/iodbc",
]
narrow = []
odbc_version_3_5 = ["odbc-sys/odbc_version_3_50"]
odbc_version_3_80 = ["odbc-sys/odbc_version_3_80"]
prompt = ["dep:winit"]
vendored-unix-odbc = ["odbc-sys/vendored-unix-odbc"]
wide = []

[lib]
name = "odbc_api"
path = "src/lib.rs"

[[test]]
name = "common"
path = "tests/common.rs"

[[test]]
name = "connection_pooling"
path = "tests/connection_pooling.rs"

[[test]]
name = "connection_strings"
path = "tests/connection_strings.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[[bench]]
name = "benches"
path = "benches/benches.rs"
harness = false

[dependencies.atoi]
version = "2.0.0"

[dependencies.log]
version = "0.4.29"

[dependencies.odbc-api-derive]
version = "12.0.9"
optional = true

[dependencies.odbc-sys]
version = "0.28.0"
features = ["odbc_version_3_50"]
default-features = false

[dependencies.thiserror]
version = "2.0.18"

[dependencies.widestring]
version = "1.2.1"

[dev-dependencies.anyhow]
version = "1.0.101"

[dev-dependencies.async-stream]
version = "0.3.6"

[dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]

[dev-dependencies.csv]
version = "1.4.0"

[dev-dependencies.env_logger]
version = "0.11.9"

[dev-dependencies.stdext]
version = "0.3.3"

[dev-dependencies.tempfile]
version = "3.25.0"

[dev-dependencies.test-case]
version = "3.3.1"

[dev-dependencies.tokio]
version = "1.49.0"
features = [
    "rt",
    "macros",
    "time",
]

[dev-dependencies.tokio-stream]
version = "0.1.18"

[target."cfg(windows)".dependencies.winit]
version = "0.30.12"
features = ["rwh_06"]
optional = true
default-features = false