[package]
edition = "2024"
rust-version = "1.97"
name = "tdsql"
version = "0.6.0"
authors = ["CommonwealthPasta"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ergonomic async Microsoft SQL Server client for Rust, with typed rows and multi-result-set support"
readme = "README.md"
keywords = [
"sqlserver",
"mssql",
"database",
"tds",
"async",
]
categories = [
"database",
"asynchronous",
]
license = "MIT"
repository = "https://github.com/CommonwealthPasta/tdsql"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
blocking = ["tokio/rt-multi-thread"]
default = []
[lib]
name = "tdsql"
path = "src/lib.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "blocking"
path = "examples/blocking.rs"
required-features = ["blocking"]
[[example]]
name = "stored_procedure"
path = "examples/stored_procedure.rs"
[[example]]
name = "transaction"
path = "examples/transaction.rs"
[[test]]
name = "blocking_concurrency_test"
path = "tests/blocking_concurrency_test.rs"
[[test]]
name = "blocking_executor_test"
path = "tests/blocking_executor_test.rs"
[[test]]
name = "blocking_test"
path = "tests/blocking_test.rs"
[[test]]
name = "cancel_test"
path = "tests/cancel_test.rs"
[[test]]
name = "concurrency_test"
path = "tests/concurrency_test.rs"
[[test]]
name = "executor_test"
path = "tests/executor_test.rs"
[[test]]
name = "injection_test"
path = "tests/injection_test.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[test]]
name = "stream_test"
path = "tests/stream_test.rs"
[[test]]
name = "transaction_test"
path = "tests/transaction_test.rs"
[dependencies.chrono]
version = "0.4.45"
features = ["clock"]
[dependencies.futures]
version = "0.3.34"
[dependencies.rust_decimal]
version = "1.43"
[dependencies.thiserror]
version = "2.0.20"
[dependencies.tiberius]
version = "0.13.1"
features = [
"native-tls",
"tds73",
"tds80",
"chrono",
"rust_decimal",
]
default-features = false
package = "tiberius-ng"
[dependencies.tokio]
version = "1.53"
features = [
"net",
"time",
"rt",
"sync",
]
[dependencies.tokio-util]
version = "0.7.19"
features = ["compat"]
[dependencies.uuid]
version = "1.26"
[dev-dependencies.tokio]
version = "1.53"
features = [
"macros",
"rt-multi-thread",
]