[package]
edition = "2021"
rust-version = "1.88"
name = "tds-driver"
version = "0.2.0"
authors = [
"Matthew Jackson <matthew@pq.io>",
"Steffen Butzer <steffen.butzer@outlook.com>",
"Julius de Bruijn <bruijn@prisma.io>",
"Eric Sheppard <eric@eigenmo.de>",
"Yoshua Wuyts <yoshuawuyts@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A TDS (Microsoft SQL Server) driver for Rust"
homepage = "https://github.com/CommonwealthPasta/tds-driver"
documentation = "https://docs.rs/tds-driver/"
readme = "README.md"
keywords = [
"tds",
"mssql",
"sql",
"sqlserver",
"database",
]
categories = ["database"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/CommonwealthPasta/tds-driver"
[package.metadata.docs.rs]
features = ["all"]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
all = [
"chrono",
"time",
"tds73",
"tds80",
"sql-browser-tokio",
"sql-browser-smol",
"integrated-auth-gssapi",
"rust_decimal",
"bigdecimal",
"native-tls",
"serde",
"sspi-rs",
]
bigdecimal = ["bigdecimal_"]
default = [
"tds80",
"winauth",
"native-tls",
]
integrated-auth-gssapi = ["libgssapi"]
native-tls = ["async-native-tls"]
rustls = [
"tokio-rustls",
"tokio-util",
"rustls-native-certs",
]
serde = [
"dep:serde",
"uuid/serde",
]
sql-browser-smol = [
"async-io",
"async-net",
"futures-lite",
]
sql-browser-tokio = [
"tokio",
"tokio-util",
]
sspi-rs = ["sspi"]
tds73 = []
tds80 = ["tds73"]
vendored-openssl = ["opentls"]
[lib]
name = "tds_driver"
path = "src/lib.rs"
[[example]]
name = "aad-auth"
path = "examples/aad-auth.rs"
[[example]]
name = "bulk"
path = "examples/bulk.rs"
[[example]]
name = "named-pipes"
path = "examples/named-pipes.rs"
[[example]]
name = "tokio"
path = "examples/tokio.rs"
[[test]]
name = "bulk"
path = "tests/bulk.rs"
[[test]]
name = "cancel"
path = "tests/cancel.rs"
[[test]]
name = "command"
path = "tests/command.rs"
[[test]]
name = "connect"
path = "tests/connect.rs"
[[test]]
name = "custom-cert"
path = "tests/custom-cert.rs"
[[test]]
name = "dead_connection"
path = "tests/dead_connection.rs"
[[test]]
name = "deadlocks"
path = "tests/deadlocks.rs"
[[test]]
name = "decode"
path = "tests/decode.rs"
[[test]]
name = "fake_server"
path = "tests/fake_server.rs"
[[test]]
name = "login_errors"
path = "tests/login_errors.rs"
[[test]]
name = "named-instance-smol"
path = "tests/named-instance-smol.rs"
required-features = ["sql-browser-smol"]
[[test]]
name = "named-instance-tokio"
path = "tests/named-instance-tokio.rs"
required-features = ["sql-browser-tokio"]
[[test]]
name = "prelogin"
path = "tests/prelogin.rs"
[[test]]
name = "query"
path = "tests/query.rs"
[[test]]
name = "serde"
path = "tests/serde.rs"
required-features = ["serde"]
[[test]]
name = "tls"
path = "tests/tls.rs"
[[test]]
name = "tls_rustls"
path = "tests/tls_rustls.rs"
[[test]]
name = "transactions"
path = "tests/transactions.rs"
[[test]]
name = "unread"
path = "tests/unread.rs"
[[test]]
name = "zeroize"
path = "tests/zeroize.rs"
[dependencies.async-io]
version = "2"
optional = true
[dependencies.async-native-tls]
version = "0.6"
optional = true
[dependencies.async-net]
version = "2"
optional = true
[dependencies.async-trait]
version = "0.1"
[dependencies.asynchronous-codec]
version = "0.7"
[dependencies.bigdecimal_]
version = "0.4"
optional = true
package = "bigdecimal"
[dependencies.byteorder]
version = "1.0"
[dependencies.bytes]
version = "1.0"
[dependencies.chrono]
version = "0.4"
optional = true
default-features = false
[dependencies.connection-string]
version = "0.2"
[dependencies.encoding_rs]
version = "0.8"
[dependencies.enumflags2]
version = "0.7"
[dependencies.futures-lite]
version = "2"
optional = true
[dependencies.futures-util]
version = "0.3"
features = [
"io",
"sink",
]
default-features = false
[dependencies.num-traits]
version = "0.2"
[dependencies.once_cell]
version = "1.3"
[dependencies.opentls]
version = "0.2.1"
features = [
"io-async-std",
"vendored",
]
optional = true
[dependencies.pin-project-lite]
version = "0.2"
[dependencies.pretty-hex]
version = "0.4"
[dependencies.rust_decimal]
version = "1.6"
optional = true
[dependencies.rustls-native-certs]
version = "0.8"
optional = true
[dependencies.serde]
version = "1.0"
features = [
"derive",
"rc",
]
optional = true
[dependencies.tds-driver-macros]
version = "0.1.0"
[dependencies.thiserror]
version = "2"
[dependencies.time]
version = "0.3"
optional = true
[dependencies.tokio]
version = "1.0"
features = [
"net",
"time",
]
optional = true
[dependencies.tokio-rustls]
version = "0.26"
optional = true
[dependencies.tokio-util]
version = "0.7"
features = ["compat"]
optional = true
[dependencies.tracing]
version = "0.1"
features = ["log"]
[dependencies.uuid]
version = "1.0"
[dependencies.zeroize]
version = "1.8.2"
[dev-dependencies.anyhow]
version = "1"
[dev-dependencies.azure_core]
version = "1"
[dev-dependencies.azure_identity]
version = "1.0"
[dev-dependencies.chrono]
version = "0.4.38"
[dev-dependencies.env_logger]
version = "0.11"
[dev-dependencies.indicatif]
version = "0.18"
[dev-dependencies.indoc]
version = "2"
[dev-dependencies.names]
version = "0.14"
[dev-dependencies.oauth2]
version = "5.0"
[dev-dependencies.paste]
version = "1.0"
[dev-dependencies.reqwest]
version = "0.13"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.smol]
version = "2"
[dev-dependencies.tokio]
version = "1.0"
features = [
"macros",
"sync",
"io-std",
"time",
"io-util",
"net",
"rt-multi-thread",
]
[dev-dependencies.tokio-util]
version = "0.7"
features = ["compat"]
[dev-dependencies.url]
version = "2.5"
[dev-dependencies.uuid]
version = "1.0"
features = ["v4"]
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[target."cfg(unix)".dependencies.libgssapi]
version = "0.11"
optional = true
default-features = false
[target."cfg(unix)".dependencies.sspi]
version = "0.18"
optional = true
[target."cfg(windows)".dependencies.winauth]
version = "0.0.5"
optional = true
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(docsrs)"]