tdsql 0.7.0

Ergonomic async Microsoft SQL Server client for Rust, with typed rows and multi-result-set support
Documentation
[package]

name = "tdsql"

version = "0.7.0"

edition = "2024"

# Edition 2024 turns on Cargo's MSRV-aware resolver, so a fresh build picks

# dependency versions that still support `rust-version`. CI depends on that,

# because Cargo.lock is not committed.

rust-version = "1.97"

authors = ["CommonwealthPasta"]

description = "Ergonomic async Microsoft SQL Server client for Rust, with typed rows and multi-result-set support"

license = "MIT"

readme = "README.md"

keywords = ["sqlserver", "mssql", "database", "tds", "async"]

categories = ["database", "asynchronous"]

repository = "https://github.com/CommonwealthPasta/tdsql"



[features]

default = []

# A synchronous client that owns its own runtime; see the `blocking` module.

blocking = ["tokio/rt-multi-thread"]



[package.metadata.docs.rs]

all-features = true

rustdoc-args = ["--cfg", "docsrs"]



[dependencies]

tds-driver = { version = "0.1.0", default-features = false, features = ["native-tls", "tds73", "tds80", "chrono", "rust_decimal", "sql-browser-tokio"] }

thiserror = "2.0.20"

futures = "0.3.34"

chrono = { version = "0.4.45", features = ["clock"] }

tokio-util = { version = "0.7.19", features = ["compat"] }

tokio = { version = "1.53", features = ["net", "time", "rt", "sync"] }

uuid = "1.26"

rust_decimal = "1.43"



[dev-dependencies]

tokio = { version = "1.53", features = ["macros", "rt-multi-thread", "io-util"] }

# Depending on ourselves as a dev-dependency turns on `blocking` for test

# targets only, so `cargo test` covers the feature-gated examples without

# adding it to the default feature set. Path-only dev-dependencies are

# stripped when the crate is published.

tdsql = { path = ".", features = ["blocking"] }



[[example]]

name = "blocking"

required-features = ["blocking"]