NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #4786 most downloaded on crates.io
A TDS (MSSQL) driver
Latest stable
0.13.0
Last release 1 months ago
25 Sep 2026
Ships unpredictably
gaps range from 2 weeks to 2.2 years
Nearly every release is documented
notes for 56 of the last 60 stable releases
2 versions withdrawn
withdrawn after publishing
11 years old
86 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
feat: TLS trust configuration is revamped around two orthogonal axes plus a bypass, unifying community PRs #330 and #290:
Config::trust_cert_ca_bundle(bytes) (and the ConfigBuilder mirror) trusts
additional CA certificates supplied as in-memory bytes, without writing them
to a temporary file. The bytes are auto-detected: a -----BEGIN marker is
parsed as a multi-certificate PEM bundle (e.g. the AWS RDS root bundle),
otherwise they are treated as a single DER certificate.Config::trust_webpki_roots() (and the ConfigBuilder mirror) bases trust
on a compiled-in snapshot of Mozilla's root CA store instead of the OS trust
store. rustls-only, behind the new rustls-webpki-roots feature. Note: the
bundled roots are a pinned snapshot that goes stale (missing newly added or
newly distrusted CAs) unless the dependency is updated and the app rebuilt.Config::trust_cert_ca(path) now accepts multi-certificate files (the
previous "exactly one certificate" restriction is lifted); every certificate
in the file is trusted, on all three TLS backends.trust_cert_ca calls now accumulate rather than
replace-last-wins. trust_cert_ca(a); trust_cert_ca(b) (and any mix with
trust_cert_ca_bundle) trusts every supplied CA, layered on top of the base
trust anchors. Code that relied on a later call overriding an earlier one must
now set the CA only once.native-tls and
vendored-openssl backends also now load all certificates from a
multi-certificate CA file/bundle (previously only the first was used) and
preserve the path plus underlying I/O error in load failures, matching rustls.encrypt default is now Required (was
Off) when a TLS backend is enabled, matching modern ADO.NET; without a TLS
backend it remains NotSupported.sql-browser-async-std feature and the async-std SQL
Browser integration.Command/RPC API for parameterized stored-procedure calls, plus a
#[derive(TableValueRow)] macro (in tiberius-macros) for table-valued
parameters.sspi-rs feature for Windows-style SSPI/NTLM authentication on Unix via
the pure-Rust sspi crate (no Kerberos required).serde feature adding Serialize/Deserialize impls for query result
types (Row, Column, ColumnData, Numeric, and the time/xml types).Config::client_certificate) and PKCS#12 bundles
(Config::client_certificate_pkcs12).secrecy::SecretString instead of
zeroize::Zeroizing<String>. They are still zeroized on drop, and their
Debug now renders as SecretBox<str>([REDACTED]) (was <HIDDEN>). The
AuthMethod::AADToken tuple variant consequently holds a SecretString: code
that pattern-matched it and read the token via Deref/Display must now call
secrecy::ExposeSecret::expose_secret. Constructing auth via
AuthMethod::aad_token/sql_server/windows is unchanged.Config::handshake_timeout bounds the whole post-TCP handshake (prelogin,
TLS negotiation and login), surfacing a TimedOut error instead of hanging
forever when a server accepts the TCP connection and then stalls
mid-handshake — the reported failure against azure-sql-edge on macOS
(#375) and the stalled-peer case in #360. Defaults to 15s (ADO.NET
Connect Timeout parity). The handshake also emits per-stage tracing
DEBUG events so a stall can be pinpointed.Config::command_timeout bounds each server round-trip while reading
command results (query/execute/simple_query, the bulk_insert
acknowledgement and column_metadata). It measures per-round-trip stall,
not total enumeration: the deadline resets on every delivered token, so a
slow consumer never trips it — only a stalled server does. Defaults to 30s
(ADO.NET Command Timeout parity).WAITFOR, a big sort/aggregate or a slow stored procedure) will now fail
with a TimedOut error unless you raise or disable command_timeout. Pass
None to either knob to restore the pre-0.13 wait-indefinitely behaviour.Your coding agent can read these notes before it upgrades. Set up the MCP server →
fix: improve column type info
fix: improve column type info (#347)
Update connection-string crate to 0.2
fix: bigdecimal conversion overflow
BREAKING: Correctly convert DateTimeOffset to/from database (#269) Please read the issue carefully before upgrading.
- feat: improve column type info
chore: Update connection string to 0.2
fix: bigdecimal conversion overflow
- Close connection explicitly
Correctly parse (local) server name
- Cleanup TokenRow public API (#255) - Fix null values in NBC rows
- Fix error ordering
Don't load native roots for trust-all config
BREAKING: bigdecimal crate upgraded to 0.3 major and has to be of the same major in other crates using Tiberius.
BREAKING: uuid crate upgraded to 1.0 major and has to be of the same major in other crates using Tiberius.
Add fractional seconds precision for datetime2
Fix SQL Browser response parsing error
Enable SSL if using vendored-openssl feature
Allow statically linking against OpenSSL
Support AAD token authentication
(BREAKING) support rustls, switch between native-tls and rustls. the feature flag vendored-openssl is gone. instead if needing vendored TLS, use featu
(BREAKING) fix: correctly decode null integers
Fixing an accidentally renamed time module, that would've been a breaking change.
Additional option to add custom-ca to root certificates (#203, thx @lostiniceland)
time 0.3.x (#201)- Support all pre-login tokens
Remove async-std from deps if using tokio
Constrain UUID features and optionalize winauth dependency (smaller binaries)
Use bundled bigint from bigdecimal
Bignum/bigint compilation problems fixed.
Improvement on waker calls. We used to wake the runtime too often, this should improve performance.
SQL Browser for the smol runtime.
Refactor stream handling to something more rusty (#166). This is a breaking change, if relying on the asynchronous stream handling of QueryResult. Ple…
Allow setting application name per connection
Split column decoding into modules (speeding up TEXT/NTEXT/IMAGE decoding a lot)
Handle collations for CHAR and TEXT values
Add Config parsing for "Integrated Security" (two words)
Warnings should not affect metadata fetching
Fixing of all clippy warnings. This might have some performance benefits and might also fix some weird bugs in environments where we can't guarantee t
- Remove a rogue dbg!
dbg!Set the app_name in LOGIN7 to tiberius. This allows connecting to servers that expect the value to not be empty (see issue #127).
app_name in LOGIN7 to tiberius. This allows connecting to servers
that expect the value to not be empty (see issue #127).Try out all resolved IP addresses
Set server name in the login packet
Fix for handling nullable values (#119 #121)
Catastropichal build failures with feature flags fixed.
Catastropichal build failures with feature flags fixed.
Removed the tls feature flag to simplify dependencies. This means you will always get a TLS-enabled build, and can disable it on runtime. This also me
Removed the tls feature flag to simplify dependencies. This means you will always get a TLS-enabled build, and can disable it on runtime. This also means we don't always compile async-std if wanting to use tokio, and so forth.
Fixes certain issues with vendored OpenSSL on macOS platforms too.
Changed futures-codec2 to asynchronous-codec, due to former was yanked.
Changed futures-codec2 to asynchronous-codec, due to former was yanked.
Introducing working TLS support on macOS platforms.
Introducing working TLS support on macOS platforms.
Please read the issue:
https://github.com/prisma/tiberius/issues/65
Internally upgrade bytes to 1.0. Should have no visible change to the apis.
Internally upgrade bytes to 1.0. Should have no visible change to the apis.
If using Tiberius with Tokio and SQL Browser, this PR will upgrade Tokio to 1.0.
If using Tiberius with Tokio and SQL Browser, this PR will upgrade Tokio to 1.0.
0.4 branch will be updated for a short while if needed and until the ecosystem has completely settled on Tokio 1.0.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Allow databaseName in connection string to define the database
databaseName in connection string to define the database (#108)Fixing error swallowing with simple_query and MARS
simple_query and MARS (#105)Handle all MARS results properly
Nothing published for this version
Support alternatively BigNumber when dealing with numeric values.
BigNumber when dealing with numeric values.Realizing UTF-16 works just fine with SQL Server. Reverting the UCS2, but still keeping the faster writes.
*SKIP this, go directly to 0.4.13*
SKIP this, go directly to 0.4.13
Allow disabling TLS in connection string
One column per quarter.