Cargo Features
[dependencies]
tiberius = { version = "0.12.3", default-features = false, features = ["all", "tds73", "sql-browser-async-std", "sql-browser-tokio", "sql-browser-smol", "integrated-auth-gssapi", "bigdecimal", "rustls", "native-tls", "vendored-openssl", "docs", "winauth"] }
- default = native-tls, tds73, winauth
-
These default features are set whenever
tiberius
is added without
somewhere in the dependency tree.default-features = false - all = bigdecimal, chrono, integrated-auth-gssapi, native-tls, rust_decimal, sql-browser-async-std, sql-browser-smol, sql-browser-tokio, tds73, time
- tds73 default all?
-
Affects
time::Date
,time::Time
,time::DateTime2
,time::DateTimeOffset
… - sql-browser-async-std all? = async-std
- sql-browser-tokio all? = tokio, tokio-util
- sql-browser-smol all? = async-io, async-net, futures-lite
- integrated-auth-gssapi all? = libgssapi
- bigdecimal all? = bigdecimal_
- rustls = rustls-native-certs, rustls-pemfile, tokio-rustls, tokio-util
- native-tls default all? = async-native-tls
- vendored-openssl = opentls
- docs
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- chrono all?
-
Affects
time::chrono
… - async-io sql-browser-smol?
-
Enables async-io ^1.8
- async-native-tls native-tls
-
Enables async-native-tls ^0.4
- async-net sql-browser-smol?
-
Enables async-net ^1.7
- async-std sql-browser-async-std?
- futures-lite sql-browser-smol?
-
Enables futures-lite ^1.12.0
- libgssapi unix integrated-auth-gssapi?
-
Enables libgssapi ^0.4.5
- opentls vendored-openssl?
- rust_decimal all?
- rustls-native-certs rustls?
-
Enables rustls-native-certs ^0.6
- rustls-pemfile rustls?
-
Enables rustls-pemfile ^1
- time all?
-
Affects
time::time
… - tokio sql-browser-tokio?
- tokio-rustls rustls?
-
Enables tokio-rustls ^0.24.0
- winauth win default
-
Enables winauth ^0.0.4
Affects
auth::WindowsAuth
… - tokio-util rustls? sql-browser-tokio?
- bigdecimal_ bigdecimal?
-
Enables bigdecimal ^0.3