Cargo Features

[dependencies]
cdbc-mysql = { version = "0.1.22", default-features = false, features = ["offline", "all-types", "bigdecimal", "decimal", "json", "native-tls"] }
default = cdbc, offline, time

These default features are set whenever cdbc-mysql is added without default-features = false somewhere in the dependency tree.

offline default = serde

Enables serde of either

all-types = bigdecimal, chrono, decimal, json, time, uuid

types

bigdecimal all-types? = bigdecimal_, num-bigint
decimal all-types? = num-bigint, rust_decimal
json all-types? = serde, serde_json
native-tls

Enables native-tls of cdbc

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.

cdbc default native-tls?
serde json? offline
serde_json json?
chrono all-types?
time default all-types?
uuid all-types?

Enables uuid ^0.8.1

num-bigint bigdecimal? decimal?

Enables num-bigint ^0.3.1

rust_decimal decimal?
bigdecimal_ bigdecimal?

Enables bigdecimal ^0.2.0