Cargo Features

[dependencies]
cdbc-pg = { version = "0.1.22", default-features = false, features = ["postgres", "all-types", "ipnetwork", "bigdecimal", "decimal", "json", "offline"] }
default = postgres, time

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

postgres default = base64, dirs, hmac, json, md-5, offline, rand, sha-1, sha2, whoami
all-types = bigdecimal, bit-vec, chrono, decimal, ipnetwork, json, mac_address, time, uuid

types

ipnetwork all-types? = ipnetwork_, libc
bigdecimal all-types? = bigdecimal_, num-bigint
decimal all-types? = num-bigint, rust_decimal
json all-types? offline? postgres = serde, serde_json
offline postgres = json

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.

serde json?
serde_json json?
md-5 postgres

Enables md-5 ^0.9.0

sha2 postgres

Enables sha2 ^0.9.0

base64 postgres

Enables base64 ^0.13.0

sha-1 postgres

Enables sha-1 ^0.9.0

rand postgres
hmac postgres

Enables hmac ^0.11.0

dirs postgres

Enables dirs ^4

whoami postgres
chrono all-types?
time default all-types?
mac_address all-types?
uuid all-types?

Enables uuid ^0.8.1

bit-vec all-types?

Enables bit-vec ^0.6.2

num-bigint bigdecimal? decimal?

Enables num-bigint ^0.3.1

rust_decimal decimal?
libc ipnetwork?
bigdecimal_ bigdecimal?

Enables bigdecimal ^0.2.0

ipnetwork_ ipnetwork?

Enables ipnetwork ^0.17.0