# 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 = "2021" name = "odbc-api" version = "10.0.0" authors = ["Markus Klein"] build = 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" [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.22" [dependencies.odbc-api-derive] version = "9.0.1" optional = true [dependencies.odbc-sys] version = ">= 0.22, < 0.25" default-features = false [dependencies.thiserror] version = "2.0.3" [dependencies.widestring] version = "1.1.0" [dev-dependencies.anyhow] version = "1.0.93" [dev-dependencies.criterion] version = "0.5.1" features = ["html_reports"] [dev-dependencies.csv] version = "1.3.1" [dev-dependencies.env_logger] version = "0.11.5" [dev-dependencies.stdext] version = "0.3.3" [dev-dependencies.tempfile] version = "3.14.0" [dev-dependencies.test-case] version = "3.3.1" [dev-dependencies.tokio] version = "1.41.1" features = [ "rt", "macros", "time", ] [features] default = ["odbc_version_3_80"] 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"] wide = [] [target."cfg(windows)".dependencies.winit] version = "0.30.5" features = ["rwh_06"] default-features = false